Hosted runner custom images: Write
Why Tier 2
Deletes custom images for larger runners and their versions. It cannot create one: any workflow that runs on the runner group that builds an image can add a version with a snapshot job, and runners set to the latest version install it.
Management plane permissions start at Tier 1. This one is lowered for the reason above.
- Target
- Organization
- Plane
- ManagementRunners: Self-hosted runners, runner groups, hosted runner images and their networks.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Free, Team, Enterprise Cloud, EMU
What it unlocks
2 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.
- DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}
- DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Custom role permissions that add it
An owner can build a custom role from these on Enterprise Cloud. Nobody holds one until a custom role with it is assigned.
- Manage organization hosted runner custom images
write_organization_runner_custom_imagesorganization role
Classic scopes that reach it
- T1manage_runners:orgdocumented
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.
Other levels
GitHub Docs: Organization permissions for "Hosted runner custom images"