← All permissions
Repository permission·artifact_metadata:write
Artifact metadata: Write
Tier 2 · Medium
Why Tier 2
Creates and overwrites the organization's storage and deployment records for artifacts, including their runtime risks. Alert filters and security campaigns use them to show which code runs in production, so marking an artifact decommissioned or dropping a risk pushes its alerts down the list.
- 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: artifact-metadata: writeWorkflow scopes by tier
What it unlocks
4 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}/artifacts/metadata/deployment-record
- POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}
- POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs
- POST /orgs/{org}/artifacts/metadata/storage-record
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.