What is a software bill of materials (SBOM)?
A software bill of materials (SBOM) is a list of the pieces that make up your software application. It includes all the components, libraries, and nested dependencies used within a software product, presented in a format that other software can read. Think of this as a list of ingredients that make up your software recipe.
Why should organizations care about SBOM?
Creating and maintaining an SBOM helps keep track of the versions, licenses, dependencies, and changes made to components over time. Most modern software is built by assembling multiple pre-made, third-party components.
When you weave a large number of components together, things can get complicated. An SBOM acts as a source of truth, helping to identify security risks and satisfy compliance demands like the European Union Cyber Resilience Act.
By providing transparency into a product’s digital makeup, an SBOM can strengthen software supply chain security for both producers and consumers of a software application:
- For producers: Generating an SBOM lets engineering teams audit their supplier network, detect suspicious dependencies before release, and keep track of code integrity.
- For consumers: Uploading an SBOM into an asset management platform gives security teams a searchable record of every piece of code running inside an application. With full visibility, they don’t have to wait for the vendor to call them if a library is compromised. They can query their internal inventory against a vulnerability database or common vulnerabilities and exposures (CVE) list and check for themselves.
Red Hat Lightwell kiosk experience
What information does an SBOM contain?
An SBOM lists third-party components, libraries, and modules in a software application, alongside the attributes that define them. Under standard industry frameworks, like the National Telecommunications and Information Administration (NTIA), an SBOM should at least include:
Component name and supplier name: The name of the software module and the entity, vendor, or open source maintainer that created it
Version number: The release or build version, which helps identify whether a specific piece of code carries a known flaw
Unique identifiers: Standardized reference keys (package URL or Common Platform Enumeration [CPE]) that help automated tools match components against global vulnerability databases. (This alerts you if any part of your code carries a known vulnerability.)
Dependency relationships: A map showing how components fit together and what’s dependent on what
Author and timestamp data: Metadata recording when the SBOM was created and who was responsible for generating it
The United States Cybersecurity and Infrastructure Security Agency (CISA) has expanded on these requirements and released an updated list with additional guidance.
How are SBOMs created and shared?
SBOMs can be created at different stages of the software development lifecycle: from the source code before compilation, during a build, or by analyzing an artifact after the build. In each case, tools scan the code, catalog information, and export that data into a standard machine-readable format like Software Package Data eXchange (SPDX), or CycloneDX (more on that later).
Once generated, SBOMs are shared along with the software itself. Specifically, this means attaching the inventory metadata (descriptive data that identifies, labels, and tracks each component within a piece of software) to the software release so others can read it.
You can locate an SBOM file in a repository where it should live alongside the compiled code binaries or container images. For commercial software, SBOMs are delivered to enterprise users through application programming interface (API) endpoints, customer portals, or directly to security teams.
What are the main SBOM formats and standards?
For security tools to parse dependencies and check them for vulnerabilities, SBOMs must be written in standardized, machine-readable formats. The most common SBOM standards include:
CycloneDX (OWASP): With a focus on application security and real-time vulnerability management, CycloneDX can help DevOps teams who want lightweight solutions for their modern build pipelines.
SPDX: With a focus on open source license compliance and deep legal auditing, SPDX can help corporate compliance officers and legal teams who are looking for the most detailed SBOM format.
Software Identification (SWID): With a focus on software asset management (SAM) and endpoint inventory tracking, SWID can help IT system administrators who want to track what commercial applications are installed on devices across a network.
How SBOM maintenance helps with security
Maintaining an active SBOM inventory provides the visibility needed to shift security from reactive guesswork to data-driven risk management:
Continuous security monitoring: Code remains static once it’s built, but new vulnerabilities can be discovered at any time. Monitoring an SBOM works like an automated recall system: dedicated tools continuously cross-reference what’s in the inventory against databases like the National Vulnerability Database (NVD). This setup alerts security teams when new vulnerabilities are discovered, so they can act quickly.
Zero-day response: When a major vulnerability happens (like Log4j), teams can run a single query against their SBOM inventory to highlight potentially affected applications. This can reveal exposures in minutes rather than weeks.
Transitive dependency visibility: Software relies on components that rely on other components. Most vulnerabilities don’t live in the tools developers choose directly, but in the background packages those tools quietly pull in. SBOMs can help map out and expose these layers so security teams can see the entire chain of software, making it easier to evaluate code.
Best practices for SBOMs
To make the most of what an SBOM can offer, teams need to adopt an approach that prioritizes automation and standardizes the software development lifecycle:
Automation and monitoring
- Integrate SCA tools directly into CI/CD workflows so SBOMs are automatically generated with every build.
- Get in the practice of automatically generating an SBOM whenever software is updated, re-compiled, or re-packaged. Don’t rely on an outdated snapshot.
- Route generated SBOMs into automated vulnerability platforms that can continuously monitor components and look for matches against live security databases.
Standards, formats, and metadata
- Include minimum baseline elements in your metadata, like supplier name, component name, version number, and direct/transitive dependencies.
- Attach standardized identifiers like Package URLs (PURLs), Common Platform Enumerations (CPEs), and cryptographic hashes to prevent naming ambiguity.
- Adopt industry-standard, machine-readable formats like CycloneDX or SPDX.
- Mandate JSON or XML formatting across internal products to make processing uniform.
Storage, security, and governance
- Store each SBOM version in a repository (like JFrog Artifactory or GitHub Releases) and link it directly to its specific code release.
- Require cryptographic signatures when SBOMs are created and altered.
- Establish policies that automatically flag or reject third-party vendors who deliver software with incomplete or redacted data.
- Clarify operational ownership so each team (security, legal, DevSecOps) can monitor and access what it needs within the SBOM.
Challenges of adopting SBOMs
SBOMs keep track of critical information and provide transparency, but there can be some challenges to adopting them:
Tooling inaccuracies and missing components: Automated scanners aren’t perfect. They can miss deeply nested dependencies and obscured details, which can result in an incomplete software inventory.
Inaccurate metadata: Different tools and software vendors might name the same software library in different ways. This can make it more difficult for automated scanners to accurately identify and match components against vulnerability databases.
Vendor and intellectual property concerns: Some commercial software vendors may be fearful of publishing a complete SBOM for their clients because they don’t want to accidentally expose trade secrets or proprietary information.
SBOMs vs. software composition analysis (SCA)
An SBOM is a digital inventory—it doesn’t actively scan anything. An SCA tool analyzes software dependencies.
Consider this, if the SBOM is the list of ingredients on a candy bar, the SCA is the inspector that scans the list and warns you if that candy bar contains an allergen, like peanuts or wheat.
An SCA’s job is to dig through a project’s codebase, identify components, and evaluate them against known vulnerability databases. Some SCA tools may generate an SBOM as part of that process. Other tools can use an SBOM as a source of information.
Other BOM types
SBOMs are a part of a wider family of inventory documents. These include:
- AIBOM. An artificial intelligence bill of materials.
- HBOM. A hardware bill of materials.
- CBOM. A cryptographic bill of materials.
When relationships and formatting allow, it’s sometimes possible to link or correlate other BOMs with an SBOM to get a broader view of how systems and services can connect.
How Red Hat can help
Red Hat’s experience in creating, managing, and automating SBOMs allows us to help organizations safeguard their software supply chains and meet evolving compliance standards. Red Hat continues to advance software supply chain security through strategic security initiatives like Lightwell and governed security automation through Red Hat Ansible Automation Platform.
Lightwell is a joint initiative between Red Hat and IBM, focused on securing the open source software supply chain. It acts as a continuous delivery and trust verification layer for your SBOM. Lightwell uses AI-driven engineering to generate, validate, and deploy code fixes for open source code. It extends Red Hat’s proven model of enterprise open source maintenance by sending out backported security patches, signed compliant artifacts, and updated SBOM documentation without forcing version upgrades.
Safeguarding and scaling application delivery in the era of AI
Boost developer productivity with Red Hat Advanced Developer Suite. Learn how AI tools can simplify application delivery and reduce security risks.