{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Bulk creates secret scanning custom patterns for an organization.\n\nPersonal access tokens (classic) need the `write:org` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"body":{"type":"object","required":["patterns"],"properties":{"patterns":{"type":"array","description":"The list of custom patterns to create (maximum 100).","maxItems":100,"items":{"$ref":"#/definitions/secret-scanning-custom-pattern-to-create"}}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"secret-scanning-custom-pattern-to-create":{"title":"Secret Scanning Custom Pattern To Create","description":"A custom pattern to create in a bulk operation.","type":"object","required":["name","pattern"],"properties":{"name":{"type":"string","description":"The name of the custom pattern."},"pattern":{"type":"string","description":"The regular expression of the custom pattern."},"start_delimiter":{"type":"string","description":"The start delimiter regex for the custom pattern.\nDefaults to `\\A|[^0-9A-Za-z]` when not specified.","default":"\\A|[^0-9A-Za-z]"},"end_delimiter":{"type":"string","description":"The end delimiter regex for the custom pattern.\nDefaults to `\\z|[^0-9A-Za-z]` when not specified.","default":"\\z|[^0-9A-Za-z]"},"must_match":{"type":"array","description":"List of regexes that the secret must match.","items":{"type":"string"}},"must_not_match":{"type":"array","description":"List of regexes that the secret must not match.","items":{"type":"string"}}}}}},"name":"Bulk create organization custom patterns","id":"github.secret-scanning.bulk-create-org-custom-patterns","example":{"path":{"org":"example"},"body":{"patterns":[]}},"maxRequests":1,"summary":false}}