Repository navigation
ci(sbom): CycloneDX SBOM artifacts + job-scoped audit token (OSTIF T-10, T-20) - #85
Merged
Merged
Conversation
…oken (OSTIF T-10, T-20) - New sbom.yml (weekly + on lockfile change): cargo-cyclonedx binary SBOMs with --target all (so the Linux-only GTK stack incl. vendored glib is represented on any runner), the desktop frontend via npm sbom from the lockfile, uploaded as a 90-day artifact. Not a PR gate; release attachment waits on the deferred release pipeline (T-24). - .github/scripts/annotate_sbom_glib.py records the in-tree glib patch as CycloneDX pedigree (backport resolving RUSTSEC-2024-0429, diff URL → PROVENANCE.md) so version-keyed consumers don't misread the patched fork as unpatched upstream (audit G-033). Fails loudly when glib leaves the tree. Verified locally end-to-end. - audit.yml: checks:write + issues:write moved from workflow level to the job (Scorecard Token-Permissions; audit T-20/G-025). - .gitignore: generated *.cdx.json never committed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Executes T-10 (G-005/G-033) and the workflow half of T-20 (G-025) from the OSTIF audit (#76):
scbinary (all target platforms), desktop binary, desktop npm frontend (from lockfile).--target allkeeps the Linux GTK stack (incl. vendored glib) represented regardless of runner OS.checks:write/issues:writemoved from workflow-level to job-level (Scorecard Token-Permissions finding, alert Disposition: protected-path equality leak (ADR-0014) #5).All actions SHA-pinned, no event interpolation,
contents: readeverywhere.