https://github.com/advanced-security/generate-sbom-action
An Action to wrap creating an SBOM via REST API
https://github.com/advanced-security/generate-sbom-action
Last synced: 12 days ago
JSON representation
An Action to wrap creating an SBOM via REST API
- Host: GitHub
- URL: https://github.com/advanced-security/generate-sbom-action
- Owner: advanced-security
- License: mit
- Created: 2023-04-12T19:43:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T20:34:03.000Z (about 1 month ago)
- Last Synced: 2025-04-05T10:01:32.657Z (about 1 month ago)
- Language: TypeScript
- Size: 1.61 MB
- Stars: 18
- Watchers: 2
- Forks: 4
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# 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:
```yaml
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 }}
```