Network configurations: Write
Why Tier 2
Creates, changes and deletes the configurations that place GitHub-hosted runners in an Azure subnet. A configuration can only use a network settings resource someone with Azure network rights created for the organization. Deleting one, or setting its compute service to none, stops jobs that need the private network. Attaching a configuration to a runner group is Self-hosted runners (write).
Management plane permissions start at Tier 1. This one is lowered for the reason above.
Can reach T1 when the organization has registered more than one subnet and a runner group uses the configuration: pointing it at another subnet, such as the one production runners use, puts that group's workflow code inside that network.
Inferred from: GitHub Docs: network configurations, GitHub Docs: configuring private networking for github hosted runners in your organization
- 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
3 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}/settings/network-configurations
- PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}
- DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}
Roles that include it
- T1CI/CD adminThe organization's Actions setup
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.
- Edit organization hosted compute network configurations
write_organization_network_configurationsorganization role
Classic scopes that reach it
- T2write:network_configurationsdocumented
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.
Other levels
GitHub Docs: Organization permissions for "Network configurations"