Guides
SBOM guides for software makers
Practical steps to get an exact SBOM for every release, the starting point for EU Cyber Resilience Act vulnerability reporting. Commands checked with Syft 1.57.2.
By technology
Electron apps
Electron apps ship Chromium and Node.js inside the electron package. That is where many of the serious vulnerabilities are, and it is the one component a default SBOM tends to leave out.
npm packages and Node.js apps
For Node.js the lockfile is the most precise source: it pins every package, including the dependencies of your dependencies.
Python
Python SBOMs are only as exact as your pins. A version range tells nobody what you actually shipped.
Go
Go makes this easy: every binary carries the list of modules it was built with.
Rust
Commit your Cargo.lock for anything you ship. It is the exact list of crates in the build.
Java (Maven and Gradle)
For Java, scan what you build, not the pom.xml: versions in Maven files often come from properties, parents and plugins that only the build resolves.
.NET
The published output of a .NET app records exactly which NuGet packages it runs with.
In your CI
GitHub Actions
GitHub Actions workflow that builds a CycloneDX SBOM with the official anchore/sbom-action (Syft) on every release.
GitLab CI
GitLab CI job that builds a CycloneDX SBOM with Syft for every release tag.
Bitbucket Pipelines
Bitbucket Pipelines step that builds a CycloneDX SBOM with Syft for every tag.
Azure DevOps
Azure DevOps pipeline that builds a CycloneDX SBOM with Syft for every release tag.