Skip to content
Start here

DLP

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}
ModelsExpand Collapse
type Dataset struct{…}
ID string
formatuuid
Columns []DatasetColumn
EntryID string
formatuuid
HeaderName string
NumCells int64
formatint64
UploadStatus DatasetColumnsUploadStatus
One of the following:
const DatasetColumnsUploadStatusEmpty DatasetColumnsUploadStatus = "empty"
const DatasetColumnsUploadStatusUploading DatasetColumnsUploadStatus = "uploading"
const DatasetColumnsUploadStatusPending DatasetColumnsUploadStatus = "pending"
const DatasetColumnsUploadStatusProcessing DatasetColumnsUploadStatus = "processing"
const DatasetColumnsUploadStatusFailed DatasetColumnsUploadStatus = "failed"
const DatasetColumnsUploadStatusComplete DatasetColumnsUploadStatus = "complete"
CreatedAt Time
formatdate-time
EncodingVersion int64
formatint32
minimum0
Name string
NumCells int64
formatint64
Secret bool
Status DatasetStatus
One of the following:
const DatasetStatusEmpty DatasetStatus = "empty"
const DatasetStatusUploading DatasetStatus = "uploading"
const DatasetStatusPending DatasetStatus = "pending"
const DatasetStatusProcessing DatasetStatus = "processing"
const DatasetStatusFailed DatasetStatus = "failed"
const DatasetStatusComplete DatasetStatus = "complete"
UpdatedAt Time

Stores when the dataset was last updated.

This includes name or description changes as well as uploads.

formatdate-time
Uploads []DatasetUpload
NumCells int64
formatint64
Status DatasetUploadsStatus
One of the following:
const DatasetUploadsStatusEmpty DatasetUploadsStatus = "empty"
const DatasetUploadsStatusUploading DatasetUploadsStatus = "uploading"
const DatasetUploadsStatusPending DatasetUploadsStatus = "pending"
const DatasetUploadsStatusProcessing DatasetUploadsStatus = "processing"
const DatasetUploadsStatusFailed DatasetUploadsStatus = "failed"
const DatasetUploadsStatusComplete DatasetUploadsStatus = "complete"
Version int64
formatint64
CaseSensitive boolOptional
Description stringOptional

The description of the dataset.

type DatasetArray []Dataset
ID string
formatuuid
Columns []DatasetColumn
EntryID string
formatuuid
HeaderName string
NumCells int64
formatint64
UploadStatus DatasetColumnsUploadStatus
One of the following:
const DatasetColumnsUploadStatusEmpty DatasetColumnsUploadStatus = "empty"
const DatasetColumnsUploadStatusUploading DatasetColumnsUploadStatus = "uploading"
const DatasetColumnsUploadStatusPending DatasetColumnsUploadStatus = "pending"
const DatasetColumnsUploadStatusProcessing DatasetColumnsUploadStatus = "processing"
const DatasetColumnsUploadStatusFailed DatasetColumnsUploadStatus = "failed"
const DatasetColumnsUploadStatusComplete DatasetColumnsUploadStatus = "complete"
CreatedAt Time
formatdate-time
EncodingVersion int64
formatint32
minimum0
Name string
NumCells int64
formatint64
Secret bool
Status DatasetStatus
One of the following:
const DatasetStatusEmpty DatasetStatus = "empty"
const DatasetStatusUploading DatasetStatus = "uploading"
const DatasetStatusPending DatasetStatus = "pending"
const DatasetStatusProcessing DatasetStatus = "processing"
const DatasetStatusFailed DatasetStatus = "failed"
const DatasetStatusComplete DatasetStatus = "complete"
UpdatedAt Time

Stores when the dataset was last updated.

This includes name or description changes as well as uploads.

formatdate-time
Uploads []DatasetUpload
NumCells int64
formatint64
Status DatasetUploadsStatus
One of the following:
const DatasetUploadsStatusEmpty DatasetUploadsStatus = "empty"
const DatasetUploadsStatusUploading DatasetUploadsStatus = "uploading"
const DatasetUploadsStatusPending DatasetUploadsStatus = "pending"
const DatasetUploadsStatusProcessing DatasetUploadsStatus = "processing"
const DatasetUploadsStatusFailed DatasetUploadsStatus = "failed"
const DatasetUploadsStatusComplete DatasetUploadsStatus = "complete"
Version int64
formatint64
CaseSensitive boolOptional
Description stringOptional

