SBOM quality
These findings are about the software bill of materials (SBOM) itself, not about a component. A gap is not a vulnerability, but it can hide one from this check and from the people who rely on the SBOM.
What Witnyx found
Section titled “What Witnyx found”Every text report has an “SBOM quality” section:
$ witnyx check bom.jsonSBOM quality EU legal minimum: pass Completeness: 26% against [email protected] (12 of 45 required values filled) SBOM creator: present · Timestamp: present Biggest gaps: Component creator (1 of 5) · Filename (0 of 4) · Dependencies (0 of 4) [INFO] Format version is below the BSI TR-03183-2 baseline (CycloneDX 1.6 or SPDX 3.0.1); SBOMs delivered before 2026-02-20 may still meet TR 2.0.0 [WARN] The SBOM contains vulnerability data; BSI TR-03183-2 says an SBOM must not Note: The SBOM creator was found only in metadata.authors; BSI TR-03183-2 maps it to metadata.manufacturer. Our reading of the EU Cyber Resilience Act; not legal advice.Line by line:
- EU legal minimum:
pass, orfailwith the reason (see below). - Completeness: the score against the BSI TR-03183-2 profile, with the values filled and expected (see below).
- SBOM creator and Timestamp: whether the SBOM records who made it and when.
- Biggest gaps: up to three component fields with the most missing values, each as filled of expected.
[INFO]when the format is older than the profile’s baseline, and[WARN]when the SBOM carries vulnerability data.- Note: a place where the SBOM keeps a value that the profile expects elsewhere, so it does not count.
- The last line is printed with every result: it is Witnyx’s reading of the EU Cyber Resilience Act, not legal advice.
The JSON report holds the same results in quality, every field’s counts included, and lists these findings in findings, each with a hint in its details:
| Finding ID | Severity | When |
|---|---|---|
quality:eu-minimum |
medium |
The EU legal minimum fails. |
quality:sbom-creator, quality:timestamp |
low |
The SBOM records no creator, or no time. |
quality: and a field ID, such as quality:filename |
low |
The field is one of the biggest gaps. |
quality:format-version |
info |
The format is older than the baseline. |
quality:vulnerability-data |
low |
The SBOM carries vulnerability data. |
They have no component, and their fix is improve-sbom.
In SARIF they use the rule quality.
EU legal minimum
Section titled “EU legal minimum”Annex I, Part II, point 1 of the Act asks manufacturers to draw up an SBOM in a commonly used, machine-readable format, covering at least the product’s top-level dependencies (Regulation (EU) 2024/2847 on EUR-Lex). Witnyx’s reading of that is a check of three things:
- The SBOM names the product: CycloneDX
metadata.component, or the package an SPDX document describes. - The product has a reference that dependency entries can point to, such as a CycloneDX
bom-ref. - The product lists at least one direct dependency on a component in the SBOM.
The first of the three that fails gives the reason:
Cannot confirm top-level dependencies: the SBOM does not name its product (CycloneDX metadata.component, SPDX described package).Cannot confirm top-level dependencies: the product has no bom-ref, so no dependency entry can point to it.Cannot confirm top-level dependencies: the product lists no direct dependency on a component in the SBOM.
The text and Markdown reports print the note Our reading of the EU Cyber Resilience Act; not legal advice. with every result, and the JSON report holds it in quality.euMinimum.note.
Completeness score
Section titled “Completeness score”The profile is BSI TR-03183-2 version 2.1.0 ([email protected]), the technical guideline for SBOMs of Germany’s Federal Office for Information Security (BSI).
The score is the share of required values the SBOM fills, as a whole percent rounded down.
A field of the SBOM as a whole counts once; a component field counts once for each component it applies to, the product included.
An SBOM with nothing to count scores 100%.
The twelve required fields:
| Field | Counted |
|---|---|
| SBOM creator, Timestamp | once for the SBOM |
| Component creator, Component name, Component version | for every component |
| Filename, Dependencies, Distribution licences, SHA-512 of the deployable file, Executable property, Archive property, Structured property | for every component the SBOM describes in full |
A CycloneDX component that points to another SBOM for its details counts for the creator, name and version only.
The profile’s additional and optional fields, such as the SBOM-URI, the source code URI or the security.txt URL, are reported in the JSON report’s quality.completeness.fields but not scored.
SPDX cannot express the executable, archive and structured properties, so in an SPDX SBOM they are shown but not scored.
Format version and vulnerability data
Section titled “Format version and vulnerability data”- The profile’s baseline is CycloneDX 1.6 or SPDX 3.0.1. Witnyx reads SPDX 2.2 and 2.3, so every SPDX SBOM it reads is below the baseline. The
[INFO]line never fails the build. - BSI TR-03183-2 keeps vulnerability information out of SBOMs. An SBOM with a vulnerabilities section gets the
[WARN]line.
Where the data comes from
Section titled “Where the data comes from”From the SBOM alone. Nothing is downloaded: the profile’s rules ship with Witnyx. Witnyx reads CycloneDX (JSON or XML) and SPDX 2.2 or 2.3 JSON.
How to fix it
Section titled “How to fix it”Generate the SBOM after the build, with a generator that fills the fields the report names.
- EU legal minimum: generate the SBOM after the build, so that it names the product and lists the product’s direct dependencies. The next steps of the Markdown and JSON reports then include
Regenerate the SBOM after the build so it names the product and lists its direct dependencies (EU legal minimum). - A gap: each
quality:finding’shintsays how to fill the field, for exampleAdd the property bsi:component:filename with the component's file name (no path), once per component.When Witnyx recognises the tool that made the SBOM (cdxgen, Syft, cyclonedx-npm, the CycloneDX Gradle plugin or the CycloneDX Maven plugin), some hints are written for that tool, and the JSON report names it inquality.completeness.generator. - Format version: generate CycloneDX 1.6 or later.
- Vulnerability data: remove the vulnerabilities section from the SBOM, and publish that information as VEX or a security advisory.
When it fails the build
Section titled “When it fails the build”Not by default.
The rule quality: followed by a minimum score, such as --fail-on quality:80, fails the build when the EU legal minimum fails, or when the completeness score is below the minimum.
The minimum is a whole number from 0 to 100, and a % after it is allowed; a list may hold one quality rule only.
The rule can also be set in failOn in .witnyx.yml (see failOn).
The [FAIL] line under “SBOM quality” says which of the two failed:
$ witnyx check bom.json --fail-on quality:80[FAIL] Build failed: --fail-on quality:80 [FAIL] Completeness 26% is below the minimum of 80%A failed EU legal minimum fails the build at any minimum, even quality:0:
$ witnyx check bom.json --fail-on quality:0[FAIL] Build failed: --fail-on quality:0 EU legal minimum: fail (Cannot confirm top-level dependencies: the product has no bom-ref, so no dependency entry can point to it.) [FAIL] EU legal minimum not metWhen the score fails, the next steps of the Markdown and JSON reports name the gaps, such as Raise SBOM completeness to at least 80%: Component creator, Filename, Dependencies.
Rules you set replace the default, so keep exploited in the list: --fail-on exploited,quality:80.
See also: Your first check for making an SBOM, Choose when the build fails and EU Cyber Resilience Act basics.
Witnyx is a record-keeping and workflow tool. It does not certify compliance. Nothing on this site is legal advice.