CycloneDX 1.7 + CBOM Export Contract (SC2)

Scope: Defines the deterministic export profile for CycloneDX 1.7 BOMs enriched with Cloud BOM (CBOM) signals that Scanner emits and Replay consumes. Covers ordering, required fields, CBOM properties, hash/DSSE anchoring, and downgrade rules to 1.6.

Profile

Required sections

Ordering rules

  1. Top-level keys: bomFormat, specVersion, serialNumber, version, metadata, services, components, vulnerabilities.
  2. Arrays sorted by name then purl (components/services) and by id for vulnerabilities.
  3. Hash lists sorted by alg; properties sorted by name.
  4. Ratings sorted by method (CVSSv4 first, then CVSSv3.1, then others).

Deterministic hashing

Downgrade to 1.6

Evidence linkage

CI expectations

Fixtures