Software Bill of Materials (SBOM)¶
We provide full transparency into our software supply chain through the use of Software Bills of Materials (SBOMs). This document outlines what an SBOM is and how we use them to enhance the security and integrity of the Contain Platform.
What is an SBOM?¶
A Software Bill of Materials (SBOM) is a formal, machine-readable inventory of all software components, libraries, and dependencies that make up an application or system. Think of it as a detailed ingredients list for software.
The primary purpose of an SBOM is to provide transparency into the software supply chain. By knowing exactly what is inside a software package, you can:
- Identify and track known vulnerabilities (CVEs) in specific components.
- Manage and verify open-source license compliance.
- Respond more quickly to newly discovered security threats.
- Proactively assess risk associated with third-party components.
SBOMs are a foundational element of modern cybersecurity and supply chain risk management practices.
How We Use SBOMs¶
We produce SBOMs as part of every component release. They are stored next to the component in the registry, bound to the exact version they describe, and signed together with the rest of the release evidence (see Software Supply Chain Security).
All our SBOMs use CycloneDX 1.6 in JSON, an industry-standard format that security and analysis tools read directly.
Two Levels: the Package and Its Images¶
A component release is a package: Helm charts, configuration and documentation we wrote, and the container images it runs. Its SBOMs follow that structure.
- The package SBOM describes the package as a whole: each Helm chart with its
version and license, our own content, and each container image. Every image
lists its platforms, such as
linux/amd64andlinux/arm64, and points to the SBOM of each platform by its digest. - An image SBOM lists the software inside one platform of one container image: operating system packages, language libraries, and their licenses.
Because the package SBOM names every image SBOM by its digest, the one signature on the package SBOM covers them all. Changing any image SBOM would break the link.
Where Image SBOMs Come From¶
We create image SBOMs by scanning each platform of each image with Trivy, the same scanner we use to find vulnerabilities. Scanning the SBOM later finds what scanning the image would.
- An unchanged image keeps its SBOM. When a release ships an image whose digest we have described before, the earlier SBOM is reused as it is.
- Upstream SBOMs are kept as well. Some projects publish their own SBOM for an image. We carry it next to ours, unchanged, and our SBOM records where to find it. We do not use it in place of ours, because our scanner cannot read every format upstream projects use.
- Gaps are recorded, not hidden. If a platform of an image has no SBOM, the package SBOM says so explicitly, rather than leaving it out.
Licenses¶
- Licenses are recorded as SPDX license expressions wherever the source provides one, and marked as declared by the source.
- A license we do not know is recorded as
NOASSERTION. We never guess. - A custom license reference, such as
LicenseRef-Proprietary, comes with its license text, since the name alone means nothing outside the document that defines it. - A Helm chart's license comes from the chart's own license annotation, otherwise from the license of the upstream project.
No Vulnerabilities in the SBOM¶
An SBOM is fixed to the version it describes, while new vulnerabilities are
published every day. Rather than freezing a vulnerability report into the
release, you can scan an SBOM at any time and get today's findings, for example
with trivy sbom <file>.
Reading the SBOMs¶
Given read access to the registry, the SBOMs are attached to what they describe:
| To get | Run |
|---|---|
| The SBOMs and other evidence of a component | oras discover <component reference> |
| One SBOM | oras pull <reference>@<digest of the SBOM> |
| The signed package SBOM, verified | gh attestation verify oci://<component reference> --owner containdk --bundle-from-oci --predicate-type https://cyclonedx.org/bom |
Our SBOMs add a few properties, all named netic:rollout:…, for information
CycloneDX has no field for:
| Property | Meaning |
|---|---|
netic:rollout:sbom-source |
where an image SBOM came from: trivy for a scan, reused for an unchanged image |
netic:rollout:upstream-sbom-format, netic:rollout:upstream-sbom-digest |
the SBOM upstream published for the same image, if any |
netic:rollout:uncovered-platforms |
platforms of an image that have no SBOM |
netic:rollout:license:<id>, netic:rollout:noassertion:<ref> |
a summary of which licenses appear where, and how many components have no known license |
netic:rollout:license-source |
where a Helm chart's license came from |