Skip to content

ci: SLSA build-provenance attestation at release (#208, partial) - #309

Merged
Chris-Wolfgang merged 1 commit into
vNextfrom
thorough/208-slsa-attestation
Jul 23, 2026
Merged

ci: SLSA build-provenance attestation at release (#208, partial)#309
Chris-Wolfgang merged 1 commit into
vNextfrom
thorough/208-slsa-attestation

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Summary

Adds SLSA build provenance to the release (issue #208). The update-release-artifacts job now runs actions/attest-build-provenance on each packed .nupkg — recording a signed, verifiable statement that the artifact was built by this repo's release.yaml from a specific commit, stored in the repo's attestation store. The job gains id-token: write + attestations: write for it (action SHA-pinned per the zizmor hash-pin policy).

SECURITY.md gains a "Verifying the supply chain" section documenting how a consumer verifies the artifacts:

gh attestation verify Wolfgang.Etl.Abstractions.<version>.nupkg \
  --repo Chris-Wolfgang/ETL-Abstractions

and explicitly notes what's not yet done.

Scope vs #208 — partial (intentionally not Closes)

AC item Status
SBOM attached to release ✅ already shipping (CycloneDX bom.json)
SLSA attestation this PR
NuGet package signing (nuget verify) blocked — needs a code-signing certificate
SECURITY.md verification procedure ✅ this PR (for SBOM + attestation)

So #208 stays open for the signing half. If you have (or want to provision) a code-signing cert + secret, I can add the dotnet nuget sign step as a follow-up.

Validation

  • zizmor (hash-pin) + actionlint clean on the modified release.yaml.
  • The attestation itself only runs on an actual release (can't be exercised on a PR); the step is the standard first-party action used as documented.

Relates to #208 (does not close it).

Adds an actions/attest-build-provenance step to the release's
update-release-artifacts job: each packed .nupkg gets a signed, verifiable SLSA
provenance statement (built by this repo's release.yaml, from a specific commit),
stored in the repo's attestation store. Grants the job id-token:write +
attestations:write for it. Complements the CycloneDX SBOM already shipped.

SECURITY.md gains a "Verifying the supply chain" section documenting how a
consumer verifies the SBOM + attestation
(`gh attestation verify <pkg> --repo Chris-Wolfgang/ETL-Abstractions`), and
explicitly flags that Authenticode/NuGet package signing is NOT yet enabled.

Partial for #208: SBOM (already) + SLSA attestation are done; package signing
(`nuget verify`-able signatures) still needs a code-signing certificate and
stays open on #208.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 17:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants