Skip to content

feat(ci): add SLSA L1 provenance attestation (OWASP A03) - #86

Open
SabaTech-dev wants to merge 2 commits into
mainfrom
feat/slsa-l1-provenance
Open

feat(ci): add SLSA L1 provenance attestation (OWASP A03)#86
SabaTech-dev wants to merge 2 commits into
mainfrom
feat/slsa-l1-provenance

Conversation

@SabaTech-dev

Copy link
Copy Markdown
Owner

Qué

  • Add SLSA L1 provenance attestation workflow for build artifacts
  • Add verification workflow for PRs
  • Rename artifact for consistency

Por qué

OWASP 2025 A03: Supply Chain Failures requires verifiable provenance. SLSA L1 ensures build artifacts have signed provenance attestations.

Changes

  • provenance.yml: Attests build artifacts using actions/attest-build-provenance@v2
  • verify-provenance.yml: Verifies attestations on PRs
  • ci-cd.yml: Renamed artifact 'package' → 'dist' for consistency

Tests

  • Workflow syntax validated
  • Provenance attestation will generate on next push to main/develop

Edge Cases

  • Requires id-token: write permission for OIDC signing
  • Provenance artifacts retained for 90 days

- Add provenance.yml workflow with attest-build-provenance action
- Add verify-provenance.yml for PR verification
- Rename artifact 'package' to 'dist' in ci-cd.yml for consistency
- Add permissions to ci-cd.yml for artifact uploads
- Implements SLSA L1 supply chain security requirement
@SabaTech-dev
SabaTech-dev force-pushed the feat/slsa-l1-provenance branch from e872740 to 8679453 Compare June 10, 2026 13:58
- provenance.yml runs independently on push to main/develop
- Removed 'needs: [ci-cd]' which referenced job in different workflow
- Verified with actionlint
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