Use this action to generate a software bill of materials (SBOM) from a container image or filesystem with the open-source Syft scanner from Anchore. Generate SBOMs to provide dependency visibility.
| Input name | Data type | Required? | Description | ||
|---|---|---|---|---|---|
|
String |
Yes |
The path of the binary to be scanned.
|
In your YAML file, add:
- name: Generate an SBOM with Syft
uses: cloudbees-io/syft-sbom-plugin@v1
with:
binary-tar-path: /path/to/binary.tarThis code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.