You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(scan): persist raw per-scanner output for source scans
Extend the raw-output preservation already in place for container
scans to cover source scans. ArgusEngine.run() now accepts
raw_output_dir and copies each scanner's results.json / *.sarif /
stdout.txt under <output_dir>/raw/<scanner>/ alongside the
canonical argus-results.json — the same posture as the container
flow, so forensics and manual triage have the same surface area
regardless of which scan path produced the findings.
The CLI gains a unified --no-keep-raw flag (moved out of the
container-only group) and reporting.keep_raw replaces the
container-scoped containers.keep_raw key. CLI flag wins on
conflict; default remains keep-raw=true.
|`--no-parallel`| Run scanners sequentially instead of concurrently. |`false`|
101
101
|`--allow-local-versions`| Allow local tool versions that differ from argus-pinned versions. Use in airgapped environments where tool updates are constrained. |`false`|
102
102
|`--no-cache`| Disable DB cache volume mounts. Forces scanners to re-download vulnerability databases on every container run. |`false`|
103
+
|`--no-keep-raw`| Do not persist raw per-scanner output files alongside the canonical argus-results.json. Source scans normally drop each scanner's results.json / *.sarif / stdout.txt under <output_dir>/raw/<scanner>/; container scans drop trivy-results.json / grype-results.json / syft-sbom.json under <output_dir>/raw/<image>/. Pass --no-keep-raw to skip that step in tight CI environments. The same effect is available via 'reporting.keep_raw: false' in argus.yml. |`false`|
|`--discover`| Discover Dockerfiles in PATH (default: current directory) ||
109
110
|`--image`| Container image to scan (can be repeated) ||
110
111
|`--scanners`| Sub-scanners for container scanning: trivy,grype,syft (default: trivy,grype) ||
111
-
|`--no-keep-raw`| Do not persist raw per-scanner output (trivy-results.json, grype-results.json, syft-sbom.json) under <output_dir>/raw/<image>/. By default raw artifacts are kept alongside the canonical argus-results.json so users can drill into individual scanner output for forensics or manual triage. Set ``containers.keep_raw: false`` in argus.yml for the same effect via config. |`false`|
0 commit comments