Skip to content
Start here

Settings

Get DLP account-level settings.
zero_trust.dlp.settings.get(SettingGetParams**kwargs) -> DLPSettings
GET/accounts/{account_id}/dlp/settings
Update DLP account-level settings (full replacement).
zero_trust.dlp.settings.update(SettingUpdateParams**kwargs) -> DLPSettings
PUT/accounts/{account_id}/dlp/settings
Partially update DLP account-level settings.
zero_trust.dlp.settings.edit(SettingEditParams**kwargs) -> DLPSettings
PATCH/accounts/{account_id}/dlp/settings
Delete (reset) DLP account-level settings to initial values.
zero_trust.dlp.settings.delete(SettingDeleteParams**kwargs) -> DLPSettings
DELETE/accounts/{account_id}/dlp/settings
ModelsExpand Collapse
class DLPSettings:

DLP account-level settings response.

ai_context_analysis: bool

Whether AI context analysis is enabled at the account level.

ocr: bool

Whether OCR is enabled at the account level.

payload_logging: PayloadLogging
updated_at: datetime
formatdate-time
masking_level: Optional[Literal["full", "partial", "clear", "default"]]

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:
"full"
"partial"
"clear"
"default"
public_key: Optional[str]

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