Skip to main content

dlp

Creates, updates, deletes, gets or lists a dlp resource.

Overview

Namedlp
TypeResource
Idcloudflare.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:

NameAccessible byRequired ParamsOptional ParamsDescription
validateexecaccount_id, regexValidates 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

Lifecycle Methods

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 }}"
}'
;