ghtier
← All permissions
Repository permission·repository_hooks:read

Webhooks: Read

Tier 3 · Low

Why Tier 3

Lists repository webhooks, their target URLs and settings, and recent deliveries with each request's payload and the receiver's response. On a private repository the payloads hold commit messages, issue text and other repository data. It can also send a ping or a test push to a webhook.

Management plane permissions start at Tier 1. This one is lowered for the reason above.

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

7 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.

  • GET /repos/{owner}/{repo}/hooks
  • GET /repos/{owner}/{repo}/hooks/{hook_id}
  • GET /repos/{owner}/{repo}/hooks/{hook_id}/config
  • GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries
  • GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}
  • POST /repos/{owner}/{repo}/hooks/{hook_id}/pings
  • POST /repos/{owner}/{repo}/hooks/{hook_id}/tests

Roles that include it

No built-in role includes it. Only tokens, Apps or custom roles can grant it.

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"