SBOM: what it is, what it is for and why you should require it from every vendor
What an SBOM is
SBOM, short for Software Bill of Materials, is the list of materials in a piece of software: every package, library and component it contains, with name, version and, usually, license and origin. It is the equivalent of the ingredient list on a food product.
A typical container image has hundreds of packages. Without an SBOM, knowing what is inside it means opening and analyzing the image for every question.
What it is for
- Responding to a new vulnerability. When a serious flaw is announced, the question is “am I affected?”. With an SBOM, the answer is a search, not an investigation.
- Licenses. Knowing which licenses are present before distributing or embedding a piece of software.
- Independent scanning. Any scanner can analyze the SBOM without needing the image.
- Regulatory and contractual requirements. More and more contracts and standards require SBOMs from software vendors.
Formats
The two most widely used open formats are CycloneDX, maintained by OWASP, and SPDX, maintained by the Linux Foundation. Both are supported by the main tools. ZTGIT publishes in CycloneDX.
SBOMs in ZTGIT
Every image built by ZTGIT gets a CycloneDX SBOM generated during the build itself. It is:
- public: one file per image at ztgit.org/sbom/, linked from each component page;
- used at the gate: ZTGIT-SBOMscan and Grype analyze the SBOM, and the build is blocked if there is a fixable critical vulnerability;
- machine-readable: the evidencias.json file points to each image’s SBOM.
What to ask a vendor for
When you procure any software, ask for:
- the SBOM for every version delivered, in an open format;
- the date and the tool of the latest vulnerability scan;
- a way to verify that the artifact you received is the same one described in the SBOM, for example a cryptographic signature.
ZTGIT publishes all three for every built component. See how to check them in How to verify a ZTGIT image.