feat(csaf): a bought-in component's supplier CSAF advisories, kept per tenant (#1025)
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 / Agent integration (pull_request) Successful in 4m20s
CI / Check (pull_request) Successful in 20m20s

A target can now name who supplies it: the supplier, its name for the
product, the version in use and its CSAF provider (`supplier` on create
and update; `provider-metadata.json` must be an https URL, else 422; an
empty name removes it).

The provider's TLP:WHITE advisories are fetched through the guarded
client with the shared feed's code, but stored in the tenant's own
database (`supplier_csaf_advisories`), never in the shared index: a
provider one tenant names is never matched against another tenant's
components. They are refreshed daily after the shared index, once after
start, and right away when a target's provider is set.

A scan matches them against the product itself (an SBOM entry of
manager `supplier-product`, by the supplier's name and version for it,
only in that supplier's advisories) and against its components by purl,
raising CSAF alerts with the supplier's remediation and fixed versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-11-16 23:23:30 +01:00
1 parent 55091fe02e
commit e7eae3bafc
11 files changed
+505 -5

No files matched your search

+12 -2
View File
@@ -111,8 +111,18 @@ 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.
- **A new version from the supplier:** upload it to the same target. Each scan
reads the target's supplier SBOMs.
- **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
supplier's name, its name for the product, the version in use, and its CSAF
provider (`supplier` in the target API, with `provider-metadata.json` as an
https URL). Prüfwerk then fetches the supplier's public (TLP:WHITE) CSAF
advisories. It fetches them daily, and right away when the provider is set.
They are kept for your workspace only and never matched against another
workspace's components. A scan matches them against the product itself by
the supplier's name and version for it, and against its components by purl.
A matching advisory raises a CVE alert with the supplier's remediation and
fixed versions.
### When the SBOM is empty or incomplete