DLP
DLPDatasets
Fetch all datasets
client.zeroTrust.dlp.datasets.list(DatasetListParams { account_id } params, RequestOptionsoptions?): SinglePage<Dataset { id, columns, created_at, 9 more } >
GET/accounts/{account_id}/dlp/datasets
Fetch a specific dataset
client.zeroTrust.dlp.datasets.get(stringdatasetId, DatasetGetParams { account_id } params, RequestOptionsoptions?): Dataset { id, columns, created_at, 9 more }
GET/accounts/{account_id}/dlp/datasets/{dataset_id}
Create a new dataset
client.zeroTrust.dlp.datasets.create(DatasetCreateParams { account_id, name, case_sensitive, 3 more } params, RequestOptionsoptions?): DatasetCreation { dataset, encoding_version, max_cells, 2 more }
POST/accounts/{account_id}/dlp/datasets
Update details about a dataset
client.zeroTrust.dlp.datasets.update(stringdatasetId, DatasetUpdateParams { account_id, case_sensitive, description, name } params, RequestOptionsoptions?): Dataset { id, columns, created_at, 9 more }
PUT/accounts/{account_id}/dlp/datasets/{dataset_id}
Delete a dataset
client.zeroTrust.dlp.datasets.delete(stringdatasetId, DatasetDeleteParams { account_id } params, RequestOptionsoptions?): void
DELETE/accounts/{account_id}/dlp/datasets/{dataset_id}
DLPDatasetsUpload
Prepare to upload a new version of a dataset
client.zeroTrust.dlp.datasets.upload.create(stringdatasetId, UploadCreateParams { account_id } params, RequestOptionsoptions?): NewVersion { encoding_version, max_cells, version, 3 more }
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload
Upload a new version of a dataset
client.zeroTrust.dlp.datasets.upload.edit(stringdatasetId, numberversion, "string" | "ArrayBufferView" | "ArrayBuffer" | BlobLikedataset, UploadEditParams { account_id } params, RequestOptionsoptions?): Dataset { id, columns, created_at, 9 more }
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload/{version}
DLPDatasetsVersions
Sets the column information for a multi-column upload
client.zeroTrust.dlp.datasets.versions.create(stringdatasetId, numberversion, VersionCreateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<VersionCreateResponse { entry_id, header_name, num_cells, upload_status } >
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}
DLPDatasetsVersionsEntries
Upload a new version of a multi-column dataset
client.zeroTrust.dlp.datasets.versions.entries.create(stringdatasetId, numberversion, stringentryId, "string" | "ArrayBufferView" | "ArrayBuffer" | BlobLikedatasetVersionEntry, EntryCreateParams { account_id } params, RequestOptionsoptions?): EntryCreateResponse { entry_id, header_name, num_cells, upload_status }
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}/entries/{entry_id}
DLPPatterns
Validate a DLP regex pattern
client.zeroTrust.dlp.patterns.validate(PatternValidateParams { account_id, regex, max_match_bytes } params, RequestOptionsoptions?): PatternValidateResponse { valid }
POST/accounts/{account_id}/dlp/patterns/validate
DLPPayload Logs
Get payload log settings
client.zeroTrust.dlp.payloadLogs.get(PayloadLogGetParams { account_id } params, RequestOptionsoptions?): PayloadLogGetResponse { updated_at, masking_level, public_key }
GET/accounts/{account_id}/dlp/payload_log
Set payload log settings
client.zeroTrust.dlp.payloadLogs.update(PayloadLogUpdateParams { account_id, masking_level, public_key } params, RequestOptionsoptions?): PayloadLogUpdateResponse { updated_at, masking_level, public_key }
PUT/accounts/{account_id}/dlp/payload_log
DLPEmail
DLPEmailAccount Mapping
Get mapping
client.zeroTrust.dlp.email.accountMapping.get(AccountMappingGetParams { account_id } params, RequestOptionsoptions?): AccountMappingGetResponse { addin_identifier_token, auth_requirements }
GET/accounts/{account_id}/dlp/email/account_mapping
Create mapping
client.zeroTrust.dlp.email.accountMapping.create(AccountMappingCreateParams { account_id, auth_requirements } params, RequestOptionsoptions?): AccountMappingCreateResponse { addin_identifier_token, auth_requirements }
POST/accounts/{account_id}/dlp/email/account_mapping
DLPEmailRules
List all email scanner rules
client.zeroTrust.dlp.email.rules.list(RuleListParams { account_id } params, RequestOptionsoptions?): SinglePage<RuleListResponse { action, conditions, created_at, 6 more } >
GET/accounts/{account_id}/dlp/email/rules
Get an email scanner rule
client.zeroTrust.dlp.email.rules.get(stringruleId, RuleGetParams { account_id } params, RequestOptionsoptions?): RuleGetResponse { action, conditions, created_at, 6 more }
GET/accounts/{account_id}/dlp/email/rules/{rule_id}
Create email scanner rule
client.zeroTrust.dlp.email.rules.create(RuleCreateParams { account_id, action, conditions, 3 more } params, RequestOptionsoptions?): RuleCreateResponse { action, conditions, created_at, 6 more }
POST/accounts/{account_id}/dlp/email/rules
Update email scanner rule
client.zeroTrust.dlp.email.rules.update(stringruleId, RuleUpdateParams { account_id, action, conditions, 3 more } params, RequestOptionsoptions?): RuleUpdateResponse { action, conditions, created_at, 6 more }
PUT/accounts/{account_id}/dlp/email/rules/{rule_id}
Delete email scanner rule
client.zeroTrust.dlp.email.rules.delete(stringruleId, RuleDeleteParams { account_id } params, RequestOptionsoptions?): RuleDeleteResponse { action, conditions, created_at, 6 more }
DELETE/accounts/{account_id}/dlp/email/rules/{rule_id}
Update email scanner rule priorities
client.zeroTrust.dlp.email.rules.bulkEdit(RuleBulkEditParams { account_id, new_priorities } params, RequestOptionsoptions?): RuleBulkEditResponse { action, conditions, created_at, 6 more }
PATCH/accounts/{account_id}/dlp/email/rules
DLPProfiles
List all profiles
client.zeroTrust.dlp.profiles.list(ProfileListParams { account_id, all } params, RequestOptionsoptions?): SinglePage<Profile>
GET/accounts/{account_id}/dlp/profiles
Get DLP Profile
client.zeroTrust.dlp.profiles.get(stringprofileId, ProfileGetParams { account_id } params, RequestOptionsoptions?): Profile
GET/accounts/{account_id}/dlp/profiles/{profile_id}
DLPProfilesCustom
Get custom profile
client.zeroTrust.dlp.profiles.custom.get(stringprofileId, CustomGetParams { account_id } params, RequestOptionsoptions?): Profile
GET/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Create custom profile
client.zeroTrust.dlp.profiles.custom.create(CustomCreateParams { account_id, name, ai_context_enabled, 10 more } params, RequestOptionsoptions?): Profile
POST/accounts/{account_id}/dlp/profiles/custom
Update custom profile
client.zeroTrust.dlp.profiles.custom.update(stringprofileId, CustomUpdateParams { account_id, name, ai_context_enabled, 10 more } params, RequestOptionsoptions?): Profile
PUT/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Delete custom profile
client.zeroTrust.dlp.profiles.custom.delete(stringprofileId, CustomDeleteParams { account_id } params, RequestOptionsoptions?): CustomDeleteResponse | null
DELETE/accounts/{account_id}/dlp/profiles/custom/{profile_id}
DLPProfilesPredefined
Get predefined profile config
client.zeroTrust.dlp.profiles.predefined.get(stringprofileId, PredefinedGetParams { account_id } params, RequestOptionsoptions?): PredefinedProfile { id, allowed_match_count, confidence_threshold, 6 more }
GET/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Update predefined profile config
client.zeroTrust.dlp.profiles.predefined.update(stringprofileId, PredefinedUpdateParams { account_id, ai_context_enabled, allowed_match_count, 4 more } params, RequestOptionsoptions?): PredefinedProfile { id, allowed_match_count, confidence_threshold, 6 more }
PUT/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Delete predefined profile
client.zeroTrust.dlp.profiles.predefined.delete(stringprofileId, PredefinedDeleteParams { account_id } params, RequestOptionsoptions?): PredefinedDeleteResponse | null
DELETE/accounts/{account_id}/dlp/profiles/predefined/{profile_id}
DLPLimits
Fetch limits associated with DLP for account
client.zeroTrust.dlp.limits.list(LimitListParams { account_id } params, RequestOptionsoptions?): LimitListResponse { max_dataset_cells }
GET/accounts/{account_id}/dlp/limits
DLPEntries
List all entries
client.zeroTrust.dlp.entries.list(EntryListParams { account_id } params, RequestOptionsoptions?): SinglePage<EntryListResponse>
GET/accounts/{account_id}/dlp/entries
Get DLP Entry
client.zeroTrust.dlp.entries.get(stringentryId, EntryGetParams { account_id } params, RequestOptionsoptions?): EntryGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
Create custom entry
client.zeroTrust.dlp.entries.create(EntryCreateParams { account_id, enabled, name, 3 more } params, RequestOptionsoptions?): EntryCreateResponse { id, created_at, enabled, 5 more }
POST/accounts/{account_id}/dlp/entries
Update entry
client.zeroTrust.dlp.entries.update(stringentryId, EntryUpdateParamsparams, RequestOptionsoptions?): EntryUpdateResponse
PUT/accounts/{account_id}/dlp/entries/{entry_id}
Delete custom entry
client.zeroTrust.dlp.entries.delete(stringentryId, EntryDeleteParams { account_id } params, RequestOptionsoptions?): EntryDeleteResponse | null
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
DLPEntriesCustom
Create custom entry
client.zeroTrust.dlp.entries.custom.create(CustomCreateParams { account_id, enabled, name, 3 more } params, RequestOptionsoptions?): CustomCreateResponse { id, created_at, enabled, 5 more }
POST/accounts/{account_id}/dlp/entries
Update custom entry
client.zeroTrust.dlp.entries.custom.update(stringentryId, CustomUpdateParams { account_id, enabled, name, 2 more } params, RequestOptionsoptions?): CustomUpdateResponse { id, created_at, enabled, 5 more }
PUT/accounts/{account_id}/dlp/entries/custom/{entry_id}
Delete custom entry
client.zeroTrust.dlp.entries.custom.delete(stringentryId, CustomDeleteParams { account_id } params, RequestOptionsoptions?): CustomDeleteResponse | null
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
Get DLP Entry
client.zeroTrust.dlp.entries.custom.get(stringentryId, CustomGetParams { account_id } params, RequestOptionsoptions?): CustomGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.zeroTrust.dlp.entries.custom.list(CustomListParams { account_id } params, RequestOptionsoptions?): SinglePage<CustomListResponse>
GET/accounts/{account_id}/dlp/entries
DLPEntriesPredefined
Create predefined entry
client.zeroTrust.dlp.entries.predefined.create(PredefinedCreateParams { account_id, enabled, entry_id, profile_id } params, RequestOptionsoptions?): PredefinedCreateResponse { id, confidence, enabled, 3 more }
POST/accounts/{account_id}/dlp/entries/predefined
Update predefined entry
client.zeroTrust.dlp.entries.predefined.update(stringentryId, PredefinedUpdateParams { account_id, enabled } params, RequestOptionsoptions?): PredefinedUpdateResponse { id, confidence, enabled, 3 more }
PUT/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Delete predefined entry
client.zeroTrust.dlp.entries.predefined.delete(stringentryId, PredefinedDeleteParams { account_id } params, RequestOptionsoptions?): PredefinedDeleteResponse | null
DELETE/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Get DLP Entry
client.zeroTrust.dlp.entries.predefined.get(stringentryId, PredefinedGetParams { account_id } params, RequestOptionsoptions?): PredefinedGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.zeroTrust.dlp.entries.predefined.list(PredefinedListParams { account_id } params, RequestOptionsoptions?): SinglePage<PredefinedListResponse>
GET/accounts/{account_id}/dlp/entries
DLPEntriesIntegration
Create integration entry
client.zeroTrust.dlp.entries.integration.create(IntegrationCreateParams { account_id, enabled, entry_id, profile_id } params, RequestOptionsoptions?): IntegrationCreateResponse { id, created_at, enabled, 3 more }
POST/accounts/{account_id}/dlp/entries/integration
Update integration entry
client.zeroTrust.dlp.entries.integration.update(stringentryId, IntegrationUpdateParams { account_id, enabled } params, RequestOptionsoptions?): IntegrationUpdateResponse { id, created_at, enabled, 3 more }
PUT/accounts/{account_id}/dlp/entries/integration/{entry_id}
Delete integration entry
client.zeroTrust.dlp.entries.integration.delete(stringentryId, IntegrationDeleteParams { account_id } params, RequestOptionsoptions?): IntegrationDeleteResponse | null
DELETE/accounts/{account_id}/dlp/entries/integration/{entry_id}
Get DLP Entry
client.zeroTrust.dlp.entries.integration.get(stringentryId, IntegrationGetParams { account_id } params, RequestOptionsoptions?): IntegrationGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.zeroTrust.dlp.entries.integration.list(IntegrationListParams { account_id } params, RequestOptionsoptions?): SinglePage<IntegrationListResponse>
GET/accounts/{account_id}/dlp/entries