Skip to main content
Version: v0.19.0

sbom

The sbom analyzer generates a Software Bill of Materials (SBOM) for container images using Trivy.

Overview

Functionality

This analyzer produces a standard CycloneDX JSON SBOM. It identifies:

  • OS Packages: Version and source (e.g., APK, DPKG, RPM).
  • Application Bundles: Language-specific libraries (e.g., NPM, Pip, Go modules).
  • Licenses: Extracting license identifiers for each component.
  • Copyleft Licenses: Pre-computed subset of licenses known to be copyleft (GPL, AGPL, LGPL, MPL, EPL, CDDL, EUPL, SSPL). Used by the license-blocklist rule.
  • Dependencies: Mapping relationships between components.