← All permissions
Enterprise permission·enterprise_license_policy:write
Enterprise license policy: Write
Tier 2 · Medium
Why Tier 2
Sets which dependency licenses the enterprise allows. A ruleset in Active mode blocks pull requests that add a dependency outside the policy, so narrowing it stops merges across the enterprise, and widening it lets any license through. It grants no access and changes no code or credentials.
- Target
- Enterprise
- Plane
- DataCode security: Code scanning, Dependabot and secret scanning alerts, advisories, dismissals and bypasses.
- Granted by
- 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.
- PUT /enterprises/{enterprise}/license-compliance/policies/{policy_id}
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
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.
Other levels
GitHub Docs: Enterprise permissions for "Enterprise license policy"