SBOM generation for CI/CD pipelines
Brands AI mentions
automated CI/CD generation and vulnerability scanning with CycloneDX or SPDX output
lightweight CLI generation from container images, archives, and filesystems
fast, multi-language enterprise scanning across diverse build environments
generating SPDX-compliant SBOMs within GitHub Actions and Azure DevOps pipelines
paired vulnerability scanning alongside dedicated pipeline SBOM generators
Also mentioned rarely: Cosign, GitHub Actions, GitLab CI, Jenkins, Sonatype Open Source Security & Dependency Management, BuildKit, Apache Maven, sbomify, OSV Scanner, Kubernetes BOM, KubeClarity, Anchore SBOM Action, Docker Buildx, Interlynk, Observer CLI, Snyk, CycloneDX .NET, Black Duck, Snyk Docs, Linux Foundation, CycloneDX Go, OSS Review Toolkit, GUAC (Graph for Understanding Artifact Composition), Sigstore
- TrivyChatGPTChatGPT 100%Google AI ModeGoogle AI Mode 97%
- SyftChatGPTChatGPT 97%Google AI ModeGoogle AI Mode 97%
- CycloneDX Generator (cdxgen)ChatGPTChatGPT 81%Google AI ModeGoogle AI Mode 87%
- Microsoft SBOM ToolChatGPTChatGPT 84%Google AI ModeGoogle AI Mode 67%
- GrypeChatGPTChatGPT 39%Google AI ModeGoogle AI Mode 47%
Pages AI cites most for this topic
Third-party sites shaping AI recommendations here
- 48%
- 41%
- 33%
- 33%
- 23%
Questions and answers
Google AI ModeNov 18, 2026
Generating a
Software Bill of Materials(SBOM) directly inside your CI/CD pipelines ensures your inventory stays tied to the exact artifact (container image, filesystem, or application source) being built.The top-performing, industry-standard tools for automating SBOM generation in pipelines include:
1. Syft (by Anchore)
- Best for: Purpose-built, multi-artifact inventory generation across containers, archives, and directories.
- How it works: Syft inspects OCI/Docker container images (even directly from a registry without running a Docker daemon), local filesystems, and individual archives.
- Key CI/CD formats: CycloneDX (JSON/XML), SPDX (JSON/Tag-Value), and native Syft JSON.
- Learn more & docs: Explore usage patterns on the Syft vs Trivy vs cdxgen vs Microsoft SBOM Tool Comparison Guide.
2. Trivy (by Aqua Security)
- Best for: Consolidating SBOM generation and vulnerability/license scanning into a single CLI tool.
- How it works: Trivy can scan container images, root filesystems, and git repositories to build standard SBOMs. Because it also understands CVE databases, it allows you to generate the SBOM and immediately evaluate security policies in the same pipeline step.
- Key CI/CD formats: CycloneDX (JSON) and SPDX (JSON/Tag-Value).
- Learn more & docs: Check out open-source container integration scripts on the Codenotary SBOM.sh Container GitHub Repository.
3. cdxgen (by OWASP)
- Best for: CycloneDX-first deep language-ecosystem and application dependency analysis.
- How it works: Designed specifically to parse source code manifests, lockfiles, and container layers to construct rich CycloneDX-compliant dependency graphs. It shines in multi-language projects and polyglot application builds.
- Key CI/CD formats: CycloneDX.
- Learn more & docs: Compare capabilities via the Kusari SBOM Tool Selection Guide.
4. Microsoft SBOM Tool
- Best for: Strict SPDX manifests tied to hashed release drops.
- How it works: Separates source-component detection from the final build drop, hashing and validating the packaged files against a generated SPDX manifest. It is heavily tailored for enterprise release engineering.
- Key CI/CD formats: SPDX.
- Learn more & docs: Review enterprise pipeline integrations in the Microsoft SBOM Tool / Awesome Security Pipeline Guide.
Quick Comparison Matrix
Tool Primary Artifacts Supported Standards Unique Advantage Syft Container images, archives, filesystems CycloneDX, SPDX, Syft JSON Cleanest, fastest inventory extraction without daemon needs Trivy Images, filesystems, Git repos CycloneDX, SPDX Combines SBOM generation with inline CVE vulnerability gating cdxgen Source code, manifests, containers CycloneDX Deepest relationship mapping for application package managers Microsoft SBOM Tool File drop / build artifacts SPDX Strict hash-validation of release drops If you'd like to narrow this down, let me know:
- What type of artifacts you are primarily shipping (e.g., Docker containers, compiled binaries, or raw source code)
- Which CI/CD platform you use (GitHub Actions, GitLab CI, Jenkins, etc.)
- Which output format (SPDX vs. CycloneDX) your compliance requirements ask for
Pages cited in this answer 4
- nhimg.orgWhat would it take for CycloneDX to cover transitive dependencies?
- github.comawesome-security-pipeline/comparisons/sbom-tools.md at main · rezmoss/awesome-security-pipeline · GitHub
- github.comGitHub - codenotary/sbom.sh-container: Dockerfile and scripts to build a container image that facilitates generating and uploading Software Bill of Materials (SBOM) to sbom.sh utilizing various open-source SBOM tools such as Trivy, Grype, and Syft. · GitHub
- kusari.devBest SBOM Tools 2026: How to Choose the Right SBOM Generation Tool | Kusari
ChatGPTNov 18, 2026
There are several excellent tools for generating Software Bills of Materials (SBOMs) directly inside CI/CD pipelines. The strongest options include Anchore Syft, Trivy, cdxgen, and Microsoft SBOM Tool.
They differ in what they scan: application source code, dependency manifests, compiled artifacts, container images, and complete filesystems.
1. Best SBOM generation tools
Here are the main tools worth considering:
1. Anchore Syft
(Best overall starting point)
- Scans container images, filesystems, directories, and archives.
- Supports CycloneDX and SPDX.
- Detects packages across many programming languages and operating systems.
- Works well in GitHub Actions, GitLab CI, Jenkins, and other pipelines.
Example:
bashsyft dir:. -o cyclonedx-json=sbom.json syft myapp:latest -o spdx-json=sbom.spdx.jsonWebsite:
2. Trivy
(Best all-in-one security scanner)
- Generates SBOMs from source repositories, filesystems, container images, and VM images.
- Supports CycloneDX and SPDX.
- Also detects vulnerabilities, misconfigurations, secrets, and license issues.
- Particularly useful if you want SBOM generation and security scanning in one pipeline.
Example:
bashtrivy fs --format cyclonedx \ --output sbom.json . trivy image --format cyclonedx \ --output image-sbom.json myapp:latestWebsite:
3. cdxgen
(Best for application dependencies)
- Generates SBOMs from source code and dependency manifests.
- Supports Java, JavaScript, Python, Go, .NET, PHP, Ruby, Rust, and other ecosystems.
- Particularly useful for identifying direct and transitive application dependencies.
- Primarily produces CycloneDX SBOMs, with SPDX export capabilities.
Example:
bashnpx @cyclonedx/cdxgen \ -o sbom.json .Website:
4. Microsoft SBOM Tool
- Generates SPDX SBOMs for build outputs.
- Integrates with automated build pipelines.
- Supports Windows, Linux, and macOS.
- Useful for Microsoft-centric development environments and compliance workflows.
Example:
bashsbom-tool generate \ -b ./build \ -bc ./ \ -pn MyApplication \ -pv 1.0.0 \ -ps MyCompany \ -nsb https://example.comWebsite:
These tools and their respective strengths are also covered in OWASP's DevSecOps guidance.
2. Additional tools worth evaluating
Tool Best use case SBOM format Docker BuildKit Generate SBOM attestations during container builds SPDX Docker Scout Container image inventory and analysis CycloneDX, SPDX CycloneDX Maven Plugin Java/Maven projects CycloneDX CycloneDX npm Node.js applications CycloneDX CycloneDX .NET .NET applications CycloneDX CycloneDX Go Go applications CycloneDX OSS Review Toolkit (ORT) Open-source dependency analysis and compliance SPDX and other supported formats Useful project links:
The language-specific plugins are particularly useful when you want dependency information directly from the package manager rather than relying exclusively on filesystem scanning.
3. Tool comparison by scanning target
This is a practical way to narrow down your selection:
Tool Applications Containers Filesystems Vulnerability scanning Syft Yes Yes Yes Via Grype Trivy Yes Yes Yes Built-in cdxgen Yes Yes Yes Via integrations Microsoft SBOM Tool Build outputs Supported workflows Build directories No Docker Scout Limited Yes Supported inputs Built-in ORT Yes Indirect Repository/build inputs Via integrations One important distinction: source-level SBOM generation and image-level SBOM generation aren't interchangeable.
- Source-level SBOMs help capture declared and resolved dependencies.
- Container-level SBOMs identify packages actually present in the image.
- Filesystem-level SBOMs inventory installed software and components in a directory or root filesystem.
For comprehensive coverage, generating both an application SBOM and a final container-image SBOM is a good practice.
4. Example CI/CD integration
For a typical pipeline, I would start with Syft and Trivy.
Here's an example GitHub Actions workflow:
yamlname: Build and Generate SBOM on: push: branches: [main] jobs: sbom: runs-on: ubuntu-latest steps: - name: Checkout source uses: actions/checkout@v4 - name: Build application run: | docker build -t myapp:${{ github.sha }} . - name: Install Syft uses: anchore/sbom-action/download-syft@v0 - name: Generate application SBOM run: | syft dir:. \ -o cyclonedx-json=app-sbom.json - name: Generate container SBOM run: | syft myapp:${{ github.sha }} \ -o cyclonedx-json=image-sbom.json - name: Upload SBOM artifacts uses: actions/upload-artifact@v4 with: name: sbom-reports path: | app-sbom.json image-sbom.jsonThis produces two independent SBOM artifacts for every successful build.
You can then add vulnerability scanning, SBOM validation, signing, and artifact publishing as subsequent pipeline stages.
5. Tools for managing SBOMs after generation
Generating an SBOM is only the first step. You should also consider how to store, analyze, and monitor it.
Tool Purpose OWASP Dependency-Track Central SBOM management and continuous vulnerability monitoring Grype Vulnerability scanning of SBOMs and images GUAC Aggregating and querying software supply-chain metadata Cosign Signing SBOMs and software artifacts CycloneDX CLI SBOM validation, conversion, and manipulation Useful links:
6. My recommendations
Recommended tool combinations
(Best general-purpose combination)
Syft + Grype + Dependency-Track
Generate SBOMs, scan for vulnerabilities, and continuously monitor components.
(Best integrated security solution)
Trivy
Generate SBOMs and perform vulnerability and configuration scanning with one tool.
(Best application dependency coverage)
cdxgen + Syft
Capture application dependencies and independently inventory the final deployed image.
Best Microsoft-oriented environment
Microsoft SBOM Tool + Trivy for build inventories and security analysis.
A few implementation recommendations:
- Generate SBOMs automatically for every release build.
- Prefer CycloneDX or SPDX as standardized output formats.
- Associate each SBOM with the exact application version and container image digest.
- Store SBOMs as immutable build artifacts.
- Sign SBOMs and associate them with build provenance.
- Scan SBOMs for newly disclosed vulnerabilities after deployment, not just during builds.
For additional guidance, see the OWASP DevSecOps Guidelines.
7. A question to help narrow down the architecture
Which CI/CD platform are you primarily using?
CI/CD platform
What do you want to scan?
Preferred SBOM format
[Submit]
I can use these details to put together a practical, end-to-end SBOM generation architecture with pipeline examples, tool installation, artifact publishing, and vulnerability scanning.
Pages cited in this answer 19
- github.comGitHub - anchore/syft: CLI tool and library for generating a Software Bill of Materials from container images and filesystems · GitHub
- trivy.devTrivy
- github.comGitHub - cdxgen/cdxgen: Creates CycloneDX Bill of Materials (BOM) for your projects from source and container images. Supports many languages and package managers. Integrate in your CI/CD pipeline with automatic submission to Dependency Track server · GitHub
- github.comGitHub - microsoft/sbom-tool: The SBOM tool is a highly scalable and enterprise ready tool to create SPDX 2.2 compatible SBOMs for any variety of artifacts. · GitHub
- owasp.github.ioSoftware Bill of Materials (SBOM) - OWASP DevSecOps Guideline
- intellixbom.comSBOM Tools: Open-Source Generators and Analysers | IntelliXBOM
- safeguard.shBest SBOM generators by language and container image
- docs.docker.comSBOM attestations | Docker Docs
- docs.docker.comDocker Scout | Docker Docs
- cyclonedx.orgCycloneDX Tool Center | CycloneDX
- github.comGitHub - oss-review-toolkit/ort: A suite of tools to automate software compliance checks. · GitHub
- grca.planeth.de2.2 SBOM Lifecycle
- stackradar.ioSBOM tools compared: Syft, Trivy, Docker Scout | StackRadar
- nebrino.deGenerate an SBOM in CI/CD: Syft, Trivy, cdxgen · Nebrino
- dependencytrack.orgDependency-Track | Software Bill of Materials (SBOM) Analysis | OWASP
- github.comGitHub - anchore/grype: A vulnerability scanner for container images and filesystems · GitHub
- guac.shguac
- github.comGitHub - sigstore/cosign: Code signing and transparency for containers and binaries · GitHub
- owasp.github.ioOWASP DevSecOps Guideline
Google AI ModeOct 29, 2026
Several industry-standard,
open-source toolsspecialize in generating a Software Bill of Materials (SBOM) for container images, filesystems, and application dependencies within CI/CD pipelines. The top options and their capabilities include:- Syft (by Anchore) : Widely regarded as one of the best dedicated SBOM generators. It deeply inspects container images (layer-by-layer), local filesystems/directories, and archives, supporting a massive range of language ecosystems (Go, Python, npm, Rust, Java, etc.). It natively outputs standard formats like CycloneDX and SPDX and integrates smoothly into GitHub Actions or GitLab CI.
- Trivy (by Aqua Security) : Primarily a comprehensive security and vulnerability scanner, but it also includes robust SBOM generation capabilities. Using commands like
trivy imageortrivy fs, you can output inventory lists directly into CycloneDX or SPDX JSON formats. - cdxgen (by AppThreat/CycloneDX) : The official CycloneDX generator, engineered specifically to build deep dependency trees for applications, containers, and serverless environments. It is ideal if your pipeline mandates pure, standards-compliant CycloneDX output.
- Microsoft SBOM Tool : A highly scalable, open-source generator created by Microsoft that integrates directly into enterprise build pipelines to produce standardized SPDX-compliant manifests (though it does not natively scan container images directly like Syft or Trivy).
If you'd like, let me know:
- Which CI/CD platform you are using (e.g., GitHub Actions, GitLab CI, Jenkins)
- Your preferred output format (CycloneDX or SPDX)
I can provide a ready-to-use pipeline configuration script for your workflow.
ChatGPTOct 29, 2026
If you want to generate a Software Bill of Materials (SBOM) for filesystems, container images, and applications directly in your CI/CD pipeline, several mature tools can do this. The best choice depends on whether you need broad artifact coverage, vulnerability scanning, compliance reporting, or automated SBOM publishing.
An SBOM inventories software components and dependencies, typically in formats such as SPDX or CycloneDX, to help with vulnerability management, software supply-chain security, and compliance.
Recommended tools
1. Anchore Syft — best for filesystems and container images
(Best starting point)
Open-source CLI that inventories packages and libraries from container images, filesystems, directories, and archives. Supports SPDX and CycloneDX and works well in automated build pipelines. Pair it with Grype if you also need vulnerability scanning.
Example:
bashsyft dir:/app -o cyclonedx-json=sbom.json syft registry:example.com/myapp:1.0 \ -o spdx-json=container-sbom.jsonDocs: Syft SBOM guide ·
2. Trivy — best all-in-one security workflow
Generates SBOMs from filesystems and container images, with support for SPDX and CycloneDX. It can also scan for vulnerabilities, making it useful when your pipeline needs both inventory generation and security checks.
bashtrivy fs --format cyclonedx \ --output filesystem-sbom.json . trivy image --format spdx-json \ --output image-sbom.json myapp:latestDocs:
3. cdxgen — best for application source code and dependencies
Particularly useful for generating application-level SBOMs across many programming languages and package ecosystems. It supports source repositories, container images, and binary artifacts, and integrates with CI/CD workflows.
bashcdxgen -o bom.json .Docs:
4. Docker Scout — best for Docker-centric workflows
Generates an SBOM from container images, local directories, files, and archives. A convenient option if your builds already use Docker tooling, although it is less of a universal filesystem-and-application inventory solution than combining Syft and cdxgen.
Docs:
5. Microsoft SBOM Tool — best for SPDX-focused build pipelines
An option for generating SPDX SBOMs from build outputs and package manifests, particularly in environments standardized around Microsoft development and build tooling.
Project:
Which should you choose?
Requirement Recommended tool Filesystems, container images, and archives Syft SBOM generation plus vulnerability scanning Trivy Application dependencies across many languages cdxgen Docker-native workflows Docker Scout SPDX-oriented build compliance Microsoft SBOM Tool My recommendation is to start with Syft + cdxgen, or use Trivy alone if you want to combine SBOM generation and security scanning in a single CLI. These are complementary approaches rather than strict alternatives.
Example CI/CD integration
For example, a pipeline could generate an SBOM for both the application source and the final container image:
bash# Application dependencies cdxgen -o application-sbom.json . # Filesystem inventory syft dir:/app \ -o cyclonedx-json=filesystem-sbom.json # Final container image syft myapp:latest \ -o cyclonedx-json=container-sbom.jsonRun these after dependencies are installed and the container image is built, then publish the SBOM files as CI artifacts or attach them to the corresponding release. Pin tool versions and validate the output in your pipeline.
One important distinction: a filesystem scan inventories the packages it can detect in that filesystem; it does not necessarily identify every application or dependency. For the best coverage, combine filesystem or image scanning with source-level dependency analysis.
One question to narrow this down: Which CI/CD platform are you using — GitHub Actions, GitLab CI, Jenkins, Azure DevOps, or something else? I can suggest a concrete integration for your environment.
Pages cited in this answer 11
- oss.anchore.comSBOM Generation | Anchore Open Source
- github.comsyft/README.md at main · anchore/syft · GitHub
- github.comGitHub - anchore/syft: CLI tool and library for generating a Software Bill of Materials from container images and filesystems · GitHub
- trivy.devSBOM - Trivy
- github.comtrivy/docs/guide/supply-chain/sbom.md at main · aquasecurity/trivy · GitHub
- github.comGitHub - cdxgen/cdxgen: Creates CycloneDX Bill of Materials (BOM) for your projects from source and container images. Supports many languages and package managers. Integrate in your CI/CD pipeline with automatic submission to Dependency Track server · GitHub
- owasp.github.ioOWASP cdxgen | OWASP Foundation
- github.comGitHub - cdxgen/cdxgen: Creates CycloneDX Bill of Materials (BOM) for your projects from source and container images. Supports many languages and package managers. Integrate in your CI/CD pipeline with automatic submission to Dependency Track server · GitHub
- docs.docker.comdocker scout sbom | Docker Docs
- owasp.github.ioSoftware Bill of Materials (SBOM) - OWASP DevSecOps Guideline
- github.comGitHub - microsoft/sbom-tool: The SBOM tool is a highly scalable and enterprise ready tool to create SPDX 2.2 compatible SBOMs for any variety of artifacts. · GitHub
ChatGPTNov 27, 2026
For your requirements, I would focus on SBOM generators that integrate directly into CI/CD pipelines, rather than platforms that only manage or analyze SBOMs after they have been generated.
There are several strong options. The important distinction is whether a tool can inventory all three layers:
- Container images: OS packages, application dependencies, and installed libraries.
- Filesystems: Directories, build artifacts, binaries, and packaged applications.
- Application source code: Direct and transitive dependencies, package manifests, lockfiles, and language-specific components.
I would shortlist Anchore Syft, Aqua Trivy, CycloneDX cdxgen, Microsoft SBOM Tool, and Anchore Enterprise.
1. Tools worth evaluating
1. Anchore Syft
(Best overall starting point)
- Container images: Yes
- Filesystems/directories: Yes
- Application source code: Yes
- Formats: SPDX, CycloneDX, Syft JSON
- CI/CD: GitHub Actions, GitLab CI, Jenkins, Azure DevOps and other runners.
Syft is an open-source generator with broad language and operating-system package coverage. It can scan images, directories, and archives. It also integrates with Grype for vulnerability analysis.
Best for: Teams wanting a standalone, flexible SBOM generator without vendor lock-in.
Links: GitHub ·
2. Aqua Trivy
(Best all-in-one security scanner)
- Container images: Yes
- Filesystems: Yes
- Application repositories: Yes
- Formats: SPDX, CycloneDX
- CI/CD: GitHub Actions, GitLab, Jenkins and other CI environments.
Trivy combines SBOM generation with vulnerability scanning, secret detection, license detection, and infrastructure-as-code scanning.
It is particularly attractive if you want to avoid maintaining multiple security tools in your pipeline.
Best for: DevSecOps teams wanting SBOM generation and security scanning together.
Links: GitHub ·
trivy.devwww.containerscanning.com
3. CycloneDX cdxgen
(Best for application source code)
- Container images: Yes
- Filesystems and binaries: Yes
- Application source code: Yes
- Formats: Primarily CycloneDX; also SPDX export
- CI/CD: GitHub Actions, GitLab, Jenkins and other CI environments.
Supports a broad range of programming languages, including Java, JavaScript, Python, Go, Rust, PHP, .NET, and C/C++.
Particularly useful for understanding application-level dependencies and dependency relationships.
Best for: Organizations with multiple programming languages and complex application dependency trees.
Links: GitHub ·
4. Microsoft SBOM Tool
- Container images: Depends on build artifact inputs and workflow
- Filesystems/build outputs: Yes
- Application source code: Yes
- Format: SPDX 2.2
- CI/CD: GitHub Actions and Azure DevOps.
A scalable generator designed for build artifacts and source repositories. It is especially relevant for organizations standardized on Microsoft development tooling.
Best for: Azure DevOps environments and organizations requiring SPDX output.
Links: GitHub ·
5. Anchore Enterprise
(Enterprise platform)
- Container images: Yes
- Filesystems: Yes, through its Syft-based generation workflows
- Application components: Yes
- Formats: SPDX and CycloneDX through its underlying tooling
- CI/CD: Pipeline and centralized scanning integrations.
Goes beyond SBOM creation with centralized SBOM management, vulnerability analysis, compliance reporting, and policy enforcement.
Best for: Organizations that need centralized governance, reporting, and security controls across multiple pipelines.
Links: Product ·
2. Capability comparison
The following is a practical comparison of their primary generation capabilities, rather than a guarantee that every package type will be detected in every project.
Tool Container images Filesystems Source code SBOM formats Syft (Yes) (Yes) (Yes) SPDX, CDX Trivy (Yes) (Yes) (Yes) SPDX, CDX cdxgen (Yes) (Yes) (Yes) CDX, SPDX export Microsoft SBOM Tool Build-dependent (Yes) (Yes) SPDX Anchore Enterprise (Yes) (Yes) (Yes) SPDX, CDX CDX = CycloneDX.
A useful additional option is Docker BuildKit SBOM attestations. Rather than scanning an image after the build, BuildKit can generate an SPDX SBOM during the build and attach it to the resulting container image. This is particularly useful for container supply-chain provenance.
3. Complementary tools for SBOM management
Generating an SBOM is only one part of the process. You may also want a centralized service to ingest SBOMs, track vulnerabilities, and monitor changes over time.
Two worth considering:
- OWASP Dependency-Track – Open-source platform for ingesting SBOMs, monitoring component vulnerabilities, and enforcing security policies. It complements Syft, Trivy, and cdxgen rather than replacing them. Website.
- FOSSA – Commercial platform focused on dependency analysis, license compliance, and vulnerability management. Website.
4. Recommended CI/CD architecture
For comprehensive coverage, I would not necessarily rely on one generator. I would consider combining source-level analysis with final-artifact analysis.
Source code repository
Java · Python · Go · JavaScript · .NET
Source-level SBOM generation
cdxgen / Syft
(CycloneDX / SPDX)
Build and package application
Container image and filesystem scanning
Syft / Trivy / BuildKit
(Artifact SBOM)
SBOM aggregation and security analysis
Dependency-Track / Anchore Enterprise
- Vulnerability monitoring
- License compliance
- Policy enforcement
- Component tracking
Release approval and artifact publication
This approach provides two complementary views: what the application depends on at source level, and what is actually present in the deployed artifact.
5. My recommendations
Requirement My recommendation Best free standalone generator Syft Best integrated security scanner Trivy Best application dependency analysis cdxgen Best Azure-oriented SPDX generator Microsoft SBOM Tool Best enterprise SBOM platform Anchore Enterprise Best open-source SBOM management Dependency-Track One important consideration: SBOM completeness varies by scanning method. A filesystem scan may identify installed packages but miss dependencies that are not represented in package metadata. Similarly, source-level scanning and container-image scanning answer different questions.
6. A few questions to narrow the shortlist
I can make a much more useful recommendation if I understand your environment.
1. Which CI/CD platform are you using?
2. Where must the tooling run?
3. What is your licensing preference?
4. Which SBOM formats do you require?
5. Which artifacts must be covered?
Select all that apply.
[Submit requirements]
With these answers, I can narrow this down to 3–5 tools and provide a feature-by-feature comparison, including CI/CD integration, deployment model, licensing, SBOM accuracy, and vulnerability-management capabilities.
Pages cited in this answer 20
- github.comGitHub - anchore/syft: CLI tool and library for generating a Software Bill of Materials from container images and filesystems · GitHub
- anchore.comSyft by Anchore: The Open Source SBOM Generator
- github.comGitHub - aquasecurity/trivy: Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more · GitHub
- trivy.devTrivy
- trivy.devSBOM - Trivy
- containerscanning.comContainer Scanning Tools Comparison | ContainerScanning.com
- github.comGitHub - cdxgen/cdxgen: Creates CycloneDX Bill of Materials (BOM) for your projects from source and container images. Supports many languages and package managers. Integrate in your CI/CD pipeline with automatic submission to Dependency Track server · GitHub
- cyclonedx.orgCycloneDX Bill of Materials Standard | CycloneDX
- github.comGitHub - cdxgen/cdxgen: Creates CycloneDX Bill of Materials (BOM) for your projects from source and container images. Supports many languages and package managers. Integrate in your CI/CD pipeline with automatic submission to Dependency Track server · GitHub
- github.comcdxgen/docs/CLI.md at master · cdxgen/cdxgen · GitHub
- github.comGitHub - microsoft/sbom-tool: The SBOM tool is a highly scalable and enterprise ready tool to create SPDX 2.2 compatible SBOMs for any variety of artifacts. · GitHub
- anchore.comSoftware Supply Chain Management Platform | Anchore Enterprise
- docs.anchore.comAnchore Enterprise Product Documentation
- docs.anchore.comAnchore Enterprise Capabilities | Anchore Enterprise Product Documentation
- docs.docker.comSBOM attestations | Docker Docs
- docs.docker.comBuild attestations | Docker Docs
- dependencytrack.orgDependency-Track | Software Bill of Materials (SBOM) Analysis | OWASP
- fossa.comFOSSA - Control Your Software Supply Chain
- owasp.github.ioSoftware Bill of Materials (SBOM) - OWASP DevSecOps Guideline
- github.comDevSecOpsGuideline/current-version/2-Process/2-3-Build/2-3-6-Supply-Chain-Security/2-3-6-1-SBOM.md at master · OWASP/DevSecOpsGuideline · GitHub
Google AI ModeNov 27, 2026
To generate Software Bill of Materials (SBOMs) covering application code, filesystems, and container images within a CI/CD pipeline, the most effective approach is to combine a dedicated SBOM generation engine (like
[Highlight start] Syft or Trivy) with your automation orchestrator (GitHub Actions, GitLab CI, Jenkins, etc.) [Highlight end].The top tools capable of spanning code, filesystems, and containers are outlined below:
Top SBOM Generation Engines (CLI & CI/CD Native)
- Anchore Syft
- Targets: Container images, filesystems, directories, archives, and OCI layouts.
- Output Formats: CycloneDX (JSON/XML), SPDX (Tag-Value/JSON), and Syft JSON.
- CI/CD Integration: Easily run via official GitHub Actions, CLI in GitLab/Jenkins, or as a container step. Focused strictly on inventory generation rather than vulnerability scanning (often paired with its sibling, Grype).
- Learn more: Anchore Syft on GitHub / Raven Blog GuideAnchore Syft on GitHub / Raven Blog Guide.
- Aqua Security Trivy
- Targets: Container images, filesystems, git repositories, virtual machine images, and archives.
- Output Formats: CycloneDX and SPDX.
- CI/CD Integration: All-in-one tool that can generate the SBOM and perform vulnerability/misconfiguration/license scanning in a single pipeline command. Great if you want policy enforcement alongside generation.
- Learn more: Trivy Documentation.
- AppThreat cdxgen
- Targets: Source code repositories (language-specific lockfiles/manifests), container images, and filesystems.
- Output Formats: CycloneDX (primary/deep focus).
- CI/CD Integration: Deep language-ecosystem support (Node.js, Python, Java, Go, Rust, .NET, Ruby, PHP) that parses deep dependency trees directly from source code and binaries.
- Learn more: cdxgen overviewcdxgen overview.
How They Map to Code, Filesystems, and Containers
Tool Source Code / Repos Filesystems / Dirs Container Images Main Output Formats Anchore Syft ✓✓✓ (via dir scan) ✓✓✓ ✓✓✓ CycloneDX, SPDX, Syft JSON Aqua Trivy ✓✓✓ (via repo scan) ✓✓✓ ( trivy fs)✓✓✓ ( trivy image)CycloneDX, SPDX AppThreat cdxgen ✓✓✓ (deep manifest) ✓✓✓ ✓✓✓ CycloneDX Example CI/CD Workflow (GitHub Actions / GitLab CI style)
Instead of a monolithic tool, modern pipelines typically chain a generation step right into the build:
yaml# Conceptual step using Syft in CI/CD - name: Generate SBOM for Application Code / Filesystem run: syft dir:. --output cyclonedx-json=sbom-code.json - name: Generate SBOM for Built Container Image run: syft my-registry/my-app:latest --output cyclonedx-json=sbom-container.jsonIf you'd like, let me know:
- Which CI/CD platform you are using (GitHub Actions, GitLab CI, Jenkins, etc.)
- Whether you also need vulnerability matching or policy gating attached to the SBOM step
I can write out a complete, copy-pasteable pipeline configuration for your stack.
Pages cited in this answer 4
What's a good tool for creating a software bill of materials (SBOM) from our CI/CD pipeline to meet compliance?
Summary
Syft is the usual answer for generating compliant SBOMs directly from CI/CD pipelines, alongside mentions of Trivy.
What is the best tool for creating and managing a software bill of materials (SBOM) to meet compliance requirements?
Summary
OWASP Dependency-Track is recommended most when teams need to manage and monitor compliance inventories over time.
Since Sep 28Data through Nov 27, 2026Based on 61 AI answers
For agents: this page as Markdown, https://parse.gl/topics/sbom-generation-for-ci-cd-pipelines.md. JSON, MCP · free for the last 90 days, checks from $0.01
This page
Read and search
Connect
npx -y parse-gl check <domain>Copy the CLI commandAn agent can save work before signup: POST https://agent.parse.gl/v1/workspaces
What it costs
Prices: https://parse.gl/pricing.md
Map of the site: https://parse.gl/llms.txt