feat(csaf): index vendor CSAF advisories daily (#515, part B) (#520)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 5m38s

This commit was merged in pull request #520.
This commit is contained in:
sharang committed 2026-10-06 16:33:00 +00:00
1 parent dc9ca8dcd8
commit ff570bac66
5 files changed
+888

No files matched your search

@@ -34,6 +34,7 @@ together on stage in one pass before the next prod promotion.
| #498 (follow-up) | ENISA deadlines evaluated by the agent; one notification per CVE |
| #516 | Secret scanning with Betterleaks instead of gitleaks |
| PLC CVE fix | CVE alerts of PLC targets resolve; their issues sync |
| #515 (A, B) | Vendor CSAF advisories read and indexed |
**Customer-visible on the next prod rescan** is marked **[visible]**: these
change what a customer sees on their existing targets, without them doing
@@ -746,6 +747,25 @@ created or closed issues in a managed repository.
- **[visible]** PLC targets' fixed CVEs leave the open list after the next
rescan; managed PLC repositories get CVE issues.
### 35. #515 parts A and B: vendor CSAF advisory index
Internal so far (matching follows in part C).
- **Do:** deploy; wait 2 minutes after the agent starts. **Log:** `CSAF
advisories refreshed` with counts per provider: the 13 CERT@VDE vendors
and `siemens`, each with `listed`, `stored`, `hash_mismatch: 0`,
`deferred` (Siemens defers most on the first run: 400 per run); no
`cisa`.
- **Mongo:** `<prefix>__admin.csaf_advisories` has rows `codesys:…`,
`siemens:SSA-…`, each with `advisory.products` and
`advisory.vulnerabilities`; the next run (or the next day) adds the
deferred ones and fetches nothing already stored.
- **Do:** set `PW_CSAF_PROVIDERS=off`, restart. **Expect:** no CSAF log
line, no requests to the providers. With `default,cisa`: a `cisa` entry,
only advisories of the last two years, only the OT feed.
- **Egress:** only `*.csaf-tp.certvde.com` and `cert-portal.siemens.com`
(with CISA: `www.cisa.gov`, `raw.githubusercontent.com`).
## After the pass
- The nightly job on `main` is green with the new mobile targets.