Part A of #508: the CycloneDX document's shape, built to BSI TR-03183-2 v2.1.0 (2025-08-20). Part B (agent data capture) follows.
What
Format: CycloneDX 1.6 for the SBOM export, the evidence pack, MCP get_sbom, and the CycloneDX VEX. Validated against the vendored 1.6 schema, which replaces 1.5.
SBOM creator:metadata.manufacturer = BreakPilot GmbH, contact kontakt@breakpilot.com, as the user decided. The TR prefers an email, and its CDX mapping takes URL XOR email.
Product:metadata.component is the target by its name (the export used to say repo-<id>). It carries a purl, and its version is the time its SBOM data was last compiled. That's the TR's rule for a component without a version.
bsi:component:* on registry packages:
filename is taken from the purl for npm, Maven (honouring type/classifier), NuGet, Cargo, gems and Hex;
executable/archive/structured = non-executable/archive/structured, as in the TR's rpm example (Table 7);
PyPI, Go and components without a purl get none of them.
Dependencies: the product depends on every component, and each component has an empty entry (CycloneDX asks for one). compositions states the graph is incomplete, because the SBOM is flat.
Licences:acknowledgement: declared, as the user decided. group is now the purl namespace, not the package manager.
New module:compliance_core::purl, a small purl parser that part B reuses.
Score (sbomqs 2.1.2, bsi-v2.1)
The test document went from 0.93 F (the 1.5 export) to 6.67 D.
At 8/10: the file properties and declared licences. The only miss is the product: it's a logical component in the TR's terms (§3.2.2), which needs no file properties, but sbomqs counts it like a file.
Open, with the reason documented in docs/guide/sbom.md:
component creator: part B;
SHA-512 deployable hash and download URL: part B, from npm/NuGet lockfiles; Cargo, Python and Maven have only SHA-256;
distribution licence (concluded): the manufacturer's decision.
Tests
vex_schemas: 1.6 validity plus the new fields.
sbom_bsi (#[ignore], needs sbomqs): asserts the checks above.
purl parser unit tests.
clippy -D warnings for core, agent, MCP and dashboard.
Targeted agent tests (evidence, sbom_quality).
Test plan check 27, marked [visible]. Stage only; no tag.
Part A of #508: the CycloneDX document's shape, built to BSI TR-03183-2 v2.1.0 (2025-08-20). Part B (agent data capture) follows.
## What
- **Format:** CycloneDX **1.6** for the SBOM export, the evidence pack, MCP `get_sbom`, and the CycloneDX VEX. Validated against the vendored 1.6 schema, which replaces 1.5.
- **SBOM creator:** `metadata.manufacturer` = BreakPilot GmbH, contact `kontakt@breakpilot.com`, as the user decided. The TR prefers an email, and its CDX mapping takes URL XOR email.
- **Product:** `metadata.component` is the target by its name (the export used to say `repo-<id>`). It carries a purl, and its version is the time its SBOM data was last compiled. That's the TR's rule for a component without a version.
- **`bsi:component:*` on registry packages:**
- `filename` is taken from the purl for npm, Maven (honouring `type`/`classifier`), NuGet, Cargo, gems and Hex;
- `executable`/`archive`/`structured` = `non-executable`/`archive`/`structured`, as in the TR's rpm example (Table 7);
- PyPI, Go and components without a purl get none of them.
- **Dependencies:** the product depends on every component, and each component has an empty entry (CycloneDX asks for one). `compositions` states the graph is `incomplete`, because the SBOM is flat.
- **Licences:** `acknowledgement: declared`, as the user decided. `group` is now the purl namespace, not the package manager.
- **New module:** `compliance_core::purl`, a small purl parser that part B reuses.
## Score (sbomqs 2.1.2, bsi-v2.1)
The test document went from 0.93 F (the 1.5 export) to **6.67 D**.
**Met:** spec version, creator, timestamp, SBOM-URI, name, version, dependencies, identifiers.
**At 8/10:** the file properties and declared licences. The only miss is the product: it's a logical component in the TR's terms (§3.2.2), which needs no file properties, but sbomqs counts it like a file.
**Open, with the reason documented in `docs/guide/sbom.md`:**
- component creator: part B;
- SHA-512 deployable hash and download URL: part B, from npm/NuGet lockfiles; Cargo, Python and Maven have only SHA-256;
- distribution licence (`concluded`): the manufacturer's decision.
## Tests
- `vex_schemas`: 1.6 validity plus the new fields.
- `sbom_bsi` (`#[ignore]`, needs sbomqs): asserts the checks above.
- purl parser unit tests.
- clippy `-D warnings` for core, agent, MCP and dashboard.
- Targeted agent tests (evidence, sbom_quality).
Test plan check 27, marked [visible]. Stage only; no tag.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
- 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
sharang
merged commit 1923a6c433 into main2026-10-06 14:23:41 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part A of #508: the CycloneDX document's shape, built to BSI TR-03183-2 v2.1.0 (2025-08-20). Part B (agent data capture) follows.
What
get_sbom, and the CycloneDX VEX. Validated against the vendored 1.6 schema, which replaces 1.5.metadata.manufacturer= BreakPilot GmbH, contactkontakt@breakpilot.com, as the user decided. The TR prefers an email, and its CDX mapping takes URL XOR email.metadata.componentis the target by its name (the export used to sayrepo-<id>). It carries a purl, and its version is the time its SBOM data was last compiled. That's the TR's rule for a component without a version.bsi:component:*on registry packages:filenameis taken from the purl for npm, Maven (honouringtype/classifier), NuGet, Cargo, gems and Hex;executable/archive/structured=non-executable/archive/structured, as in the TR's rpm example (Table 7);compositionsstates the graph isincomplete, because the SBOM is flat.acknowledgement: declared, as the user decided.groupis now the purl namespace, not the package manager.compliance_core::purl, a small purl parser that part B reuses.Score (sbomqs 2.1.2, bsi-v2.1)
The test document went from 0.93 F (the 1.5 export) to 6.67 D.
Met: spec version, creator, timestamp, SBOM-URI, name, version, dependencies, identifiers.
At 8/10: the file properties and declared licences. The only miss is the product: it's a logical component in the TR's terms (§3.2.2), which needs no file properties, but sbomqs counts it like a file.
Open, with the reason documented in
docs/guide/sbom.md:concluded): the manufacturer's decision.Tests
vex_schemas: 1.6 validity plus the new fields.sbom_bsi(#[ignore], needs sbomqs): asserts the checks above.-D warningsfor core, agent, MCP and dashboard.Test plan check 27, marked [visible]. Stage only; no tag.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p