Bundles secret scanning, push protection, custom patterns, AI-detected secrets, campaigns and the security overview; one of GitHub Advanced Security's two products.
Read more: GitHub Docs
In the Ultra Transcenders books
Each book explains GitHub Secret Protection in context, with comparison tables and the common traps.
Terms in this definition
- Secret scanning
Looks through a repository and all its history for committed passwords, tokens and keys, while push protection rejects new pushes carrying them. On GitHub it comes with GitHub Secret Protection; on Azure Repos, with GitHub Advanced Security for Azure DevOps.
- Push protection
Stops a push going through when it holds a detected secret, in GitHub and in GitHub Advanced Security for Azure DevOps. On GitHub, accounts pushing to public repositories get push protection for users automatically.
- Custom patterns
Organisations can write their own secret scanning rules to catch credential formats unique to them; this is part of GitHub Secret Protection.
- Security overview
A page in Organization settings for GitHub Advanced Security for Azure DevOps that summarises alerts and enablement across all repositories on its Risk, Coverage and Alerts tabs.
- GitHub Advanced Security
GitHub's paid tier of security tooling for private code, available with the Team or Enterprise plans. From 2025 it has been bought in two halves, Secret Protection and Code Security.