1.3 KiB
1.3 KiB
CycloneDX 1.6 to 1.7 migration
Summary
- Default SBOM output is now CycloneDX 1.7 (JSON and Protobuf).
- CycloneDX 1.6 ingestion remains supported for backward compatibility.
- VEX exports include CycloneDX 1.7 fields for ratings, sources, and affected versions.
What changed
specVersionis emitted as1.7.- Media types include explicit 1.7 versions:
application/vnd.cyclonedx+json; version=1.7application/vnd.cyclonedx+protobuf; version=1.7
- VEX documents may now include:
vulnerability.ratings[]with CVSS v4/v3/v2 metadatavulnerability.sourcewith provider and PURL/URL referencevulnerability.affects[].versions[]entries
Required updates for consumers
- Update Accept and Content-Type headers to request or send CycloneDX 1.7.
- If you validate against JSON schemas, switch to the CycloneDX 1.7 schema.
- Ensure parsers ignore unknown fields for forward compatibility.
- Update OCI referrer media types to the 1.7 values.
Compatibility notes
- CycloneDX 1.6 SBOMs are still accepted on ingest.
- CycloneDX 1.7 is the default output on Scanner and export surfaces.
References
- CycloneDX 1.7 specification: https://cyclonedx.org/docs/1.7/
- Scanner architecture:
docs/modules/scanner/architecture.md - SBOM service architecture:
docs/modules/sbomservice/architecture.md