syft

Generate Software Bill of Materials from container images and filesystems

brewmacoslinux
Try with needOr install directly
Source

About

CLI for generating a Software Bill of Materials from container images

Commands

syft

Examples

Generate SBOM for a Docker image in JSON format$ syft nginx:latest -o json > sbom.json
Create SBOM for a local filesystem directory$ syft dir:/path/to/directory -o table
Generate SBOM in SPDX format for a container image$ syft ghcr.io/example/myapp:v1.0 -o spdx-json