Skip to content
Start here

Validators

List validators
client.zeroTrust.dlp.validators.list(ValidatorListParams { account_id, kind } params, RequestOptionsoptions?): SinglePage<Validator>
GET/accounts/{account_id}/dlp/validators
Get a validator
client.zeroTrust.dlp.validators.get(stringvalidatorID, ValidatorGetParams { account_id } params, RequestOptionsoptions?): Validator
GET/accounts/{account_id}/dlp/validators/{validator_id}
ModelsExpand Collapse
References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

entries: Array<Entry>

The detection entries using this validator, ordered by name.

id: string
formatuuid
name: string
type: "custom" | "custom_prompt_topic" | "predefined" | 4 more

The type of a detection entry.

One of the following:
"custom"
"custom_prompt_topic"
"predefined"
"integration"
"exact_data"
"document_fingerprint"
"word_list"
entry_count: number

Number of detection entries this validator is attached to.

formatint32
minimum0
Validator = ProximityWordValidator { id, created_at, kind, 4 more } | WorkerValidator { id, created_at, kind, 5 more }

Reusable logic that a detection entry can attach to in order to refine its matches. The kind field determines the rest of the body.

One of the following:
ProximityWordValidator { id, created_at, kind, 4 more }

A reusable list of weighted words. Attaching it to a detection entry raises the confidence of that entry’s matches when one of the words appears nearby, and lowers it when none do.

id: string
formatuuid
created_at: string
formatdate-time
kind: "proximity_words"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: Array<Word { weight, word } >

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

WorkerValidator { id, created_at, kind, 5 more }

A customer Worker registered as a validator.

id: string
formatuuid
created_at: string
formatdate-time
kind: "worker"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

script_tag: string

The public script tag of the customer’s Worker that scores matches.

updated_at: string
formatdate-time
default?: number | "veto"
One of the following:
number
"veto"
"veto"
ValidatorArray = Array<Validator>
One of the following:
ProximityWordValidator { id, created_at, kind, 4 more }

A reusable list of weighted words. Attaching it to a detection entry raises the confidence of that entry’s matches when one of the words appears nearby, and lowers it when none do.

id: string
formatuuid
created_at: string
formatdate-time
kind: "proximity_words"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: Array<Word { weight, word } >

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

WorkerValidator { id, created_at, kind, 5 more }

A customer Worker registered as a validator.

id: string
formatuuid
created_at: string
formatdate-time
kind: "worker"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

script_tag: string

The public script tag of the customer’s Worker that scores matches.

updated_at: string
formatdate-time
default?: number | "veto"
One of the following:
number
"veto"
"veto"
WorkerValidator { id, created_at, name, 4 more }

A customer Worker registered as a validator.

id: string
formatuuid
created_at: string
formatdate-time
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

script_tag: string

The public script tag of the customer’s Worker that scores matches.

updated_at: string
formatdate-time
default?: number | "veto"
One of the following:
number
"veto"
"veto"

ValidatorsProximity Words

List proximity word validators
client.zeroTrust.dlp.validators.proximityWords.list(ProximityWordListParams { account_id } params, RequestOptionsoptions?): SinglePage<ProximityWordValidator { id, created_at, name, 3 more } >
GET/accounts/{account_id}/dlp/validators/proximity_words
Get a proximity word validator
client.zeroTrust.dlp.validators.proximityWords.get(stringvalidatorID, ProximityWordGetParams { account_id } params, RequestOptionsoptions?): ProximityWordValidator { id, created_at, name, 3 more }
GET/accounts/{account_id}/dlp/validators/proximity_words/{validator_id}
Create a proximity word validator
client.zeroTrust.dlp.validators.proximityWords.create(ProximityWordCreateParams { account_id, name, words } params, RequestOptionsoptions?): ProximityWordValidator { id, created_at, name, 3 more }
POST/accounts/{account_id}/dlp/validators/proximity_words
Update a proximity word validator
client.zeroTrust.dlp.validators.proximityWords.update(stringvalidatorID, ProximityWordUpdateParams { account_id, name, words } params, RequestOptionsoptions?): ProximityWordValidator { id, created_at, name, 3 more }
PUT/accounts/{account_id}/dlp/validators/proximity_words/{validator_id}
Delete a proximity word validator
client.zeroTrust.dlp.validators.proximityWords.delete(stringvalidatorID, ProximityWordDeleteParams { account_id } params, RequestOptionsoptions?): ProximityWordDeleteResponse | null
DELETE/accounts/{account_id}/dlp/validators/proximity_words/{validator_id}
ModelsExpand Collapse
ProximityWordValidator { id, created_at, name, 3 more }

A reusable list of weighted words. Attaching it to a detection entry raises the confidence of that entry’s matches when one of the words appears nearby, and lowers it when none do.

id: string
formatuuid
created_at: string
formatdate-time
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: Array<Word { weight, word } >

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

ProximityWordValidatorArray = Array<ProximityWordValidator { id, created_at, name, 3 more } >
id: string
formatuuid
created_at: string
formatdate-time
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: Array<Word { weight, word } >

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

Weight = "strong" | "moderate" | "weak"

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

One of the following:
"strong"
"moderate"
"weak"
Word { weight, word }

A word that raises a match’s confidence when it appears near the match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

ProximityWordDeleteResponse = unknown