Documentation Index
Fetch the complete documentation index at: https://docs.pipefort.com/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Value |
|---|---|
| Rule ID | slsa-build-l2-oidc-token-scope |
| Severity | MEDIUM |
| SLSA level | v1.2 Build L2 |
| Auto-fix | ✗ |
What the check does
Fires on any job that uses one of:actions/attest-build-provenance@…/actions/attest@…sigstore/cosign-installer@…(or acosign signrun-line)- A reusable workflow call under
slsa-framework/slsa-github-generator/...
permissions: id-token: write either at the job level or
at the workflow level.
Why it matters
Sigstore’s keyless signing path mints a short-lived signing certificate from the workflow’s OIDC token. GitHub does not issue that token unless the job (or workflow) explicitly requestsid-token: write. Without the permission,
the signing step fails — and SLSA Build L2’s “signed provenance” requirement
is unmet.