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.
Claude Haiku 5.5 now available in GitHub Copilot
Claude Haiku 5.5, Anthropic's lightweight model, is now generally available in GitHub Copilot for fast, high-volume tasks like subagents, quick edits, and terminal operations.
Purpose-built model for leaked secret detection
GitHub introduced a new purpose-built model for detecting leaked secrets that provides context-aware detection to keep pace with modern software development practices, including AI-assisted coding.
Local sandboxing for GitHub Copilot now generally available
GitHub Copilot's local sandboxing feature is now generally available across GitHub Copilot CLI, the GitHub Copilot app, and VS Code sessions using Agent Host, providing developers with a secure environment for testing and development.