Source
Documentation (secret scanning) — GitHub Advanced Security
Checked for GitHub Advanced Security on 6 Nov 2026
- Page
- https://docs.github.com/en/code-security/concepts/secret-security/secret-scanning
- Checked
- 6 Nov 2026, 05:01 UTC
- How we may use it
- Public page, crawling permitted
Technical details
- type
- page
- http status
- 200
- content hash
- sha256:329b985859b9b3a025db1e721dceacd22392547c0fbbd5af911069bb0101113c
- permission
- robots_ok
- screenshot
- Screenshot on file (internal exhibit, not published)
Cited by
Facts read from this source
-
Secret scanning auto detect Report an error
“Secret scanning automatically detects credential leaks so you can secure them before they're exploited.”
-
Scan scope Report an error
“Secret scanning scans your entire Git history on all branches of your repository for hardcoded credentials, including API keys, passwords, tokens, and other known secret types.”
-
Periodic rescan Report an error
“GitHub also periodically rescans repositories when new secret types are added.”
-
Scanned surfaces Report an error
“GitHub also automatically scans: Descriptions and comments in issues Titles, descriptions, and comments, in open and closed historical issues Titles, descriptions, and comments in pull requests Titles, descriptions, and comments in GitHub Discussions Wikis Secret gists”
-
Alerts Report an error
“When secret scanning detects a credential leak, GitHub generates an alert on your repository's Security and quality tab with details about the exposed credential.”
-
Partner integration Report an error
“When a partner secret is detected, we notify the provider so they can take action, such as revoking the credential. Partner secrets are reported directly to the provider and aren't displayed in your repository alerts.”
-
Generic patterns Report an error
“Generic patterns. Expand detection to secrets that aren't tied to a specific service provider, such as private keys, connection strings, and generic API keys.”
-
Custom patterns Report an error
“Custom patterns. Define your own regular expressions to detect organization-specific secrets that aren't covered by default patterns.”
-
Validity checks Report an error
“Validity checks. Prioritize remediation by checking whether detected secrets are still active.”
-
AI detected secrets Report an error
“AI-detected secrets. Use AI to detect unstructured secrets like passwords.”
-
AI generated regex Report an error
“AI-generated regular expressions. Use AI to generate regular expressions for custom patterns.”
-
Validity check mechanism Report an error
“When you enable validity checks, secret scanning may contact the secret's issuing service to determine if the credential has been revoked.”
-
Public repositories Report an error
“Public repositories: Secret scanning runs automatically for free.”
-
Private internal repositories Report an error
“Organization-owned private and internal repositories: Available with GitHub Secret Protection enabled on GitHub Team or GitHub Enterprise Cloud.”
-
User owned repositories Report an error
“User-owned repositories: Available on GitHub Enterprise Cloud with Enterprise Managed Users. Available on GitHub Enterprise Server when the enterprise has GitHub Secret Protection enabled.”
-
Public monitoring Report an error
“you can enable public monitoring to detect secrets leaked by your enterprise members in public repositories across GitHub.”
-
Free org assessment Report an error
“At any time, you can run a free assessment of your organization's code for leaked secrets.”
Scores citing this record
- The Application Security Engineer Dependencies (SCA), licences & secrets
- The Application Security Engineer Pricing transparency
- The Engineering Manager Dependencies (SCA), licences & secrets
- The Lead Developer Dependencies (SCA), licences & secrets
- The Lead Developer Platforms, deployment & administration
- The Platform Engineer Dependencies (SCA), licences & secrets
- The Product Security Officer Dependencies (SCA), licences & secrets
- The Product Security Officer Pricing transparency
- The Skeptic Dependencies (SCA), licences & secrets