← All permissions
Repository permission·attestations:write
Attestations: Write
Tier 2 · Medium
Why Tier 2
Uploads and deletes attestations. 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: write
What it unlocks
7 REST endpoints need this permission. A few of them:
- POST /orgs/{org}/attestations/delete-request
- DELETE /orgs/{org}/attestations/digest/{subject_digest}
- DELETE /orgs/{org}/attestations/{attestation_id}
- POST /repos/{owner}/{repo}/attestations
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
No attack technique, escalation or incident on ghtier goes through this yet.