feat(sbom): check a supplier SBOM before a target holds it (#1025) (#1033)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 6m46s

This commit was merged in pull request #1033.
This commit is contained in:
sharang committed 2026-11-17 09:29:56 +00:00
1 parent af76e516a1
commit 0790810afb
6 files changed
+316 -90

No files matched your search

+7
View File
@@ -111,6 +111,13 @@ go through the same CVE groups, VEX statements and ENISA drafts.
An SBOM that lists nothing is refused rather than read as empty: read as
empty, it would make every known CVE of the component look fixed.
The same check runs when the wizard adds the file, before the target
exists (`POST /api/v1/supplier-sboms/check`). It stores nothing and returns
the format, the number of components and the number of supplier
statements, or the refusal with a `code` (`unknown_format`, `malformed`,
`empty`, `too_many_components`, `too_large`). An upload keeps the same
three numbers with the artifact, for the target editor to show.
- **A new version from the supplier:** upload it to the same target. It
replaces the previous one.
- **The supplier and its advisories:** a target can name its supplier: the