sbomify logo

18 ecosystems 4 generators · 12 enrichment sources

Plug sbomify into the pipeline you already run

Generate SBOMs in CI, scan them with Google OSV and Dependency-Track, and fill in licences and supplier details for every component. One action, on every major CI system.

Works with
Setup wizard

Set up in one command. No YAML to hand-write.

Run the wizard from the root of your repository. No tokens to copy.

  • Scans your lockfiles and creates your products and components.
  • Registers OIDC trusted publishing, so CI uploads without a long-lived secret.
  • Writes a ready-to-commit workflow at .github/workflows/sboms.yml.

How the setup wizard works

Terminal
docker run --rm -it \
  -v "$(pwd):/github/workspace" \
  -w /github/workspace \
  ghcr.io/sbomify/sbomify-action \
  sbomify-action wizard
CI/CD and generation

Every major CI system. The same action.

Generate an SBOM on every build. Use the GitHub Action, the multi-arch Docker image anywhere else, or the CLI on your own machine.

GitHub Actions DocsMarketplace

The sbomify Action supports OIDC trusted publishing, so no long-lived token secret is needed.

.github/workflows/sbom.yml
permissions:
  id-token: write  # OIDC trusted publishing, no token needed

steps:
  - name: Upload SBOM
    uses: sbomify/sbomify-action@master
    env:
      COMPONENT_ID: 'my-component-id'
      LOCK_FILE: 'requirements.txt'
      COMPONENT_NAME: 'my-awesome-app'
      COMPONENT_VERSION: ${{ github.ref_name }}
      AUGMENT: true
      ENRICH: true

Prefer token auth, or using another CI system? Set TOKEN: ${SBOMIFY_TOKEN} instead.

GitLab CI DocsGitHub

Use the Docker image directly, with built-in caching.

.gitlab-ci.yml
generate-sbom:
  image: ghcr.io/sbomify/sbomify-action
  cache:
    key: sbomify-cache
    paths:
      - .sbomify-cache/
  variables:
    SBOMIFY_CACHE_DIR: "${CI_PROJECT_DIR}/.sbomify-cache/sbomify"
    SYFT_CACHE_DIR: "${CI_PROJECT_DIR}/.sbomify-cache/syft"
    LOCK_FILE: poetry.lock
    OUTPUT_FILE: sbom.cdx.json
    UPLOAD: "false"
    ENRICH: "true"
  script:
    - sbomify-action
Bitbucket Pipelines DocsGitHub

Run the Docker image as a pipe, with built-in caching.

bitbucket-pipelines.yml
pipelines:
  default:
    - step:
        caches:
          - sbomify
        script:
          - pipe: docker://ghcr.io/sbomify/sbomify-action:latest
            variables:
              SBOMIFY_CACHE_DIR: "${BITBUCKET_CLONE_DIR}/.sbomify-cache/sbomify"
              SYFT_CACHE_DIR: "${BITBUCKET_CLONE_DIR}/.sbomify-cache/syft"
              LOCK_FILE: poetry.lock
              OUTPUT_FILE: sbom.cdx.json
              UPLOAD: "false"
              ENRICH: "true"

definitions:
  caches:
    sbomify: .sbomify-cache
Docker DocsGHCR

For any other CI system: a multi-arch (amd64 and arm64) image. Generators are fetched on first use, digest-pinned and cached, so there is nothing to install.

Terminal
# Create persistent cache volume
docker volume create sbomify-cache

docker run --rm \
  -v $(pwd):/github/workspace \
  -v sbomify-cache:/cache \
  -w /github/workspace \
  -e SBOMIFY_CACHE_DIR=/cache/sbomify \
  -e SYFT_CACHE_DIR=/cache/syft \
  -e LOCK_FILE=/github/workspace/requirements.txt \
  -e OUTPUT_FILE=/github/workspace/sbom.cdx.json \
  -e UPLOAD=false \
  -e ENRICH=true \
  ghcr.io/sbomify/sbomify-action
Local CLI DocsPyPI

Run it with uvx or pipx for local development, one-off SBOMs and the setup wizard. Generators are downloaded on first use and cached, as in the Docker image.

Terminal
# Run without installing anything
uvx sbomify-action --lock-file requirements.txt \
  --enrich --no-upload -o sbom.cdx.json

# Or with pipx
pipx run sbomify-action --lock-file requirements.txt \
  --enrich --no-upload -o sbom.cdx.json

# Environment variables work too
export LOCK_FILE=requirements.txt
export ENRICH=true
export UPLOAD=false
uvx sbomify-action
Supported ecosystems

18 ecosystems. Plus containers and Yocto.

