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:

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.