SBOM
An SBOM (Software Bill of Materials) is the list of everything inside a piece of software: every package, library and operating system component, with its version and, usually, its license. It is to software what the ingredient list is to food.
Why it matters now
Section titled “Why it matters now”Modern applications are mostly made of code your team didn’t write. Without an SBOM, the question “do we ship the vulnerable version of this library?” means searching repository by repository. With one, it is a lookup.
That is why SBOMs went from good practice to requirement:
- the US government asks software suppliers for SBOMs since Executive Order 14028 (2021);
- the EU Cyber Resilience Act requires manufacturers of products with digital elements to keep one;
- more and more enterprise customers ask for it in security questionnaires and contracts.
The two common formats
Section titled “The two common formats”| Format | Maintained by | Typical use |
|---|---|---|
| CycloneDX | OWASP | Security: vulnerabilities, dependencies, services |
| SPDX | Linux Foundation (ISO/IEC 5962) | Licenses and compliance |
Both are machine-readable (JSON or XML), and most tools read either.
What it is good for
Section titled “What it is good for”- Answering “are we affected?” when a new vulnerability is announced.
- Checking licenses before a release.
- Proving to auditors and customers what a release contains.
- Comparing two versions of an image to see what changed.
An SBOM is a snapshot: it is only useful if it is generated on every build and kept next to the image it describes.
In Leavory
Section titled “In Leavory”Config Stack generates the image SBOM on every pipeline run (CycloneDX, and SPDX if you want it too), and the Workspace shows it on each repository, next to its vulnerabilities.
Sources: CycloneDX, SPDX, CISA: SBOM.