ghtier
← All permissions
Repository permission·code_quality:read

Code quality: Read

Tier 3 · Low

Why Tier 3

Reads code quality findings.

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

Target
Repository
Plane
DataCode: Repository contents, branches, tags, pull requests, checks and commit signing keys.
Granted by
Fine-grained PAT, GitHub App
Available on
Free, Team, Enterprise Cloud, EMU

What it unlocks

2 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}/code-quality/findings
  • GET /repos/{owner}/{repo}/code-quality/findings/{finding_number}

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 code quality alertsread_code_qualityrepository role

Classic scopes that reach it

Attack paths

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

GitHub Docs: Repository permissions for "Code quality"