The description of the dataset.

type DatasetCreation struct{…}
Dataset Dataset
EncodingVersion int64

Encoding version to use for dataset.

formatint32
minimum0
MaxCells int64
formatint64
minimum0
Version int64

The version to use when uploading the dataset.

formatint64
Secret stringOptional

The secret to use for Exact Data Match datasets.

This is not present in Custom Wordlists.

formatpassword

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}
ModelsExpand Collapse
type NewVersion struct{…}
EncodingVersion int64
formatint32
minimum0
MaxCells int64
formatint64
minimum0
Version int64
formatint64
CaseSensitive boolOptional
Columns []NewVersionColumnOptional
EntryID string
formatuuid
HeaderName string
NumCells int64
formatint64
UploadStatus NewVersionColumnsUploadStatus
One of the following:
const NewVersionColumnsUploadStatusEmpty NewVersionColumnsUploadStatus = "empty"
const NewVersionColumnsUploadStatusUploading NewVersionColumnsUploadStatus = "uploading"
const NewVersionColumnsUploadStatusPending NewVersionColumnsUploadStatus = "pending"
const NewVersionColumnsUploadStatusProcessing NewVersionColumnsUploadStatus = "processing"
const NewVersionColumnsUploadStatusFailed NewVersionColumnsUploadStatus = "failed"
const NewVersionColumnsUploadStatusComplete NewVersionColumnsUploadStatus = "complete"
Secret stringOptional
formatpassword

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
ModelsExpand Collapse
type DLPSettings struct{…}

DLP account-level settings response.

AIContextAnalysis bool

Whether AI context analysis is enabled at the account level.

OCR bool

Whether OCR is enabled at the account level.

PayloadLogging DLPSettingsPayloadLogging
UpdatedAt Time
formatdate-time
MaskingLevel DLPSettingsPayloadLoggingMaskingLevelOptional

Masking level for payload logs.

  • full: The entire payload is masked.
  • partial: Only partial payload content is masked.
  • clear: No masking is applied to the payload content.
  • default: DLP uses its default masking behavior.
One of the following:
const DLPSettingsPayloadLoggingMaskingLevelFull DLPSettingsPayloadLoggingMaskingLevel = "full"
const DLPSettingsPayloadLoggingMaskingLevelPartial DLPSettingsPayloadLoggingMaskingLevel = "partial"
const DLPSettingsPayloadLoggingMaskingLevelClear DLPSettingsPayloadLoggingMaskingLevel = "clear"
const DLPSettingsPayloadLoggingMaskingLevelDefault DLPSettingsPayloadLoggingMaskingLevel = "default"
PublicKey stringOptional

Base64-encoded public key for encrypting payload logs. Null when payload logging is disabled.

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}
ModelsExpand Collapse
type ContextAwareness struct{…}

Scan the context of predefined entries to only return matches surrounded by keywords.

Enabled bool

If true, scan the context of predefined entries to only return matches surrounded by keywords.

type Profile interface{…}
One of the following:
type ProfileCustomProfile struct{…}
ID string

The id of the profile (uuid).

formatuuid
AllowedMatchCount int64

Related DLP policies will trigger when the match count exceeds the number set.

formatint32
maximum1000
minimum0
CreatedAt Time

When the profile was created.

formatdate-time
Name string

The name of the profile.

OCREnabled bool
Type ProfileCustomProfileType
UpdatedAt Time

When the profile was lasted updated.

formatdate-time
AIContextEnabled boolOptional
ConfidenceThreshold ProfileCustomProfileConfidenceThresholdOptional
One of the following:
const ProfileCustomProfileConfidenceThresholdLow ProfileCustomProfileConfidenceThreshold = "low"
const ProfileCustomProfileConfidenceThresholdMedium ProfileCustomProfileConfidenceThreshold = "medium"
const ProfileCustomProfileConfidenceThresholdHigh ProfileCustomProfileConfidenceThreshold = "high"
const ProfileCustomProfileConfidenceThresholdVeryHigh ProfileCustomProfileConfidenceThreshold = "very_high"
DeprecatedContextAwareness ContextAwarenessOptional

