fix(vex): keep the alert's purl for components that left the SBOM (#532)
This commit was merged in pull request #532.
This commit is contained in:
1 parent
a22b4497a5
commit
1f02a89226
11 files changed
+148
-19
No files matched your search
+5
-1
@@ -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` |
|
||||
|
||||
@@ -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
@@ -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“;
|
||||
|
||||
Reference in new issue
Block a user