{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Validates whether this pattern is a valid regular expression. Rejects it if\nthe regular expression is too complex or can match an unbounded-length\nstring. The regex will be rejected if it uses `*` or `+`. Bound the maximum\nnumber of characters that can be matched using a range, e.g. `{1,100}`.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","description":"Account ID."}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dlp_RegexValidationQuery"}},"required":["path","body"],"additionalProperties":false,"definitions":{"dlp_RegexValidationQuery":{"type":"object","properties":{"max_match_bytes":{"description":"Maximum number of bytes that the regular expression can match.\n\nIf this is `null` then there is no limit on the length. Patterns can use\n`*` and `+`. Otherwise repeats should use a range `{m,n}` to restrict\npatterns to the length. If this field is missing, then a default length\nlimit is used.\n\nNote that the length is specified in bytes. Since regular expressions\nuse UTF-8 the pattern `.` can match up to 4 bytes. Hence `.{1,256}`\nhas a maximum length of 1024 bytes.","type":["integer","null"],"minimum":0},"regex":{"type":"string"}},"required":["regex"]}}},"name":"Validate a DLP regex pattern","id":"cloudflare.dlp-pattern-validate","example":{"path":{"account_id":"example"},"body":{"regex":"example"}},"maxRequests":1,"summary":false}}