Skip to content

Attach SLSA provenance bundle as release asset#19

Merged
wnstfy merged 1 commit into
mainfrom
fix/attach-slsa-bundle
May 21, 2026
Merged

Attach SLSA provenance bundle as release asset#19
wnstfy merged 1 commit into
mainfrom
fix/attach-slsa-bundle

Conversation

@wnstfy

@wnstfy wnstfy commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Scorecard's Signed-Releases check reads release assets, not GitHub's Attestations API, so it sees our cosign signature but reports provenance as missing:

Warn: release artifact v2026.05.21 does not have provenance

Fix

Capture the `actions/attest-build-provenance` `bundle-path` output and upload the bundle as a release asset with the `.intoto.jsonl` extension Scorecard recognises. The bundle still lives in the Attestations API as before — this just adds the local file alongside the other release assets.

`VERIFICATION.md` updated to document both online (`--repo`) and offline (`--bundle file`) verification flows.

Test plan

  • `scan`, `lint`, `misconfig` pass — `actionlint` clean locally.
  • After merge, back-attach the existing v2026.05.21 bundle to that release via `gh attestation download` + `gh release upload`. Next release tag will pick up the new asset automatically via the workflow.
  • Scorecard run on the next push to main flips the provenance warning to "info: provenance found".

Scorecard's Signed-Releases check inspects only release assets,
not GitHub's Attestations API, so the cosign signature was
recognised but the provenance was reported as missing:

  Warn: release artifact v2026.05.21 does not have provenance

Capture the actions/attest-build-provenance bundle-path output,
copy the bundle to dist/<base>.intoto.jsonl, and upload it as a
release asset. The bundle remains in the Attestations API too,
so online verification via 'gh attestation verify --repo' still
works; the local file enables offline verification with
'gh attestation verify --bundle' and satisfies Scorecard.

VERIFICATION.md updated with both online and offline verification
flows and the new download pattern.
@wnstfy
wnstfy enabled auto-merge (squash) May 21, 2026 10:51
@wnstfy
wnstfy merged commit 13979c1 into main May 21, 2026
4 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Trivy misconfiguration findings (HIGH + CRITICAL)

Findings below. Fix the issue or add an ignore entry to .trivyignore with a justification.


Report Summary

┌────────┬──────┬───────────────────┐
│ Target │ Type │ Misconfigurations │
├────────┼──────┼───────────────────┤
│   -    │  -   │         -         │
└────────┴──────┴───────────────────┘
Legend:
- '-': Not scanned
- '0': Clean (no security findings detected)

@wnstfy
wnstfy deleted the fix/attach-slsa-bundle branch May 21, 2026 10:53
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