Manage secret scanning custom patterns via REST API
Security teams can now create, edit, and manage secret scanning custom patterns directly through the REST API with newly available endpoints.
Starting today, security teams can create, edit, and manage secret scanning custom patterns with the REST API.
What’s new
The following endpoints are generally available:
GET .../secret-scanning/custom-patternslist patternsPOST .../secret-scanning/custom-patternscreate patternsPATCH .../secret-scanning/custom-patterns/{id}update patternsDELETE .../secret-scanning/custom-patternsdelete patterns
These endpoints are available at repository, organization, and enterprise levels for secret scanning customers. They cover basic CRUD operations, including creation, deletion, and modification of custom patterns. Dry runs and the final publishing step are still currently completed in the UI. You can follow the GitHub changelog for future updates.
Learn more
Learn more in the REST API documentation for secret scanning and about custom patterns.
The post Manage secret scanning custom patterns via REST API appeared first on The GitHub Blog.
Source: original entry ↗
More from GitHub
Follow GitHub to get its new changes in your feed and email digest.
Copilot model policy API for enterprise, orgs, and teams
REST API endpoints now available to retrieve and update Copilot model policies for enterprises, teams, apps, and organizations, enabling centralized policy management at scale.
GitHub Copilot models deprecated
GitHub has deprecated certain models across GitHub Copilot experiences including Chat, inline edits, and code completions, effective October 19, 2026. Users may need to migrate to supported models.
Some Git over HTTPS may temporarily require authentication
GitHub may temporarily require authentication for clones and fetches of public repositories over HTTPS during periods of unusual traffic to protect service availability.