← All permissions
Repository permission·repository_hooks:write
Webhooks: Write
Tier 1 · High
Why Tier 1
Creates repository webhooks that send every push, pull request and issue event to any URL.
- Target
- Repository
- Plane
- ManagementWebhooks: Where repository and organization events are delivered.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Every setup
What it unlocks
5 REST endpoints need this permission. A few of them:
- POST /repos/{owner}/{repo}/hooks
- PATCH /repos/{owner}/{repo}/hooks/{hook_id}
- DELETE /repos/{owner}/{repo}/hooks/{hook_id}
- PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config
Roles that include it
- T0OwnerThe organization and every repository in it
- T0All-repository adminEvery repository in the organization
- T1AdminOne repository
Classic scopes that reach it
- T0repodocumented
- T1admin:repo_hookstated by GitHub
- T1write:repo_hookdocumented
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.