Skip to content

chore(sbom): regenerate sbom.cdx.json deterministically - #1086

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/sbom-deterministic
Nov 11, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
chore/sbom-deterministic

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Regenerates the root sbom.cdx.json with hydra scripts/regen-sbom.sh (hydra#782, #783), so it is deterministic: no serialNumber, no metadata.timestamp, and composer's root version pinned instead of the branch name and commit sha. From now on the file only changes when composer.lock or package-lock.json does, and hydra diff-check.sh fails a lockfile change that does not regenerate it.

680 components, the same component list.

Verified locally: regen-sbom.sh --check passes and a second run leaves the file byte-identical; hydra diff-check has no finding on this change (only sbom.cdx.json changed, the maintainability floor holds).

AI assistance: written with Claude Code.

🤖 Generated with Claude Code

Generated with hydra scripts/regen-sbom.sh: no serial number or
timestamp, and composer's root version pinned, so the file only
changes when a lockfile does.

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde merged commit f6bbfa7 into development Nov 11, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant