feat(sbom): CycloneDX 1.6 export with BSI TR-03183-2 properties (#508, part A) #509

Merged
sharang merged 1 commits from feat/508-cdx16-bsi into main 2026-10-06 14:23:41 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 4c9ea58fe9 feat(sbom): CycloneDX 1.6 export with BSI TR-03183-2 properties (#508, part A)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 8m13s
- CycloneDX 1.6 for the SBOM and the CycloneDX VEX, validated against the
  vendored 1.6 schema (replaces 1.5; the 1.6 SPDX licence list).
- metadata.manufacturer: BreakPilot GmbH, kontakt@breakpilot.com, the SBOM's
  creator (decided by the user). metadata.component: the target by its name
  (the export used repo-<id>), with a purl and, as its version, when its SBOM
  data was last compiled (the TR's rule for a component without a version).
- Registry packages get bsi:component:filename from their purl (npm, Maven
  with type/classifier, NuGet, Cargo, gems, Hex) and executable/archive/
  structured as for the TR's rpm example. Others get none.
- Dependency graph: the product depends on every component, each has its own
  entry; compositions states it incomplete (the SBOM is flat).
- Licences carry acknowledgement "declared". group is the purl namespace,
  not the package manager.
- compliance_core::purl: a small purl parser.
- Tests: schema validation with the new fields; an #[ignore] test scoring the
  document with sbomqs (bsi-v2.1: 0.93 F before #498, 6.67 D now).
- Docs: the export's fields and what stays open and why. Test plan check 27.

Still open (part B): component creator URLs, SHA-512 deployable hashes and
download URLs from lockfiles, committed binaries.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-06 16:14:14 +02:00