Scan the context of predefined entries to only return matches surrounded by keywords.

DataClasses []stringOptional

Data classes associated with this profile.

DataTags []stringOptional

Data tags associated with this profile.

Description stringOptional

The description of the profile.

DeprecatedEntries []ProfileCustomProfileEntryOptional
One of the following:
type ProfileCustomProfileEntriesCustomEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type ProfileCustomProfileEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
type ProfileCustomProfileEntriesCustomPromptTopicEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type ProfileCustomProfileEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
type ProfileCustomProfileEntriesPredefinedEntry struct{…}
ID string
formatuuid
Confidence ProfileCustomProfileEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type ProfileCustomProfileEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant ProfileCustomProfileEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
type ProfileCustomProfileEntriesPredefinedEntryVariantObject struct{…}

A Predefined AI prompt classification topic entry.

TopicType ProfileCustomProfileEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const ProfileCustomProfileEntriesPredefinedEntryVariantObjectTopicTypeIntent ProfileCustomProfileEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const ProfileCustomProfileEntriesPredefinedEntryVariantObjectTopicTypeContent ProfileCustomProfileEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type ProfileCustomProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

type ProfileCustomProfileEntriesPredefinedEntryVariantObject struct{…}

A general predefined entry.

Type ProfileCustomProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

type ProfileCustomProfileEntriesIntegrationEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileCustomProfileEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
type ProfileCustomProfileEntriesExactDataEntry struct{…}
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type ProfileCustomProfileEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
type ProfileCustomProfileEntriesDocumentFingerprintEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileCustomProfileEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
type ProfileCustomProfileEntriesWordListEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileCustomProfileEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
SensitivityLevels []ProfileCustomProfileSensitivityLevelOptional

Sensitivity levels associated with this profile.

GroupID string
formatuuid
LevelID string
formatuuid
SharedEntries []ProfileCustomProfileSharedEntryOptional
One of the following:
type ProfileCustomProfileSharedEntriesCustomEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type ProfileCustomProfileSharedEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
type ProfileCustomProfileSharedEntriesCustomPromptTopicEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type ProfileCustomProfileSharedEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
type ProfileCustomProfileSharedEntriesPredefinedEntry struct{…}
ID string
formatuuid
Confidence ProfileCustomProfileSharedEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type ProfileCustomProfileSharedEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant ProfileCustomProfileSharedEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
type ProfileCustomProfileSharedEntriesPredefinedEntryVariantObject struct{…}

A Predefined AI prompt classification topic entry.

TopicType ProfileCustomProfileSharedEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const ProfileCustomProfileSharedEntriesPredefinedEntryVariantObjectTopicTypeIntent ProfileCustomProfileSharedEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const ProfileCustomProfileSharedEntriesPredefinedEntryVariantObjectTopicTypeContent ProfileCustomProfileSharedEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type ProfileCustomProfileSharedEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

type ProfileCustomProfileSharedEntriesPredefinedEntryVariantObject struct{…}

A general predefined entry.

Type ProfileCustomProfileSharedEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

type ProfileCustomProfileSharedEntriesIntegrationEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileCustomProfileSharedEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
type ProfileCustomProfileSharedEntriesExactDataEntry struct{…}
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type ProfileCustomProfileSharedEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
type ProfileCustomProfileSharedEntriesDocumentFingerprintEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileCustomProfileSharedEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
type ProfileCustomProfileSharedEntriesWordListEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileCustomProfileSharedEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
type ProfilePredefinedProfile struct{…}
ID string

The id of the predefined profile (uuid).

formatuuid
AllowedMatchCount int64
formatint32
DeprecatedEntries []ProfilePredefinedProfileEntry
One of the following:
type ProfilePredefinedProfileEntriesCustomEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type ProfilePredefinedProfileEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
type ProfilePredefinedProfileEntriesCustomPromptTopicEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type ProfilePredefinedProfileEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
type ProfilePredefinedProfileEntriesPredefinedEntry struct{…}
ID string
formatuuid
Confidence ProfilePredefinedProfileEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type ProfilePredefinedProfileEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant ProfilePredefinedProfileEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
type ProfilePredefinedProfileEntriesPredefinedEntryVariantObject struct{…}

