GitHub [announced](https://github.blog/changelog/2025-08-05-new-api-endpoints-for-listing-and-updating-push-protection-configurations/) new [secret scanning REST APIs](https://docs.github.com/en/enterprise-cloud@latest/rest/secret-scanning/push-protection?apiVersion=2022-11-28).