vibgrate sbom — Export & Compare SBOMs

Export CycloneDX or SPDX SBOMs from scan artifacts, and compare dependency deltas between two scans for supply-chain governance.

Vibgrate Docs

Vibgrate Help

Usage

# Export an SBOM
vibgrate sbom export [--in <file>] [--format cyclonedx|spdx] [--out <file>]

# Compare two artifacts
vibgrate sbom delta --from <file> --to <file> [--out <file>]

What It Does

The vibgrate sbom command family treats SBOMs as operational intelligence rather than static compliance output.

sbom export

Emits a standards-based SBOM (CycloneDX or SPDX) from an existing scan artifact. This integrates with your organization's existing SBOM governance pipelines.

sbom delta

Compares dependencies between two scan artifacts and produces a diff: packages added, removed, changed, plus the drift score delta.

Flags — export

FlagDefaultDescription
--in.vibgrate/scan_result.jsonInput scan artifact
--formatcyclonedxSBOM format: cyclonedx or spdx
--outstdoutOutput file path

Flags — delta

FlagDescription
--fromFirst (older) scan artifact
--toSecond (newer) scan artifact
--outOutput file path

Examples

Export CycloneDX SBOM

vibgrate sbom export --format cyclonedx --out sbom.cdx.json

Export SPDX SBOM

vibgrate sbom export --format spdx --out sbom.spdx.json

Compare two scans

vibgrate sbom delta \
  --from .vibgrate/baseline.json \
  --to .vibgrate/scan_result.json \
  --out dependency-changes.json

Use Cases

  • Compliance: Generate SBOMs required by procurement or regulatory teams
  • Audit: Track which dependencies changed between releases
  • Supply chain: Feed SBOM data into vulnerability management tools like Dependency-Track or Grype
  • Change management: Use sbom delta to review dependency changes before merging large upgrade PRs

Related Commands