ghtier
← All permissions
Repository permission·repository_license_policy:read

Repository license policy: Read

Tier 3 · Low

Why Tier 3

Checks packages against the repository's license policy.

Data plane permissions start at Tier 2. This one is lowered for the reason above.

Target
Repository
Plane
DataCode security: Code scanning, Dependabot and secret scanning alerts, advisories, dismissals and bypasses.
Granted by
Fine-grained PAT, GitHub App
Available on
Enterprise Cloud, EMU

What it unlocks

1 REST endpoint needs 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}/license-compliance/package-checks

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.

  • View repository license policyview_repository_license_policyrepository role

Classic scopes that reach it

No classic scope reaches it. Only fine-grained PATs, Apps or GITHUB_TOKEN can grant it.

Attack paths

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

GitHub Docs: Repository permissions for "Repository license policy"