A Predefined AI prompt classification topic entry.

TopicType ProfilePredefinedProfileEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const ProfilePredefinedProfileEntriesPredefinedEntryVariantObjectTopicTypeIntent ProfilePredefinedProfileEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const ProfilePredefinedProfileEntriesPredefinedEntryVariantObjectTopicTypeContent ProfilePredefinedProfileEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type ProfilePredefinedProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

type ProfilePredefinedProfileEntriesPredefinedEntryVariantObject struct{…}

A general predefined entry.

Type ProfilePredefinedProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

type ProfilePredefinedProfileEntriesIntegrationEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfilePredefinedProfileEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
type ProfilePredefinedProfileEntriesExactDataEntry struct{…}
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type ProfilePredefinedProfileEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
type ProfilePredefinedProfileEntriesDocumentFingerprintEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfilePredefinedProfileEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
type ProfilePredefinedProfileEntriesWordListEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfilePredefinedProfileEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
Name string

The name of the predefined profile.

Type ProfilePredefinedProfileType
AIContextEnabled boolOptional
ConfidenceThreshold ProfilePredefinedProfileConfidenceThresholdOptional
One of the following:
const ProfilePredefinedProfileConfidenceThresholdLow ProfilePredefinedProfileConfidenceThreshold = "low"
const ProfilePredefinedProfileConfidenceThresholdMedium ProfilePredefinedProfileConfidenceThreshold = "medium"
const ProfilePredefinedProfileConfidenceThresholdHigh ProfilePredefinedProfileConfidenceThreshold = "high"
const ProfilePredefinedProfileConfidenceThresholdVeryHigh ProfilePredefinedProfileConfidenceThreshold = "very_high"
DeprecatedContextAwareness ContextAwarenessOptional

Scan the context of predefined entries to only return matches surrounded by keywords.

OCREnabled boolOptional
OpenAccess boolOptional

Whether this profile can be accessed by anyone.

type ProfileIntegrationProfile struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEntries []ProfileIntegrationProfileEntry
One of the following:
type ProfileIntegrationProfileEntriesCustomEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type ProfileIntegrationProfileEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
type ProfileIntegrationProfileEntriesCustomPromptTopicEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type ProfileIntegrationProfileEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
type ProfileIntegrationProfileEntriesPredefinedEntry struct{…}
ID string
formatuuid
Confidence ProfileIntegrationProfileEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type ProfileIntegrationProfileEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant ProfileIntegrationProfileEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
type ProfileIntegrationProfileEntriesPredefinedEntryVariantObject struct{…}

A Predefined AI prompt classification topic entry.

TopicType ProfileIntegrationProfileEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const ProfileIntegrationProfileEntriesPredefinedEntryVariantObjectTopicTypeIntent ProfileIntegrationProfileEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const ProfileIntegrationProfileEntriesPredefinedEntryVariantObjectTopicTypeContent ProfileIntegrationProfileEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type ProfileIntegrationProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

type ProfileIntegrationProfileEntriesPredefinedEntryVariantObject struct{…}

A general predefined entry.

Type ProfileIntegrationProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

type ProfileIntegrationProfileEntriesIntegrationEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileIntegrationProfileEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
type ProfileIntegrationProfileEntriesExactDataEntry struct{…}
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type ProfileIntegrationProfileEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
type ProfileIntegrationProfileEntriesDocumentFingerprintEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileIntegrationProfileEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
type ProfileIntegrationProfileEntriesWordListEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileIntegrationProfileEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
Name string
SharedEntries []ProfileIntegrationProfileSharedEntry
One of the following:
type ProfileIntegrationProfileSharedEntriesCustomEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type ProfileIntegrationProfileSharedEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
type ProfileIntegrationProfileSharedEntriesCustomPromptTopicEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type ProfileIntegrationProfileSharedEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
type ProfileIntegrationProfileSharedEntriesPredefinedEntry struct{…}
ID string
formatuuid
Confidence ProfileIntegrationProfileSharedEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type ProfileIntegrationProfileSharedEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
type ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObject struct{…}

