/gh-python-generate-sbom

GitHub action to generate a CycloneDX SBOM for Python

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Website Slack Invite Group Discussion Twitter

GitHub action to generate a CycloneDX SBOM for Python

Inputs

input

The path to a pip requirements file, default is "./requirements.txt"

Be sure to quote paths with spaces.

output

Output filename, default is "./bom.xml"

Be sure to quote paths with spaces.

format

Output format, one of "json"/"xml", default is "xml"

Example usage

- name: Generate Python SBOM
  uses: CycloneDX/gh-python-generate-sbom@v2
  with:
    input: ./requirements.txt
    output: ./bom.json
    format: json