← All permissions
Repository permission·attestations:write
Attestations: Write
Tier 2 · Medium
Why Tier 2
Uploads attestations and deletes them, for the repository and across the organization. A verifier checks the signing certificate, which names the repository and workflow that got it through Actions OIDC, so uploading alone does not make a forged artifact pass. Deleting one makes a genuine artifact fail verification.
- Target
- Repository
- Plane
- DataReleases and packages: Packages, attestations and artifact metadata.
- Granted by
- Fine-grained PAT, GitHub App, GITHUB_TOKEN
- Available on
- Free, Team, Enterprise Cloud, EMU
- In a workflow
permissions: attestations: writeWorkflow scopes by tier
What it unlocks
7 REST endpoints need this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.
- POST /orgs/{org}/attestations/delete-request
- DELETE /orgs/{org}/attestations/digest/{subject_digest}
- DELETE /orgs/{org}/attestations/{attestation_id}
- POST /repos/{owner}/{repo}/attestations
- POST /users/{username}/attestations/delete-request
- DELETE /users/{username}/attestations/digest/{subject_digest}
- DELETE /users/{username}/attestations/{attestation_id}
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Classic scopes that reach it
No classic scope reaches it. Only fine-grained PATs, Apps or GITHUB_TOKEN can grant it.
Attack paths
Reached through
- Sign provenance for your own artifact · from Workflows: Write