Skip to content

release: generate and audit one SBOM per native target with sbom-attest - #524

Open
Mattbusel wants to merge 1 commit into
asdecided:mainfrom
tensorust-ai:deps/sbom-attest-per-target-sbom
Open

Mattbusel wants to merge 1 commit into
asdecided:mainfrom
tensorust-ai:deps/sbom-attest-per-target-sbom

Conversation

@Mattbusel

Copy link
Copy Markdown

The release SBOM is syft's scan of rust/: one file with every Cargo.lock entry, attested for all five archives. Audited against the v0.31.2 build it fails 168 checks: 10 crates the binaries never compile (dev-only sha2/digest, Linux-only inotify in the Windows archive), 69 components without the hash Cargo.lock pins, 86 without a license.

This replaces it with one SBOM per target, generated from cargo tree for decided + decided-mcp (the packages the archives ship), with Cargo.lock hashes and licenses, and audited against the build before it is uploaded and attested. The release job fails if an SBOM does not match. All five pass on the current tree (72/72/69/69/71 components).

Adds sbom-attest 0.4.2 (cargo install, release job only). I maintain sbom-attest.

This branch has not been deployed

No deployments
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