SBOM examples: compare two CycloneDX JSON files
Download two fictional releases of Atlas. Use the known differences to test inventory comparison, dependency relationships and supplier acceptance.
Sample SBOM downloads
Atlas 1.0 JSON ↓ Atlas 1.1 JSON ↓Each file describes one application and its direct library dependencies in CycloneDX 1.6. The identifiers and organizations are fictional. These small fixtures omit real artifact digests and license data. They are unsuitable as production attestations.
| Library | Release 1.0 | Release 1.1 | Expected finding |
|---|---|---|---|
| render-core | 2.1 | 2.2 | Version changed |
| ledger-db | 3.0, supplier recorded | 3.0, supplier omitted | Supplier field lost |
| queue-kit | Absent | 1.0 | New dependency |
What should an SBOM diff report?
Match the fictional libraries by stable bom-ref. Compare version and supplier independently. Then inspect the root dependency list. Release 1.1 adds one component and one edge. A comparator that only counts packages misses the lost supplier field.
Format validity and acceptance
A buyer can require a supplier for every library even when a format permits omission. Under that profile, flag ledger-db in 1.1 for clarification. In real inventories, references may change across releases. Confirm identity using ecosystem, namespace and package identifiers before declaring an addition or removal.
CycloneDX specification overview ↗ · Validation guide · Apply a receiving profile