This version of GitHub Enterprise Server will be discontinued on 2026-06-02. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.
The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for secret scanning
Use the REST API to retrieve and update secret alerts from a repository.
- REST API endpoints for secret scanning
- List secret scanning alerts for an enterprise
- List secret scanning alerts for an organization
- List secret scanning alerts for a repository
- Get a secret scanning alert
- Update a secret scanning alert
- List locations for a secret scanning alert
- Create a push protection bypass
- Get secret scanning scan history for a repository