Point the action at a lockfile, a container image or a directory, and it picks the right generator.

  • Pythonrequirements.txtpoetry.lockPipfile.lockuv.lockpyproject.toml
  • JavaScriptpackage.jsonpackage-lock.jsonyarn.lockpnpm-lock.yamlbun.lock
  • Javapom.xmlbuild.gradlebuild.gradle.ktsgradle.lockfile
  • Gogo.modgo.sum
  • RustCargo.lock
  • RubyGemfile.lock
  • PHPcomposer.jsoncomposer.lock
  • .NET / C#packages.lock.json
  • SwiftPackage.swiftPackage.resolved
  • Dartpubspec.lock
  • Elixirmix.lock
  • Scalabuild.sbt
  • C++conan.lock
  • Terraform.terraform.lock.hcl
  • Haskellstack.yaml.lockstack.yamlcabal.project.freeze
  • Erlangrebar.lock
  • Clojuredeps.ednproject.clj
  • PlatformIOplatformio.ini
  • Container imagesGenerate SBOMs straight from an image with DOCKER_IMAGE instead of a lockfile. Scans every layer and installed package.
  • Yocto / OpenEmbeddedBatch-process SPDX SBOMs from Yocto builds: extracts .spdx.tar.zst archives, uploads the package SBOMs and tags them with a product release.
SBOM generators

Four generators. The best one picked for you.

Each ecosystem gets the most accurate tool first, with automatic fallback to the next. The lower the priority number, the sooner it is tried.

Priority 10

cyclonedx-py

The native Python generator, and the most accurate for Python.

Python

Priority 10

cargo-cyclonedx

The native Rust generator, and the most accurate for Rust.

Rust

Priority 20

cdxgen

The broadest ecosystem support. The best choice for Java, Gradle and multi-language projects.

Python, JS, Java, Go, Rust, Ruby and 8 more

Priority 35

Syft

Anchore's comprehensive scanner, with CycloneDX and SPDX output, Terraform included.

Python, JS, Go, Terraform, Docker and 7 more

CycloneDX
The default. Versions 1.3 to 1.7, depending on the generator.
SBOM_FORMAT=cyclonedx
SPDX
Versions 2.2, 2.3 and 3.0.1, validated against the official schemas.
SBOM_FORMAT=spdx

Beyond SBOMs, the same pipeline uploads pre-authored VEX, CBOM and HBOM documents as they are, with BOM_TYPE=vex, cbom or hbom.

Vulnerability analysis

Scanned on every release. For the whole support period.

Released SBOMs are checked against two of the most widely used vulnerability sources, for the whole support period, not just at build time.

Google OSV

Precise, distributed vulnerability data from the Open Source Vulnerabilities database, across a wide range of ecosystems.

Every plan: weekly rescans on Community, daily on Business and Enterprise

Dependency-Track

OWASP Dependency-Track for continuous component analysis.

  • Direct upload from CI. The action sends SBOMs straight to your Dependency-Track instance with UPLOAD_DESTINATIONS=dependency-track.
  • Bring your own. Enterprise customers can connect their existing instance for one view of everything.
Enrichment

12 data sources. Licences and suppliers, filled in.

Enrichment adds descriptions, licences, supplier details and lifecycle dates to your components, trying the fastest and most authoritative sources first.

  1. 1

    Pre-computed databases

    Local, with no network calls. Checked first.

    LicenseDB
    Licences for APK, DEB and RPM packages across 28 Linux distribution versions.
    Lifecycle Database
    Release, end-of-support and end-of-life dates (ECMA-428 CLE) for major runtimes and frameworks, from Python and Go to Django and Rails.
  2. 2

    Native registries

    Authoritative data from each ecosystem's official source.

    PyPI
    pkg:pypi
    crates.io
    pkg:cargo
    pub.dev
    pkg:pub
    Debian Sources
    pkg:deb/debian
    Conan Center
    pkg:conan
  3. 3

    Aggregators

    Broad coverage across ecosystems.

    deps.dev
    Google's open source dependency insights, covering most major ecosystems.
    Ecosyste.ms
    Community-driven package metadata and project health.
  4. 4

    Fallbacks

    When the others have no data.

    PURL extraction
    Maps package URL namespaces to suppliers, locally.
    ClearlyDefined
    Community-curated licence and metadata.
    Repology
    Package tracking across Linux distributions.

Turn it on in the action or the CLI with ENRICH=true or --enrich.

Augmentation

Your details on every SBOM. Without editing JSON.

Augmentation adds who made the software and where it came from, from three places.

  • Your sbomify workspace: supplier, manufacturer, authors and declared licence.
  • A local config: override the supplier, authors, licence and VCS details with an sbomify.json in your repository.
  • Your CI environment: the repository URL, commit SHA and branch, detected in GitHub Actions, GitLab CI and Bitbucket Pipelines.

Turn it on with AUGMENT=true or --augment.

Fields addedFrom your workspace and your CI
  • SupplierWorkspace
  • ManufacturerWorkspace
  • AuthorsWorkspace
  • LicenceWorkspace
  • Lifecycle phase
  • Repository URLCI
  • Commit SHACI
  • Branch or refCI

Supplier, authors, licence and VCS details can also come from sbomify.json

Ready when you are

Connect your pipeline in minutes

Run the setup wizard, commit the workflow, and every build uploads an enriched SBOM that is scanned for as long as you support the release.

  • Free to start
  • Open source
  • Cloud or self-hosted