Commit Graph
5 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 3e17163a6e feat(cve): the daily monitor re-checks NVD/CPE-only components incrementally
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 10m4s
The CVE monitor asked only OSV, so Yocto recipes, header-detected embedded
libraries and the CODESYS runtime were re-matched in NVD only by a scan.
A new NVD pass (pipeline/nvd_monitor.rs) reads NVD's lastMod listing
(lastModStartDate/lastModEndDate, windows of at most 120 days, 500 CVEs per
page, one listing for all tenants) and matches the changed CVEs locally with
the scan's rules (virtualMatchString semantics, marker, version range).

- Cursor in the admin DB (done_until + open window/startIndex/total): a run
  stopped by its 10-minute budget, an NVD or a database error continues
  there; a listing that shrinks while paged is re-read from earlier.
- Paced with nvd_cpe::request_interval (0.6 s with NVD_API_KEY, 6 s
  without), reusing the nvd_cpe client (fetch with retries, factored out).
- Matches become the scan's CveAlert (purl, cvss, repo_id), stored with
  $setOnInsert on (cve_id, repo_id) (vex_lifecycle::store_monitored, now
  shared with the OSV pass), VEX attached, notify_new_cves, and CVE issues
  for new alerts via the shared CveIssueSync (incomplete: closes nothing).
- One INFO line per tenant with counts; NVD_MONITOR=off turns it off
  (default on).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-09 19:44:30 +02:00
sharang 8d6be32c83 fix(yocto): recipe lint binds attack-surface findings to cra-ai-2 and counts suppressed findings (#554)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Successful in 8m39s
CI / Deploy Docs (push) Successful in 1m13s
CI / Deploy Dashboard (push) Successful in 6m15s
CI / Deploy MCP (push) Successful in 3m26s
2026-10-09 16:49:27 +00:00
sharang ac50880b25 feat(yocto): the recipe inventory becomes SBOM components, CVE_STATUS and CVE patches become VEX (#551)
CI / Check (push) Skipped
CI / Deploy Dashboard (push) Successful in 7m53s
CI / Deploy MCP (push) Successful in 3m26s
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Successful in 1m13s
CI / Deploy Agent (push) Successful in 12m32s
2026-10-09 16:17:47 +00:00
sharang 7e3856db31 feat(yocto): recipes are checked with oelint-adv and our own secure-by-default rules (#552)
CI / Deploy MCP (push) Successful in 5m11s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Successful in 1m32s
CI / Deploy Agent (push) Successful in 13m11s
CI / Deploy Dashboard (push) Successful in 16m16s
2026-10-09 15:48:31 +00:00
sharang 750f1d7308 feat(yocto): layer trees are detected as Embedded Linux / Yocto, and the scan matrix says what runs (#550)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m15s
CI / Deploy MCP (push) Successful in 4m46s
CI / Deploy Dashboard (push) Successful in 6m40s
CI / Deploy Agent (push) Successful in 8m49s
2026-10-09 14:58:09 +00:00