generate_sbom
Create Software Bill of Materials from package manifests and lockfiles for compliance audits, outputting CycloneDX, SPDX, or JSON with license warnings.
Instructions
Generate a Software Bill of Materials (SBOM) from package manifests and lockfiles. Supports npm, Composer, pip, Go, Cargo, Bundler, Maven. Outputs CycloneDX, SPDX, or plain JSON. Includes license compliance warnings for copyleft licenses. Use for supply chain audits or compliance reports. Returns JSON/CycloneDX/SPDX: { components: [{ name, version, license, type }], warnings }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default: json) | |
| include_dev | No | Include devDependencies (default: false) | |
| include_transitive | No | Include transitive dependencies (default: true) |