cyclonedx-gomod

Generate CycloneDX Software Bill of Materials from Go modules

brewmacoslinux
Try with needOr install directly
Source

About

Creates CycloneDX Software Bill of Materials (SBOM) from Go modules

Commands

cyclonedx-gomod

Examples

Generate SBOM for current Go module in JSON format$ cyclonedx-gomod mod -json -output sbom.json
Generate SBOM in XML format for a specific module$ cyclonedx-gomod mod -xml -output sbom.xml ./path/to/module
Generate SBOM and output to stdout in JSON format$ cyclonedx-gomod mod -json