ghtier
← All permissions
Repository permission·secret_scanning_alerts:write

Secret scanning alerts: Write

Tier 1 · High

Why Tier 1

Everything read gives, including the leaked secret values, and closes alerts, so a leaked credential can be marked as handled.

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

Can reach T0 when an open alert holds an organization-wide credential, such as an owner's classic PAT or a GitHub App private key.

Documented: GitHub Docs: secret scanning

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
Every setup

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.

  • PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}

Roles that include it

  • T0OwnerThe organization and every repository in it(in part: Writers and maintainers only see alerts for their own commits, not the list of every leaked secret. Admins see all of them (see the Admin role).)
  • T0All-repository adminEvery repository in the organization(in part: Writers and maintainers only see alerts for their own commits, not the list of every leaked secret. Admins see all of them (see the Admin role).)
  • T1WriteOne repository(in part: Writers and maintainers only see alerts for their own commits, not the list of every leaked secret. Admins see all of them (see the Admin role).)
  • T1MaintainOne repository(in part: Writers and maintainers only see alerts for their own commits, not the list of every leaked secret. Admins see all of them (see the Admin role).)
  • T1AdminOne repository(in part: Writers and maintainers only see alerts for their own commits, not the list of every leaked secret. Admins see all of them (see the Admin role).)
  • T1Security managerThe organization and every repository in it
  • T1All-repository writeEvery repository in the organization(in part: Writers and maintainers only see alerts for their own commits, not the list of every leaked secret. Admins see all of them (see the Admin role).)
  • T1All-repository maintainEvery repository in the organization(in part: Writers and maintainers only see alerts for their own commits, not the list of every leaked secret. Admins see all of them (see the Admin role).)
  • T1Enterprise security managerEvery organization in the enterprise

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.

  • Dismiss, reopen, or assign secret scanning alertsresolve_secret_scanning_alertsrepository 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 "Secret scanning alerts"