Skip to content
Start here

Settings

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.