Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 months ago
JSON representation

An Action to wrap creating an SBOM via REST API

Awesome Lists containing this project

README

        


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:

```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 }}
```