ci(security): SLSA L2 provenance, quarterly audit, governance amendment flow#12
Draft
bryanfawcett wants to merge 1 commit into
Draft
ci(security): SLSA L2 provenance, quarterly audit, governance amendment flow#12bryanfawcett wants to merge 1 commit into
bryanfawcett wants to merge 1 commit into
Conversation
…nt flow
P0 — Supply-chain security:
- reusable-release.yml: add SHA256SUMS generation and GitHub Artifact
Attestation (SLSA L2) on every release via actions/attest-build-provenance.
Callers must now grant attestations:write. Output `hashes` exposes
base64-encoded SHA-256s for downstream provenance consumers.
- reusable-sbom.yml: print SHA-256 checksum of SBOM artifact to the log
(checksum is also included in the release's SHA256SUMS via the release job).
- reusable-slsa-provenance.yml (new): standalone SLSA L2 workflow for repos
that need provenance outside the full release flow. Attestations are
verifiable with `gh attestation verify`.
P1 — Operational rigour:
- scheduled-settings-audit.yml (new): quarterly scheduled workflow (1 Jan /
1 Apr / 1 Jul / 1 Oct) that opens a GitHub Issue with an audit checklist
to compare ORG_SETTINGS.md against live GitHub state. Idempotent: skips
creation when an open issue for the current quarter already exists.
- .github/audit-issue-body.md (new): issue body template with {{QID}}
placeholder, kept separate to avoid YAML block-scalar indentation issues.
- .github/ISSUE_TEMPLATE/governance_amendment.yml (new): structured form for
proposing amendments to NA-01/NA-02/NA-03/ORG_SETTINGS.md, including
Board-notification acknowledgement and changelog-entry draft.
P0 — ORG_SETTINGS.md fixes:
- Secret scanning non-provider patterns: corrected from "public repos only"
to "Enabled org-wide".
- Actions allowlist: add actions/attest-build-provenance@*.
- New §Artifact provenance and supply-chain security: SLSA posture table,
OpenSSF alignment targets, reusable-workflow versioning and rollback SOP.
- New §OIDC federation: Cloudflare, Fly.io, and AWS/GCP examples replacing
the prose-only "use OIDC federation" note.
- Quarterly audit: updated to reference the new automated scheduled workflow.
P1/P2 — Documentation:
- CONTRIBUTING.md: add §Dependabot PRs (review workflow, major-version and
security-advisory handling, prohibited-dep check) and §Governance amendments
(issue-before-PR requirement, review bar, Board-notification trigger).
- AGENTS.md: add rule requiring a Governance Amendment issue before any
agent proposes changes to governance docs; clarify SHA-comment requirement.
- README.md: add new workflow rows to the reusable-workflows inventory table.
Note: SHA pins for actions/attest-build-provenance and actions/upload-artifact
are best-effort from training data; Dependabot will issue corrected SHA-pin
PRs on the next weekly github-actions update cycle per NA-03 §7.1.1.
https://claude.ai/code/session_018gMESVfRNN1qqndg2LACYx
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.
Summary
Enterprise-grade hardening pass on the governing
.githubrepo, addressing the highest-priority gaps identified in a full audit of all 44 files. Changes are grouped by priority tier.P0 — Supply-chain security (SLSA L2 provenance)
reusable-release.yml— every release now generates aSHA256SUMSfile covering all release assets, then creates a signed GitHub Artifact Attestation (SLSA L2 provenance) viaactions/attest-build-provenance. Callers must grantattestations: write. Ahashesoutput (base64-encoded SHA-256s) is exposed for downstream provenance consumers.reusable-sbom.yml— prints the SHA-256 of the SBOM file to the CI log (the checksum is also included in the releaseSHA256SUMSvia the release job).reusable-slsa-provenance.yml(new) — standalone SLSA L2 provenance workflow for repos that attest artifacts outside the full release flow. Verifiable by anyone with repo read access viagh attestation verify <artifact> --repo nyuchi/<repo>.P0 — ORG_SETTINGS.md fixes
actions/attest-build-provenance@*added.P1 — Operational rigour
scheduled-settings-audit.yml(new) — quarterly scheduled workflow (08:00 UTC on 1 Jan / 1 Apr / 1 Jul / 1 Oct) that opens a GitHub Issue with a structured checklist. Idempotent: skips creation if an open issue for the current quarter already exists. Uses a separate template file (.github/audit-issue-body.md) to avoid YAML block-scalar indentation issues with multi-line heredoc bodies..github/ISSUE_TEMPLATE/governance_amendment.yml(new) — structured form for proposing amendments to NA-01/NA-02/NA-03/ORG_SETTINGS.md. Includes document selector, section citation, current/proposed text, rationale, security-impact dropdown, Board-notification acknowledgement, and changelog-entry draft.P1/P2 — Documentation
CONTRIBUTING.md: adds §Dependabot PRs (weekly cadence review, major-version handling, security-advisory SLA, prohibited-dep check) and §Governance amendments (issue-before-PR requirement, review bar, Board-notification trigger per NA-03 §13).AGENTS.md: adds rule requiring a Governance Amendment issue before any agent proposes changes to governance docs; clarifies the SHA-comment format requirement.README.md: adds new workflow rows to the reusable-workflows inventory table.Test plan
actions/attest-build-provenanceandactions/upload-artifactSHA pins — these are best-effort from training data; Dependabot will issue corrected SHA-pin PRs on the next weeklygithub-actionsupdate cycle per NA-03 §7.1.1.scheduled-settings-audit.ymlviaworkflow_dispatchto confirm issue creation flow works end-to-end.governance_amendmentissue template renders correctly in the GitHub new-issue picker.reusable-slsa-provenance.ymlfrom a test release and verifygh attestation verifysucceeds.Gaps deferred to follow-up PRs
ossf/scorecard-action) — tracked in ORG_SETTINGS.md §OpenSSF alignment.integrations/githubprovider for ORG_SETTINGS.md as generated artifact — tracked in ORG_SETTINGS.md §Enforcement and audit.https://claude.ai/code/session_018gMESVfRNN1qqndg2LACYx
Generated by Claude Code