A Predefined AI prompt classification topic entry.

TopicType ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObjectTopicTypeIntent ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObjectTopicTypeContent ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

type ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObject struct{…}

A general predefined entry.

Type ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

type ProfileIntegrationProfileSharedEntriesIntegrationEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileIntegrationProfileSharedEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
type ProfileIntegrationProfileSharedEntriesExactDataEntry struct{…}
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type ProfileIntegrationProfileSharedEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
type ProfileIntegrationProfileSharedEntriesDocumentFingerprintEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileIntegrationProfileSharedEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
type ProfileIntegrationProfileSharedEntriesWordListEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type ProfileIntegrationProfileSharedEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
Type ProfileIntegrationProfileType
UpdatedAt Time
formatdate-time
Description stringOptional

The description of the profile.

type SkipConfiguration struct{…}

Content types to exclude from context analysis and return all matches.

Files bool

If the content type is a file, skip context analysis and return all matches.

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}
ModelsExpand Collapse
type CustomProfile struct{…}
ID string

The id of the profile (uuid).

formatuuid
AllowedMatchCount int64

Related DLP policies will trigger when the match count exceeds the number set.

formatint32
maximum1000
minimum0
CreatedAt Time

When the profile was created.

formatdate-time
Name string

The name of the profile.

OCREnabled bool
UpdatedAt Time

When the profile was lasted updated.

formatdate-time
AIContextEnabled boolOptional
ConfidenceThreshold CustomProfileConfidenceThresholdOptional
One of the following:
const CustomProfileConfidenceThresholdLow CustomProfileConfidenceThreshold = "low"
const CustomProfileConfidenceThresholdMedium CustomProfileConfidenceThreshold = "medium"
const CustomProfileConfidenceThresholdHigh CustomProfileConfidenceThreshold = "high"
const CustomProfileConfidenceThresholdVeryHigh CustomProfileConfidenceThreshold = "very_high"
DeprecatedContextAwareness ContextAwarenessOptional

Scan the context of predefined entries to only return matches surrounded by keywords.

DataClasses []stringOptional

Data classes associated with this profile.

DataTags []stringOptional

Data tags associated with this profile.

Description stringOptional

The description of the profile.

DeprecatedEntries []CustomProfileEntryOptional
One of the following:
CustomProfileEntriesCustomEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type CustomProfileEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
CustomProfileEntriesCustomPromptTopicEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type CustomProfileEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
CustomProfileEntriesPredefinedEntry
ID string
formatuuid
Confidence CustomProfileEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type CustomProfileEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant CustomProfileEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
CustomProfileEntriesPredefinedEntryVariantObject
TopicType CustomProfileEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const CustomProfileEntriesPredefinedEntryVariantObjectTopicTypeIntent CustomProfileEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const CustomProfileEntriesPredefinedEntryVariantObjectTopicTypeContent CustomProfileEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type CustomProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

CustomProfileEntriesPredefinedEntryVariantObject
Type CustomProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

CustomProfileEntriesIntegrationEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type CustomProfileEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
CustomProfileEntriesExactDataEntry
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type CustomProfileEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
CustomProfileEntriesDocumentFingerprintEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type CustomProfileEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
CustomProfileEntriesWordListEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type CustomProfileEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
SensitivityLevels []CustomProfileSensitivityLevelOptional

Sensitivity levels associated with this profile.

GroupID string
formatuuid
LevelID string
formatuuid
SharedEntries []CustomProfileSharedEntryOptional
One of the following:
CustomProfileSharedEntriesCustomEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type CustomProfileSharedEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
CustomProfileSharedEntriesCustomPromptTopicEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type CustomProfileSharedEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
CustomProfileSharedEntriesPredefinedEntry
ID string
formatuuid
Confidence CustomProfileSharedEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type CustomProfileSharedEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant CustomProfileSharedEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
CustomProfileSharedEntriesPredefinedEntryVariantObject
TopicType CustomProfileSharedEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const CustomProfileSharedEntriesPredefinedEntryVariantObjectTopicTypeIntent CustomProfileSharedEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const CustomProfileSharedEntriesPredefinedEntryVariantObjectTopicTypeContent CustomProfileSharedEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type CustomProfileSharedEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

