test(nightly): the report shows each target's CVE matches (#377) #396

Merged
sharang merged 1 commits from feat/nightly-cves into main 2026-09-25 11:31:55 +00:00
Owner

Closes #377.

The nightly report showed findings and SBOM components per target, but not how many CVEs a run matched. The CVE baselines already gate as a lower bound: that is how the missing NVD CVEs were caught on 2026-09-25. But a run's own count was only visible in the snapshot JSON.

Change

  • Each target's summary line now reads N findings, M SBOM components, K CVEs, scan …. The line is built by a small summary() function, which has a unit test.
  • The gating stays as it is:
    • CVEs are an at least set, since NVD adds CVEs daily;
    • skipped stages are exact, so an NVD outage shows as the cve_lookup stage from #390 rather than as a list of missing CVEs.

Checked

  • cargo fmt --all --check.
  • The nightly harness unit tests: 3, including the new summary test.
  • clippy on the nightly test file.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p

Closes #377. The nightly report showed findings and SBOM components per target, but not how many CVEs a run matched. The CVE baselines already gate as a lower bound: that is how the missing NVD CVEs were caught on 2026-09-25. But a run's own count was only visible in the snapshot JSON. ## Change - Each target's summary line now reads `N findings, M SBOM components, K CVEs, scan …`. The line is built by a small `summary()` function, which has a unit test. - The gating stays as it is: - CVEs are an *at least* set, since NVD adds CVEs daily; - skipped stages are exact, so an NVD outage shows as the `cve_lookup` stage from #390 rather than as a list of missing CVEs. ## Checked - `cargo fmt --all --check`. - The nightly harness unit tests: 3, including the new summary test. - clippy on the nightly test file. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-09-25 11:03:16 +00:00
test(nightly): the report shows each target's CVE matches (#377)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 8m44s
6bca8598c9
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang merged commit ce93cc08d5 into main 2026-09-25 11:31:55 +00:00
Sign in to join this conversation.