Skip to content

joshjohanning/generate-org-repos-sbom-action

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

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@v3
  - uses: joshjohanning/generate-org-repos-sbom-action@v1
    with:
      token: ${{ secrets.GITHUB_PAT }}
      org: ${{ github.repository_owner }}
  - uses: actions/upload-artifact@v3
    with:
      name: sbom
      path: sbom-*.json

About

An Action to wrap creating an SBOM via REST API

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.9%
  • JavaScript 5.1%