feat(sbom): sbomqs quality score as CRA evidence for the SBOM (#496)
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 / Check (pull_request) Successful in 9m45s
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 / Check (pull_request) Successful in 9m45s
At the end of every completed scan the target's CycloneDX SBOM (the same document as the evidence pack's sbom.cdx.json) is scored by sbomqs against BSI TR-03183-2 v2.1 and the NTIA minimum elements (2021). - Dockerfile.agent pins sbomqs 2.1.2 (Apache-2.0) with the sha256 from the release's checksums.txt and lists it in tool-versions.json. - Profiles by explicit name (bsi-v2.1, ntia-2021): in 2.1.2 `bsi` and `ntia` float to the newest BSI and CISA 2026 profiles. - pipeline/sbom_quality.rs runs it offline through tool_cmd (empty environment, 120 s), keeps per profile the score, grade and the checks not fully met; stored on the scan run as sbom_quality. Without sbomqs the run records the skipped stage sbom_quality. - Supporting evidence, not findings: attached to cra-ai-23 in the CRA status without changing its state, sbom-quality.json in the evidence pack, GET /api/v1/sbom/quality for the SBOM page. - Dashboard: SBOM-Qualität card on the SBOM page, a supporting-evidence line on cra-ai-23 on the CRA page. - Docs: tools.md, SBOM and target guides, staging check 20. Our export (CycloneDX 1.5, no creator, timestamp, supplier or hashes) grades F against BSI; the failed checks list what it needs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit is contained in:
1 parent
d406741907
commit
0c1024dd60
21 files changed
+984
-12
No files matched your search
@@ -179,7 +179,8 @@ its name, type and artifacts, and the buttons:
|
||||
- **Prüfung starten** (Run scan) -- starts a scan now.
|
||||
- **Nachweispaket herunterladen** (Download evidence pack) -- a ZIP with the
|
||||
OSCAL assessment (CRA Annex I), the SBOM (CycloneDX, SPDX), the findings
|
||||
(JSON, CSV), the CVE alerts and a manifest with SHA-256 checksums.
|
||||
(JSON, CSV), the CVE alerts, the SBOM's quality score (`sbom-quality.json`,
|
||||
once a scan has scored it) and a manifest with SHA-256 checksums.
|
||||
- **Bearbeiten** (Edit) -- see below.
|
||||
- **Löschen** (Delete) -- see below.
|
||||
|
||||
|
||||
@@ -249,6 +249,29 @@ API: `GET /api/v1/targets/{id}/cves` lists the alerts with their statements,
|
||||
(`{"status": "not_affected", "justification": "…", "impact_statement": "…"}`),
|
||||
`GET /api/v1/targets/{id}/vex?format=openvex|cyclonedx` downloads the document.
|
||||
|
||||
## SBOM quality
|
||||
|
||||
When a target is selected on the **Pakete** tab, **SBOM-Qualität** (SBOM
|
||||
quality) shows how the exported CycloneDX document meets two standards, as
|
||||
[sbomqs](https://github.com/interlynk-io/sbomqs) scores it at the end of each
|
||||
scan:
|
||||
|
||||
- **BSI TR-03183-2 v2.1** -- the German technical guideline for SBOMs under
|
||||
the CRA
|
||||
- **NTIA Minimum Elements (2021)**
|
||||
|
||||
Each line has sbomqs's grade (A to F) and score out of 10. Open it for the
|
||||
checks the SBOM does not fully meet, marked **Pflicht** (required) or
|
||||
**zusätzlich** (additional), with what sbomqs found. The score is supporting
|
||||
evidence for the CRA requirement **cra-ai-23** (SBOM): it is shown there on
|
||||
the target's CRA page and is in the evidence pack as `sbom-quality.json`, but
|
||||
it raises no findings and does not change the requirement's state.
|
||||
|
||||
The score rates the document, not the software. Today's export is CycloneDX
|
||||
1.5 without suppliers, hashes or the TR's component properties, so BSI
|
||||
TR-03183-2, which asks for CycloneDX 1.6 and those fields, grades it low; the
|
||||
failed checks list what the export would need.
|
||||
|
||||
## Compare Tab
|
||||
|
||||
**Vergleich** compares the SBOMs of two targets, for example two firmware
|
||||
|
||||
Reference in new issue
Block a user