fix(vex): keep the alert's purl for components that left the SBOM (#532)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Dashboard (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 1m17s
CI / Deploy MCP (push) Successful in 2m38s

This commit was merged in pull request #532.
This commit is contained in:
sharang committed 2026-10-08 21:45:37 +00:00
1 parent a22b4497a5
commit 1f02a89226
11 files changed
+148 -19

No files matched your search

+5 -1
View File
@@ -262,7 +262,11 @@ vulnerability comes back, the scan's `fixed` is withdrawn.
The statements are exported per target as **OpenVEX 0.2.0** and as
**CycloneDX 1.6 VEX** (the SBOM with each vulnerability's analysis), both
checked against their official schemas, and are part of the evidence pack
(`vex.openvex.json`, `vex.cdx.json`). CycloneDX names the statuses
(`vex.openvex.json`, `vex.cdx.json`). Each statement names the component by
the purl it had when the alert was found, so a `fixed` statement still
matches the SBOM version that contained the component after it was updated
or removed. Alerts resolved before Prüfwerk recorded that purl name it
`pkg:generic/<name>@<version>`. CycloneDX names the statuses
differently:
| OpenVEX | CycloneDX `analysis.state` / `justification` |
+2 -1
View File
@@ -62,7 +62,8 @@ and the API: see [SBOM](./sbom.md#vex-the-status-of-each-vulnerability).
The draft
- names the target as the product and each affected component as part of it
(with its purl);
(with its purl; a fixed component no longer in the SBOM with the purl it
had when the alert was found);
- carries every statement: "Affected" with your action statement as the
remediation, "Not affected" with its justification and statement, "Under
investigation" and "Fixed";
+2 -1
View File
@@ -65,7 +65,8 @@ VEX-Advisory (`csaf_vex`), dem Format, in dem Hersteller und CERTs
Schwachstellen veröffentlichen. Der Entwurf
- nennt das Prüfobjekt als Produkt und jede betroffene Komponente als Teil
davon (mit purl);
davon (mit purl; eine behobene Komponente, die nicht mehr in der SBOM
steht, mit der purl, die sie beim Fund hatte);
- übernimmt jede Aussage: „Betroffen“ mit Ihrer Handlungsanweisung als
Abhilfe, „Nicht betroffen“ mit Begründung und Freitext, „In Prüfung“ und
„Behoben“;