CustomProfileSharedEntriesPredefinedEntryVariantObject
Type CustomProfileSharedEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

CustomProfileSharedEntriesIntegrationEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type CustomProfileSharedEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
CustomProfileSharedEntriesExactDataEntry
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type CustomProfileSharedEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
CustomProfileSharedEntriesDocumentFingerprintEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type CustomProfileSharedEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
CustomProfileSharedEntriesWordListEntry
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type CustomProfileSharedEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
type Pattern struct{…}
Regex string
DeprecatedValidation PatternValidationOptional

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}
ModelsExpand Collapse
type PredefinedProfile struct{…}
ID string

The id of the predefined profile (uuid).

formatuuid
AllowedMatchCount int64
formatint32
ConfidenceThreshold string
EnabledEntries []string

Entries to enable for this predefined profile. Any entries not provided will be disabled.

DeprecatedEntries []PredefinedProfileEntry

This field has been deprecated for enabled_entries.

One of the following:
type PredefinedProfileEntriesCustomEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Pattern Pattern
Type PredefinedProfileEntriesCustomEntryType
UpdatedAt Time
formatdate-time
Description stringOptional
DeprecatedProfileID stringOptional
formatuuid
type PredefinedProfileEntriesCustomPromptTopicEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
DeprecatedEnabled bool
Name string
Type PredefinedProfileEntriesCustomPromptTopicEntryType
UpdatedAt Time
formatdate-time
type PredefinedProfileEntriesPredefinedEntry struct{…}
ID string
formatuuid
Confidence PredefinedProfileEntriesPredefinedEntryConfidence
AIContextAvailable bool

Indicates whether this entry has AI remote service validation.

Available bool

Indicates whether this entry has any form of validation that is not an AI remote service.

Enabled bool
Name string
Type PredefinedProfileEntriesPredefinedEntryType
DeprecatedProfileID stringOptional
formatuuid
Variant PredefinedProfileEntriesPredefinedEntryVariantOptional

A Predefined AI prompt classification topic entry.

One of the following:
type PredefinedProfileEntriesPredefinedEntryVariantObject struct{…}

A Predefined AI prompt classification topic entry.

TopicType PredefinedProfileEntriesPredefinedEntryVariantObjectTopicType
One of the following:
const PredefinedProfileEntriesPredefinedEntryVariantObjectTopicTypeIntent PredefinedProfileEntriesPredefinedEntryVariantObjectTopicType = "Intent"
const PredefinedProfileEntriesPredefinedEntryVariantObjectTopicTypeContent PredefinedProfileEntriesPredefinedEntryVariantObjectTopicType = "Content"
Type PredefinedProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined AI prompt topic represents.

type PredefinedProfileEntriesPredefinedEntryVariantObject struct{…}

A general predefined entry.

Type PredefinedProfileEntriesPredefinedEntryVariantObjectType
Description stringOptional

A customer-facing explanation of what this predefined entry represents.

type PredefinedProfileEntriesIntegrationEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type PredefinedProfileEntriesIntegrationEntryType
UpdatedAt Time
formatdate-time
ProfileID stringOptional
formatuuid
type PredefinedProfileEntriesExactDataEntry struct{…}
ID string
formatuuid
CaseSensitive bool

Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true

CreatedAt Time
formatdate-time
Enabled bool
Name string
Secret bool
Type PredefinedProfileEntriesExactDataEntryType
UpdatedAt Time
formatdate-time
type PredefinedProfileEntriesDocumentFingerprintEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type PredefinedProfileEntriesDocumentFingerprintEntryType
UpdatedAt Time
formatdate-time
type PredefinedProfileEntriesWordListEntry struct{…}
ID string
formatuuid
CreatedAt Time
formatdate-time
Enabled bool
Name string
Type PredefinedProfileEntriesWordListEntryType
UpdatedAt Time
formatdate-time
WordList unknown
ProfileID stringOptional
formatuuid
Name string

The name of the predefined profile.

AIContextEnabled boolOptional
OCREnabled boolOptional
OpenAccess boolOptional

Whether this profile can be accessed by anyone.

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