Enterprises with GitHub Advanced Security can now enable secret scanning and push protection on all their organizations using a single call to an enterprise-level REST API endpoint.
You can also use the enterprise API to set a default custom link that will appear on a push protection block.
This new endpoint supplements the existing enterprise enablement settings in the UI and the repository-level and organization-level REST API enablement endpoints.
- Learn more about managing GitHub Advanced Security features for your enterprise
- Learn more about securing private repositories with secret scanning