DLP
DLPCustom Prompt Topics
List custom prompt topics
client.ZeroTrust.DLP.CustomPromptTopics.List(ctx, query) (*SinglePage[CustomPromptTopic], error)
GET/accounts/{account_id}/dlp/custom_prompt_topics
Get custom prompt topic
client.ZeroTrust.DLP.CustomPromptTopics.Get(ctx, entryID, query) (*CustomPromptTopic, error)
GET/accounts/{account_id}/dlp/custom_prompt_topics/{entry_id}
Create custom prompt topic
client.ZeroTrust.DLP.CustomPromptTopics.New(ctx, params) (*CustomPromptTopic, error)
POST/accounts/{account_id}/dlp/custom_prompt_topics
Update custom prompt topic
client.ZeroTrust.DLP.CustomPromptTopics.Update(ctx, entryID, params) (*CustomPromptTopic, error)
PUT/accounts/{account_id}/dlp/custom_prompt_topics/{entry_id}
Delete custom prompt topic
client.ZeroTrust.DLP.CustomPromptTopics.Delete(ctx, entryID, body) (*DLPCustomPromptTopicDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/custom_prompt_topics/{entry_id}
DLPDatasets
Fetch all datasets
client.ZeroTrust.DLP.Datasets.List(ctx, query) (*SinglePage[Dataset], error)
GET/accounts/{account_id}/dlp/datasets
Fetch a specific dataset
client.ZeroTrust.DLP.Datasets.Get(ctx, datasetID, query) (*Dataset, error)
GET/accounts/{account_id}/dlp/datasets/{dataset_id}
Create a new dataset
client.ZeroTrust.DLP.Datasets.New(ctx, params) (*DatasetCreation, error)
POST/accounts/{account_id}/dlp/datasets
Update details about a dataset
client.ZeroTrust.DLP.Datasets.Update(ctx, datasetID, params) (*Dataset, error)
PUT/accounts/{account_id}/dlp/datasets/{dataset_id}
Delete a dataset
client.ZeroTrust.DLP.Datasets.Delete(ctx, datasetID, body) error
DELETE/accounts/{account_id}/dlp/datasets/{dataset_id}
DLPDatasetsUpload
Prepare to upload a new version of a dataset
client.ZeroTrust.DLP.Datasets.Upload.New(ctx, datasetID, body) (*NewVersion, error)
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload
Upload a new version of a dataset
client.ZeroTrust.DLP.Datasets.Upload.Edit(ctx, datasetID, version, dataset, params) (*Dataset, error)
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.New(ctx, datasetID, version, params) (*SinglePage[DLPDatasetVersionNewResponse], error)
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.New(ctx, datasetID, version, entryID, datasetVersionEntry, params) (*DLPDatasetVersionEntryNewResponse, error)
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}/entries/{entry_id}
DLPPatterns
Validate a DLP regex pattern
client.ZeroTrust.DLP.Patterns.Validate(ctx, params) (*DLPPatternValidateResponse, error)
POST/accounts/{account_id}/dlp/patterns/validate
DLPPayload Logs
Get payload log settings
client.ZeroTrust.DLP.PayloadLogs.Get(ctx, query) (*DLPPayloadLogGetResponse, error)
GET/accounts/{account_id}/dlp/payload_log
Set payload log settings
client.ZeroTrust.DLP.PayloadLogs.Update(ctx, params) (*DLPPayloadLogUpdateResponse, error)
PUT/accounts/{account_id}/dlp/payload_log
DLPSettings
Get DLP account-level settings.
client.ZeroTrust.DLP.Settings.Get(ctx, query) (*DLPSettings, error)
GET/accounts/{account_id}/dlp/settings
Update DLP account-level settings (full replacement).
client.ZeroTrust.DLP.Settings.Update(ctx, params) (*DLPSettings, error)
PUT/accounts/{account_id}/dlp/settings
Partially update DLP account-level settings.
client.ZeroTrust.DLP.Settings.Edit(ctx, params) (*DLPSettings, error)
PATCH/accounts/{account_id}/dlp/settings
Delete (reset) DLP account-level settings to initial values.
client.ZeroTrust.DLP.Settings.Delete(ctx, body) (*DLPSettings, error)
DELETE/accounts/{account_id}/dlp/settings
DLPEmail
DLPEmailAccount Mapping
Get mapping
client.ZeroTrust.DLP.Email.AccountMapping.Get(ctx, query) (*DLPEmailAccountMappingGetResponse, error)
GET/accounts/{account_id}/dlp/email/account_mapping
Create mapping
client.ZeroTrust.DLP.Email.AccountMapping.New(ctx, params) (*DLPEmailAccountMappingNewResponse, error)
POST/accounts/{account_id}/dlp/email/account_mapping
DLPEmailRules
List all email scanner rules
client.ZeroTrust.DLP.Email.Rules.List(ctx, query) (*SinglePage[DLPEmailRuleListResponse], error)
GET/accounts/{account_id}/dlp/email/rules
Get an email scanner rule
client.ZeroTrust.DLP.Email.Rules.Get(ctx, ruleID, query) (*DLPEmailRuleGetResponse, error)
GET/accounts/{account_id}/dlp/email/rules/{rule_id}
Create email scanner rule
client.ZeroTrust.DLP.Email.Rules.New(ctx, params) (*DLPEmailRuleNewResponse, error)
POST/accounts/{account_id}/dlp/email/rules
Update email scanner rule
client.ZeroTrust.DLP.Email.Rules.Update(ctx, ruleID, params) (*DLPEmailRuleUpdateResponse, error)
PUT/accounts/{account_id}/dlp/email/rules/{rule_id}
Delete email scanner rule
client.ZeroTrust.DLP.Email.Rules.Delete(ctx, ruleID, body) (*DLPEmailRuleDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/email/rules/{rule_id}
Update email scanner rule priorities
client.ZeroTrust.DLP.Email.Rules.BulkEdit(ctx, params) (*DLPEmailRuleBulkEditResponse, error)
PATCH/accounts/{account_id}/dlp/email/rules
DLPProfiles
List all profiles
client.ZeroTrust.DLP.Profiles.List(ctx, params) (*SinglePage[Profile], error)
GET/accounts/{account_id}/dlp/profiles
Get DLP Profile
client.ZeroTrust.DLP.Profiles.Get(ctx, profileID, query) (*Profile, error)
GET/accounts/{account_id}/dlp/profiles/{profile_id}
DLPProfilesCustom
Get custom profile
client.ZeroTrust.DLP.Profiles.Custom.Get(ctx, profileID, query) (*Profile, error)
GET/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Create custom profile
client.ZeroTrust.DLP.Profiles.Custom.New(ctx, params) (*Profile, error)
POST/accounts/{account_id}/dlp/profiles/custom
Update custom profile
client.ZeroTrust.DLP.Profiles.Custom.Update(ctx, profileID, params) (*Profile, error)
PUT/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Delete custom profile
client.ZeroTrust.DLP.Profiles.Custom.Delete(ctx, profileID, body) (*DLPProfileCustomDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/profiles/custom/{profile_id}
DLPProfilesPredefined
Get predefined profile config
client.ZeroTrust.DLP.Profiles.Predefined.Get(ctx, profileID, query) (*PredefinedProfile, error)
GET/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Update predefined profile config
client.ZeroTrust.DLP.Profiles.Predefined.Update(ctx, profileID, params) (*PredefinedProfile, error)
PUT/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Delete predefined profile
client.ZeroTrust.DLP.Profiles.Predefined.Delete(ctx, profileID, body) (*DLPProfilePredefinedDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/profiles/predefined/{profile_id}
DLPLimits
Fetch limits associated with DLP for account
client.ZeroTrust.DLP.Limits.List(ctx, query) (*DLPLimitListResponse, error)
GET/accounts/{account_id}/dlp/limits
DLPEntries
List all entries
client.ZeroTrust.DLP.Entries.List(ctx, query) (*SinglePage[DLPEntryListResponse], error)
GET/accounts/{account_id}/dlp/entries
Get DLP Entry
client.ZeroTrust.DLP.Entries.Get(ctx, entryID, query) (*DLPEntryGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
Create custom entry
client.ZeroTrust.DLP.Entries.New(ctx, params) (*DLPEntryNewResponse, error)
POST/accounts/{account_id}/dlp/entries
Update entry
client.ZeroTrust.DLP.Entries.Update(ctx, entryID, params) (*DLPEntryUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/{entry_id}
Delete custom entry
client.ZeroTrust.DLP.Entries.Delete(ctx, entryID, body) (*DLPEntryDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
DLPEntriesCustom
Create custom entry
client.ZeroTrust.DLP.Entries.Custom.New(ctx, params) (*DLPEntryCustomNewResponse, error)
POST/accounts/{account_id}/dlp/entries
Update custom entry
client.ZeroTrust.DLP.Entries.Custom.Update(ctx, entryID, params) (*DLPEntryCustomUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/custom/{entry_id}
Delete custom entry
client.ZeroTrust.DLP.Entries.Custom.Delete(ctx, entryID, body) (*DLPEntryCustomDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
Get DLP Entry
client.ZeroTrust.DLP.Entries.Custom.Get(ctx, entryID, query) (*DLPEntryCustomGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.ZeroTrust.DLP.Entries.Custom.List(ctx, query) (*SinglePage[DLPEntryCustomListResponse], error)
GET/accounts/{account_id}/dlp/entries
DLPEntriesPredefined
Create predefined entry
client.ZeroTrust.DLP.Entries.Predefined.New(ctx, params) (*DLPEntryPredefinedNewResponse, error)
POST/accounts/{account_id}/dlp/entries/predefined
Update predefined entry
client.ZeroTrust.DLP.Entries.Predefined.Update(ctx, entryID, params) (*DLPEntryPredefinedUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Delete predefined entry
client.ZeroTrust.DLP.Entries.Predefined.Delete(ctx, entryID, body) (*DLPEntryPredefinedDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Get DLP Entry
client.ZeroTrust.DLP.Entries.Predefined.Get(ctx, entryID, query) (*DLPEntryPredefinedGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.ZeroTrust.DLP.Entries.Predefined.List(ctx, query) (*SinglePage[DLPEntryPredefinedListResponse], error)
GET/accounts/{account_id}/dlp/entries
DLPEntriesIntegration
Create integration entry
client.ZeroTrust.DLP.Entries.Integration.New(ctx, params) (*DLPEntryIntegrationNewResponse, error)
POST/accounts/{account_id}/dlp/entries/integration
Update integration entry
client.ZeroTrust.DLP.Entries.Integration.Update(ctx, entryID, params) (*DLPEntryIntegrationUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/integration/{entry_id}
Delete integration entry
client.ZeroTrust.DLP.Entries.Integration.Delete(ctx, entryID, body) (*DLPEntryIntegrationDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/integration/{entry_id}
Get DLP Entry
client.ZeroTrust.DLP.Entries.Integration.Get(ctx, entryID, query) (*DLPEntryIntegrationGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.ZeroTrust.DLP.Entries.Integration.List(ctx, query) (*SinglePage[DLPEntryIntegrationListResponse], error)
GET/accounts/{account_id}/dlp/entries
DLPSensitivity Groups
Retrieve all sensitivity groups in an account
client.ZeroTrust.DLP.SensitivityGroups.List(ctx, query) (*SinglePage[DLPSensitivityGroupListResponse], error)
GET/accounts/{account_id}/dlp/sensitivity_groups
Retrieve a specific sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.Get(ctx, sensitivityGroupID, query) (*DLPSensitivityGroupGetResponse, error)
GET/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}
Creates a new sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.New(ctx, params) (*DLPSensitivityGroupNewResponse, error)
POST/accounts/{account_id}/dlp/sensitivity_groups
Update the attributes of a single sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.Update(ctx, sensitivityGroupID, params) (*DLPSensitivityGroupUpdateResponse, error)
PUT/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}
Delete a single sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.Delete(ctx, sensitivityGroupID, body) (*DLPSensitivityGroupDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}
DLPSensitivity GroupsLevels
Retrieve all sensitivity levels in a sensitivity group
client.ZeroTrust.DLP.SensitivityGroups.Levels.List(ctx, sensitivityGroupID, query) (*SinglePage[DLPSensitivityGroupLevelListResponse], error)
GET/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels
Retrieve a specific sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Get(ctx, sensitivityGroupID, sensitivityLevelID, query) (*DLPSensitivityGroupLevelGetResponse, error)
GET/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}
Creates a new sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.New(ctx, sensitivityGroupID, params) (*DLPSensitivityGroupLevelNewResponse, error)
POST/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels
Update the attributes of a single sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Update(ctx, sensitivityGroupID, sensitivityLevelID, params) (*DLPSensitivityGroupLevelUpdateResponse, error)
PUT/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}
Delete a single sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Delete(ctx, sensitivityGroupID, sensitivityLevelID, body) (*DLPSensitivityGroupLevelDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}
DLPSensitivity GroupsLevelsOrder
Retrieve the ordered list of level IDs for a sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Order.Get(ctx, sensitivityGroupID, query) (*DLPSensitivityGroupLevelOrderGetResponse, error)
GET/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/level_order
Set the ordering of levels within a sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Order.Update(ctx, sensitivityGroupID, params) (*DLPSensitivityGroupLevelOrderUpdateResponse, error)
PUT/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/level_order
DLPData Tag Categories
Retrieve all data tag categories in an account
client.ZeroTrust.DLP.DataTagCategories.List(ctx, query) (*SinglePage[DLPDataTagCategoryListResponse], error)
GET/accounts/{account_id}/dlp/data_tag_categories
Retrieve a specific data tag category.
client.ZeroTrust.DLP.DataTagCategories.Get(ctx, categoryID, query) (*DLPDataTagCategoryGetResponse, error)
GET/accounts/{account_id}/dlp/data_tag_categories/{category_id}
Creates a new data tag category.
client.ZeroTrust.DLP.DataTagCategories.New(ctx, params) (*DLPDataTagCategoryNewResponse, error)
POST/accounts/{account_id}/dlp/data_tag_categories
Update the attributes of a single data tag category.
client.ZeroTrust.DLP.DataTagCategories.Update(ctx, categoryID, params) (*DLPDataTagCategoryUpdateResponse, error)
PUT/accounts/{account_id}/dlp/data_tag_categories/{category_id}
Delete a single data tag category.
client.ZeroTrust.DLP.DataTagCategories.Delete(ctx, categoryID, body) (*DLPDataTagCategoryDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/data_tag_categories/{category_id}
DLPData Tag CategoriesData Tags
Retrieve all data tags in a data tag category
client.ZeroTrust.DLP.DataTagCategories.DataTags.List(ctx, categoryID, query) (*SinglePage[DLPDataTagCategoryDataTagListResponse], error)
GET/accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags
Retrieve a specific data tag.
client.ZeroTrust.DLP.DataTagCategories.DataTags.Get(ctx, categoryID, tagID, query) (*DLPDataTagCategoryDataTagGetResponse, error)
GET/accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags/{tag_id}
Creates a new data tag.
client.ZeroTrust.DLP.DataTagCategories.DataTags.New(ctx, categoryID, params) (*DLPDataTagCategoryDataTagNewResponse, error)
POST/accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags
Update the attributes of a single data tag.
client.ZeroTrust.DLP.DataTagCategories.DataTags.Update(ctx, categoryID, tagID, params) (*DLPDataTagCategoryDataTagUpdateResponse, error)
PUT/accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags/{tag_id}
Delete a single data tag.
client.ZeroTrust.DLP.DataTagCategories.DataTags.Delete(ctx, categoryID, tagID, body) (*DLPDataTagCategoryDataTagDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags/{tag_id}
DLPData Classes
Retrieve all data classes in an account
client.ZeroTrust.DLP.DataClasses.List(ctx, query) (*SinglePage[DLPDataClassListResponse], error)
GET/accounts/{account_id}/dlp/data_classes
Retrieve a specific data class
client.ZeroTrust.DLP.DataClasses.Get(ctx, dataClassID, query) (*DLPDataClassGetResponse, error)
GET/accounts/{account_id}/dlp/data_classes/{data_class_id}
Creates a new data class
client.ZeroTrust.DLP.DataClasses.New(ctx, params) (*DLPDataClassNewResponse, error)
POST/accounts/{account_id}/dlp/data_classes
Update the attributes of a single data class
client.ZeroTrust.DLP.DataClasses.Update(ctx, dataClassID, params) (*DLPDataClassUpdateResponse, error)
PUT/accounts/{account_id}/dlp/data_classes/{data_class_id}
Delete a single data class
client.ZeroTrust.DLP.DataClasses.Delete(ctx, dataClassID, body) (*DLPDataClassDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/data_classes/{data_class_id}