New API endpoints for listing and updating push protection configurations
You can now use the REST API to list and update push protection configurations for secret scanning patterns at the enterprise and organization levels. Push protection helps prevent secrets from being leaked in repositories by scanning for patterns before code is pushed. These endpoints make it easier to manage which patterns are included in push protection across your organization or enterprise.
The following endpoints are now available:
- List enterprise pattern configurations
- Update enterprise pattern configurations
- List organization pattern configurations
- Update organization pattern configurations
Any changes to push protection settings now generate audit log events, giving you greater visibility into configuration updates.
To learn more about push protection configurations, see the public preview changelog post.