How SBOMs Support DevOps Compliance
How a software bill of materials supports DevOps compliance: SPDX vs CycloneDX, generating SBOMs in CI with Syft and Grype, attestations, VEX and audits.
A software bill of materials (SBOM) supports DevOps compliance by giving auditors and security teams a machine-readable list of every component in each release. When the pipeline generates an SBOM automatically for every build, you can prove what shipped, check licences, answer "are we affected?" within minutes of a new vulnerability, and hand customers or regulators evidence without a manual scramble.
This guide covers what an SBOM contains, the two main formats, how to generate and store SBOMs in a CI/CD pipeline, and which compliance questions they help answer. It is written for DevOps and DevSecOps engineers who need to put SBOMs into practice, not just describe them. For the wider supply chain picture, see our guide on securing a CI/CD pipeline against supply chain attacks.
Key takeaways
- CISA describes an SBOM as a nested inventory, a list of ingredients that make up software components.
- The two widely used formats are SPDX, linked to the international standard ISO/IEC 5962:2021, and CycloneDX, published as Ecma standard ECMA-424. The latest CycloneDX specification is 1.7.
- Generate SBOMs in the build, from the artefact you actually ship, and store them with the release. SBOMs produced long after the build may not match what was deployed.
- An SBOM lists components; it does not say whether a vulnerability is exploitable. VEX documents carry that statement.
- Compliance value comes from automation: one SBOM per release, signed or attested, searchable, and checked against policy.
- CISA has published updated minimum elements guidance, building on NTIA's 2021 work, so check which version your customers or contracts reference.
What an SBOM is and what it is not
An SBOM is a structured record of the components inside a piece of software: open source libraries, their versions, the packages in a container's operating system layer, and the relationships between them. NIST's guidance on Executive Order 14028 quotes the order's definition: a formal record containing the details and supply chain relationships of components used in building software. The common analogy is the ingredient label on food.
An SBOM is not a vulnerability report. It tells you that version 2.17.0 of a logging library is present; it does not tell you whether that version has a flaw, or whether your code calls the vulnerable function. Vulnerability scanners compare SBOM contents with advisory databases, and VEX (Vulnerability Exploitability eXchange) documents let a supplier state whether a product is actually affected by a known vulnerability. CISA publishes guidance on when to issue VEX information.
It is also not a one-time document. Every build changes the component list, so a useful SBOM practice produces a new one per release and keeps the history.
What goes in an SBOM
NTIA's 2021 minimum elements, which CISA has since refined, cover three areas: data fields for each component, automation support, and practices and processes. In day-to-day terms, a useful SBOM for each component includes:
- Supplier or author, and component name.
- Version.
- Unique identifiers, such as a package URL (purl) or CPE, so tools can match it to advisories.
- Dependency relationships: what includes what.
- Who created the SBOM and when.
- Hashes of the component or artefact, and licence information where available.
CISA published "Framing Software Component Transparency (2024)", which sets minimum, recommended and aspirational levels for each attribute, and has since released joint guidance updating the minimum elements. If a customer contract asks for "NTIA minimum elements", confirm which document they mean.
SPDX vs CycloneDX
| Aspect | SPDX | CycloneDX |
|---|---|---|
| Steward | Linux Foundation SPDX project | OWASP Foundation with Ecma International TC54 |
| Standard status | Linked to ISO/IEC 5962:2021 | Published as ECMA-424 |
| Current spec | 3.0 listed as latest on spdx.dev | 1.7, released October 2025 |
| Origins | Licence compliance, now broader | Application security, now broader |
| Common encodings | JSON, tag-value, RDF and others | JSON, XML, Protocol Buffers |
| VEX support | Via security profile and related documents | Built-in vulnerability and VEX fields |
Both are accepted by most tooling. Pick the one your customers or regulators ask for; if no one asks, pick the one your scanners and storage platform handle best. Generators such as Syft can emit both from one scan, so you are not locked in.
How SBOMs support specific compliance needs
Proving what shipped
Auditors frequently ask what was in a release that ran in production on a given date. Without SBOMs, the answer involves digging through lock files and container layers. With an SBOM attached to each release, often as an attestation linked to the image digest, the answer is a lookup. This supports change management controls in frameworks such as SOC 2 and ISO/IEC 27001, which expect you to know and control what you deploy.
The same record helps internally. When a release behaves differently from the previous one, comparing the two SBOMs shows every dependency that changed, including transitive ones nobody touched on purpose. That diff is often the fastest route to the cause of a regression introduced by a library update.
Vulnerability response
When a widely used library has a critical vulnerability, the first question from leadership and customers is "are we affected, and where?". If SBOMs for all running versions sit in a searchable store, you can query for the component and version across every service in minutes. Our post on how DevOps teams handle zero-day vulnerabilities shows how that query feeds the patch process.
Licence compliance
SBOMs record licence data, so policy checks can flag components with licences your legal team has not approved before they reach a release. This was SPDX's original purpose, and it remains one of the most practical uses.
Customer and government requirements
In the United States, Executive Order 14028 (2021) put SBOMs at the centre of federal software supply chain guidance. NIST's guidance says agencies should, where applicable, require suppliers to provide machine-readable SBOMs that follow the order and NTIA's minimum elements. In the European Union, the Cyber Resilience Act entered into force on 10 December 2024; its reporting obligations apply from 11 September 2026 and its main obligations from 11 December 2027, according to the European Commission. Teams that sell products with digital elements into the EU should read the regulation's documentation requirements directly rather than relying on summaries. Many enterprise customers also now ask vendors for SBOMs during procurement.
Generating SBOMs in a pipeline
The SBOM should come from the build, describing the exact artefact that will be deployed. A typical sequence in CI:
- Build the container image or package.
- Generate an SBOM from the built artefact.
- Scan the SBOM for known vulnerabilities and check licences against policy.
- Attach the SBOM to the artefact as a signed attestation and store a copy in an SBOM repository.
- Fail or warn according to policy, then publish.
With Anchore's open source tools, steps 2 and 3 look like this. Syft writes one SBOM in each format, and Grype scans the SBOM rather than the image:
IMAGE=registry.example.com/shop/api:${GIT_SHA}
syft "$IMAGE" -o cyclonedx-json=sbom.cdx.json -o spdx-json=sbom.spdx.json
grype sbom:./sbom.cdx.json --fail-on high
Scanning the stored SBOM rather than the image has a useful side effect. Months later, you can rescan the same SBOM against today's vulnerability data without pulling the image again, which is how continuous monitoring of deployed releases usually works.
Docker BuildKit can also produce SBOM and provenance attestations during the build, and many registries and platforms can store them alongside images. Language ecosystems have their own generators, such as CycloneDX plugins for Maven and npm, which can capture build-time dependency information more precisely than scanning a finished image.
Signing and attesting
An SBOM is only useful as evidence if people can trust it was produced by your pipeline for that artefact. Sigstore's Cosign can attach an SBOM to an image as a signed attestation, tying it to the image digest. Verification at deploy time, for example through an admission controller in Kubernetes, can then refuse images that lack a valid SBOM attestation. This turns the SBOM from documentation into an enforced control.
Storing and using SBOMs
Generating SBOMs is the easy part; many teams end up with thousands of JSON files in build artefacts that nobody reads. Plan for retrieval from the start. Open source platforms such as OWASP Dependency-Track ingest CycloneDX SBOMs, track components across projects, monitor them against vulnerability sources, and apply licence and security policies. Some artefact repositories and commercial supply chain tools offer similar features.
Whichever store you use, record metadata that auditors will ask for: the service, version, image digest, build ID, commit, and the environments where the release ran. Retain SBOMs for as long as your compliance framework requires you to retain release records.
Policy as code with SBOM data
Once SBOMs are in the pipeline, policies can run against them like any other test. Examples include blocking releases with critical vulnerabilities that have fixes, blocking disallowed licences, requiring that base images come from an approved list, or requiring that every component has a supplier and version. Tools such as Open Policy Agent can evaluate SBOM JSON directly. Our post on policy as code in CI/CD pipelines shows where these gates fit, and continuous governance in DevSecOps covers the reporting side.
Consuming SBOMs from your suppliers
Compliance runs in both directions. Your customers may ask you for SBOMs, and you should ask the vendors whose software you run for theirs. A database appliance, a monitoring agent or a commercial library is part of your attack surface too, and without its SBOM you cannot answer "are we affected?" for that part of the estate.
When you receive an SBOM, check it before trusting it. Does it identify components with package URLs or CPEs so your tools can match advisories? Does it cover the operating system layer as well as application libraries? Is it signed, and does the version match what you installed? Load accepted SBOMs into the same store as your own, so one search covers both. Where a vendor also publishes VEX statements, import them too, because they save your team from triaging findings the vendor has already analysed.
Who owns the SBOM process
SBOM programmes stall when nobody owns them. A split that works in many organisations:
- The platform or DevOps team owns the pipeline templates that generate, sign and upload SBOMs, so every service gets them without extra work.
- Service teams own triage of findings in their components and keep their dependencies current.
- The security team owns policy thresholds, VEX statements and the vulnerability response process.
- Legal or compliance owns the licence policy and answers customer and regulator requests, using data from the SBOM store.
Write these responsibilities down and review them when a real incident tests them. The first major vulnerability after rollout is usually where gaps in ownership show up.
Common pitfalls
- Generating SBOMs from source repositories only. They miss operating system packages and anything added during the build. Generate from the final artefact, and add build-time SBOMs where language tooling supports it.
- Generating once and never again. A stale SBOM is misleading evidence.
- Treating every scanner finding as exploitable. Use VEX statements or documented triage to record why a finding does not apply.
- Storing SBOMs without the digest of the artefact they describe, which makes them hard to trust in an audit.
- Ignoring incomplete data. Components without versions or identifiers cannot be matched to advisories; track SBOM quality as a metric.
A starting plan for a team
Week one: add Syft or your preferred generator to one service's pipeline and store the output as a build artefact. Week two: add a scan with a warning-only policy and look at the results with the service owners. Week three: attach SBOMs as signed attestations and push them into a central store. After that, expand to all services, then switch the policy from warning to blocking for the most serious findings. Container scanning and SBOMs work together, as described in why container scanning matters in DevOps pipelines, and our list of DevSecOps tools for secure CI/CD includes options for each step.
SBOMs, signing and supply chain controls are part of our DevSecOps training, available in the Kharadi, Pune classroom and live online.
Frequently asked questions
What is an SBOM in DevOps?
An SBOM is a machine-readable list of the components in a software release, including libraries, versions and dependency relationships. In DevOps it is generated automatically in the pipeline for every build.
Which SBOM format should I use, SPDX or CycloneDX?
Use the format your customers or regulators request. Both are widely supported: SPDX is linked to ISO/IEC 5962:2021 and CycloneDX is published as ECMA-424. Tools such as Syft can produce both from one scan.
Does an SBOM tell me if I am vulnerable?
Not by itself. An SBOM lists components. A scanner compares it with vulnerability databases, and VEX documents state whether a known vulnerability actually affects the product.
When should the SBOM be generated?
During the build, from the artefact you will ship. NIST notes that SBOMs created after the fact may not match the dependencies used at build time.
How do SBOMs help with audits?
They provide a record of exactly what each release contained, linked to the artefact digest and build. Auditors can check change control and vulnerability handling without manual reconstruction.
Is an SBOM legally required?
It depends on who you sell to. US federal guidance under Executive Order 14028 asks agencies to require SBOMs where applicable, and the EU Cyber Resilience Act applies from 2026 and 2027. Many enterprise contracts also ask for them. Check the requirements that apply to your products.
Where should SBOMs be stored?
Attach them to artefacts as signed attestations and also send them to a searchable store such as OWASP Dependency-Track, with the service, version, digest and build ID recorded.
References
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0