Bulk create repository custom patterns
Bulk creates secret scanning custom patterns for a repository.
OAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
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
Changed in 2 of the 62 revisions of this API.37
- ●
added the new
invalidenum value to thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-added
- ●
added the new
nameenum value to thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-added
- ●
added the new
unprocessableenum value to thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-added
- ○
removed the
compile_dbenum value from thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-removed
- ○
removed the
config_loadenum value from thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-removed
- ○
removed the
db_sizeenum value from thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-removed
- ○
removed the
db_size_calculationenum value from thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-removed
- ○
removed the
display_nameenum value from thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-removed
- ○
removed the
noneenum value from thevalidation_errors/additionalProperties/errors/items/coderesponse property for the response status422response-property-enum-value-removed
- ●
- ○
endpoint added
endpoint-added
- ○
Of the 62 revisions, 1 has no diff computed.