Skip to content

advanced-security/generate-sbom-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

test status

Generate SBOM Action

This action uses the REST API call to generate the SBOM for the repo (on the default branch). You can then use the fileName output to upload the file as an artifact.

Usage

You can use the workflow as follows:

gen-sbom:
  runs-on: ubuntu-latest
  steps:
  - uses: actions/checkout@v4
  - uses: advanced-security/generate-sbom-action@v1
    id: gensbom
  - uses: actions/upload-artifact@v4
    with:
      name: sbom
      path: ${{ steps.gensbom.outputs.fileName }}

About

An Action to wrap creating an SBOM via REST API

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published