export_sbom
Run all scanners to produce a software bill of materials (SBOM) in CycloneDX or SPDX format, with severity filtering and optional file export.
Instructions
Run all scanners and export an SBOM / vulnerability report.
Produces the supply-chain artifact enterprises expect. In CycloneDX mode, if Syft is installed the component inventory is the full dependency list (not just vulnerable packages); otherwise components are derived from findings. SPDX mode emits an SPDX 2.3 document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_path | Yes | The absolute path to scan. | |
| output_path | No | File path to write the SBOM (empty = return inline). | |
| min_severity | No | Minimum severity to include. | LOW |
| sca_only | No | Include only dependency (SCA) findings (default). Set False to include every finding as a vulnerability entry. | |
| format | No | 'cyclonedx' (default) or 'spdx'. | cyclonedx |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |