Bulk create repository custom patterns
Changed onBulk creates secret scanning custom patterns for a repository.
OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Fine-grained access tokens require the administration:write repository permission.
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/repos/{owner}/{repo}/secret-scanning/custom-patterns
- Auth: none declared
Path parameters
The account owner of the repository. The name is not case sensitive.
The name of the repository without the .git extension. The name is not case sensitive.
Request body
Response
All patterns created successfully.
Changes
- warning
added the new
invalidenum value to the////response property for the response status - warning
added the new
nameenum value to the////response property for the response status - warning
added the new
unprocessableenum value to the////response property for the response status - info
removed the
compile_dbenum value from the////response property for the response status - info
removed the
config_loadenum value from the////response property for the response status - info
removed the
db_sizeenum value from the////response property for the response status - info
removed the
db_size_calculationenum value from the////response property for the response status - info
removed the
display_nameenum value from the////response property for the response status - info
removed the
noneenum value from the////response property for the response status
- warning
- info
endpoint added
- info