Repository navigation
v0.160.0
Changed
-
draugr.config.yamltakescontrols:, the name a descriptor uses.draugr config set controls.sast…works,config initwritescontrols:, andshowand every error name the sectioncontrols.controllers:still loads and is folded intocontrols, merged key by key where a file has both. -
A run logs one
publishers skippedrecord per reason. It lists each kind it skipped with a count, such askinds.github=1 kinds.github-issue=3, and--log-format jsoncarrieskindsas an object of kind to count.
Fixed
-
draugr config setwrites lists and mappings. A value starting with[or{is written as YAML, so'[library]'sets a list option instead of being refused as a string. The first key set into an empty{}, as in the fileconfig initwrites, is written as a block mapping. -
draugr config showlists the discovered files that--configorDRAUGR_CONFIGleaves unread. It names each file relative to the working directory or under~, and prints a duration as written in the file, such as12h. -
draugr config unsetrefuses a key the file does not set. It names the file and writes nothing, so no emptydraugr.config.yamlis left behind forconfig initto refuse. A misspelled key is reported as a setting Draugr does not have. -
draugr feeds status --sagaandfeeds update --sagaapply the descriptor'sconfig.exploitability.maxAge, so a copy is stale and refetched at the age a scan of that descriptor uses withauto. Both commands end with the limit they applied and where it came from. -
Grype scans of several repositories or images no longer fail with
bad db checksum, or report too few vulnerabilities, over a database an older Grype downloaded. Draugr now reads the database once before the first scan, offline included, so Grype migrates it before concurrent scans open it. -
draugr explain --helplists every report-rfalls back to,.draugr-out/results.sarifincluded. -
draugr validate --helpdescribes how a descriptor's fragments are merged before it is checked, and how a fragment file is checked on its own. -
The HTML report reads on a phone. At phone widths, the labels under each finding and action, the priority and severity chips, the column headings and the page-size buttons are at least 12px. Rule links, row disclosures and finding counts are at least 24px tall to tap. The desktop layout is unchanged.
-
draugr diff --min-priorityrefuses a band outside P1 to P4, as--fail-onrefuses one, and accepts a lowercase band.draugr scan --artifact-min-priorityrefuses one too. -
The
POLICYblock says what a refusing setting did to your run. For a run that breaks the setting only in its findings, which are read after publishing, the block saysfails the gate, where it saidrefuses. -
A scan on a terminal keeps the command you typed on screen. When the scan finishes, the progress display clears only the lines it drew, so the report starts below your command.
-
The run row shows the age of a cache entry under 30 seconds old, such as
oldest 12soroldest 412ms.