dlp
Creates, updates, deletes, gets or lists a dlp resource.
Overview
| Name | dlp |
| Type | Resource |
| Id | cloudflare.zero_trust.dlp |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
validate | exec | account_id, regex | Validates whether this pattern is a valid regular expression. Rejects it if the regular expression is too complex or can match an unbounded-length string. The regex will be rejected if it uses * or +. Bound the maximum number of characters that can be matched using a range, e.g. {1,100}. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
Lifecycle Methods
- validate
Validates whether this pattern is a valid regular expression. Rejects it if the regular expression is too complex or can match an unbounded-length string. The regex will be rejected if it uses * or +. Bound the maximum number of characters that can be matched using a range, e.g. {1,100}.
EXEC cloudflare.zero_trust.dlp.validate
@account_id='{{ account_id }}' --required
@@json=
'{
"max_match_bytes": {{ max_match_bytes }},
"regex": "{{ regex }}"
}'
;