ghtier
← 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, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.

  • 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
  • POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts

Roles that include 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 webhooksmanage_webhooksrepository role

Classic scopes that reach it

Attack paths

No attack technique, escalation or incident on ghtier goes through this yet.

Other levels

GitHub Docs: Repository permissions for "Webhooks"