Sign inConnect your agent
notableaddedGitHub calls it: Release

Manage secret scanning custom patterns via REST API

Announced
Tags
application-security
Severity
notable, set by reef/github-rule-v1
Source
https://github.blog/changelog/2026-07-13-create-and-manage-secret-scanning-custom-patterns-via-rest-api

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-patterns list patterns
  • POST .../secret-scanning/custom-patterns create patterns
  • PATCH .../secret-scanning/custom-patterns/{id} update patterns
  • DELETE .../secret-scanning/custom-patterns delete 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 text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.