DLP
DLPDatasets
Fetch all datasets
zero_trust.dlp.datasets.list(DatasetListParams**kwargs) -> SyncSinglePage[Dataset]
GET/accounts/{account_id}/dlp/datasets
Fetch a specific dataset
zero_trust.dlp.datasets.get(strdataset_id, DatasetGetParams**kwargs) -> Dataset
GET/accounts/{account_id}/dlp/datasets/{dataset_id}
Create a new dataset
zero_trust.dlp.datasets.create(DatasetCreateParams**kwargs) -> DatasetCreation
POST/accounts/{account_id}/dlp/datasets
Update details about a dataset
zero_trust.dlp.datasets.update(strdataset_id, DatasetUpdateParams**kwargs) -> Dataset
PUT/accounts/{account_id}/dlp/datasets/{dataset_id}
Delete a dataset
zero_trust.dlp.datasets.delete(strdataset_id, DatasetDeleteParams**kwargs)
DELETE/accounts/{account_id}/dlp/datasets/{dataset_id}
ModelsExpand Collapse
List[Dataset]
List[Dataset]
DLPDatasetsUpload
Prepare to upload a new version of a dataset
zero_trust.dlp.datasets.upload.create(strdataset_id, UploadCreateParams**kwargs) -> NewVersion
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload
Upload a new version of a dataset
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload/{version}
DLPDatasetsVersions
Sets the column information for a multi-column upload
zero_trust.dlp.datasets.versions.create(intversion, VersionCreateParams**kwargs) -> SyncSinglePage[VersionCreateResponse]
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}
DLPDatasetsVersionsEntries
Upload a new version of a multi-column dataset
zero_trust.dlp.datasets.versions.entries.create(strentry_id, objectdataset_version_entry, EntryCreateParams**kwargs) -> EntryCreateResponse
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}/entries/{entry_id}
DLPPatterns
Validate a DLP regex pattern
zero_trust.dlp.patterns.validate(PatternValidateParams**kwargs) -> PatternValidateResponse
POST/accounts/{account_id}/dlp/patterns/validate
DLPPayload Logs
Get payload log settings
zero_trust.dlp.payload_logs.get(PayloadLogGetParams**kwargs) -> PayloadLogGetResponse
GET/accounts/{account_id}/dlp/payload_log
Set payload log settings
zero_trust.dlp.payload_logs.update(PayloadLogUpdateParams**kwargs) -> PayloadLogUpdateResponse
PUT/accounts/{account_id}/dlp/payload_log
ModelsExpand Collapse
class PayloadLogGetResponse: …
class PayloadLogGetResponse: …
class PayloadLogUpdateResponse: …
class PayloadLogUpdateResponse: …
DLPEmail
DLPEmailAccount Mapping
Get mapping
zero_trust.dlp.email.account_mapping.get(AccountMappingGetParams**kwargs) -> AccountMappingGetResponse
GET/accounts/{account_id}/dlp/email/account_mapping
Create mapping
zero_trust.dlp.email.account_mapping.create(AccountMappingCreateParams**kwargs) -> AccountMappingCreateResponse
POST/accounts/{account_id}/dlp/email/account_mapping
ModelsExpand Collapse
DLPEmailRules
List all email scanner rules
zero_trust.dlp.email.rules.list(RuleListParams**kwargs) -> SyncSinglePage[RuleListResponse]
GET/accounts/{account_id}/dlp/email/rules
Get an email scanner rule
zero_trust.dlp.email.rules.get(strrule_id, RuleGetParams**kwargs) -> RuleGetResponse
GET/accounts/{account_id}/dlp/email/rules/{rule_id}
Create email scanner rule
zero_trust.dlp.email.rules.create(RuleCreateParams**kwargs) -> RuleCreateResponse
POST/accounts/{account_id}/dlp/email/rules
Update email scanner rule
zero_trust.dlp.email.rules.update(strrule_id, RuleUpdateParams**kwargs) -> RuleUpdateResponse
PUT/accounts/{account_id}/dlp/email/rules/{rule_id}
Delete email scanner rule
zero_trust.dlp.email.rules.delete(strrule_id, RuleDeleteParams**kwargs) -> RuleDeleteResponse
DELETE/accounts/{account_id}/dlp/email/rules/{rule_id}
Update email scanner rule priorities
zero_trust.dlp.email.rules.bulk_edit(RuleBulkEditParams**kwargs) -> RuleBulkEditResponse
PATCH/accounts/{account_id}/dlp/email/rules
ModelsExpand Collapse
DLPProfiles
List all profiles
zero_trust.dlp.profiles.list(ProfileListParams**kwargs) -> SyncSinglePage[Profile]
GET/accounts/{account_id}/dlp/profiles
Get DLP Profile
zero_trust.dlp.profiles.get(strprofile_id, ProfileGetParams**kwargs) -> Profile
GET/accounts/{account_id}/dlp/profiles/{profile_id}
ModelsExpand Collapse
One of the following:
class CustomProfile: …
class CustomProfile: …
allowed_match_count: int
Related DLP policies will trigger when the match count exceeds the number set.
formatint32
maximum1000
minimum0
Deprecatedcontext_awareness: Optional[ContextAwareness]
Scan the context of predefined entries to only return matches surrounded by keywords.
Deprecatedentries: Optional[List[CustomProfileEntry]]
Deprecatedentries: Optional[List[CustomProfileEntry]]
One of the following:
class CustomProfileEntryExactDataEntry: …
class CustomProfileEntryExactDataEntry: …
sensitivity_levels: Optional[List[List[str]]]
Sensitivity levels associated with this profile as (group_id, level_id) tuples.
shared_entries: Optional[List[CustomProfileSharedEntry]]
shared_entries: Optional[List[CustomProfileSharedEntry]]
One of the following:
class CustomProfileSharedEntryPredefinedEntry: …
class CustomProfileSharedEntryPredefinedEntry: …
class CustomProfileSharedEntryExactDataEntry: …
class CustomProfileSharedEntryExactDataEntry: …
class PredefinedProfile: …
class PredefinedProfile: …
Deprecatedentries: List[PredefinedProfileEntry]
Deprecatedentries: List[PredefinedProfileEntry]
One of the following:
class PredefinedProfileEntryPredefinedEntry: …
class PredefinedProfileEntryPredefinedEntry: …
class PredefinedProfileEntryExactDataEntry: …
class PredefinedProfileEntryExactDataEntry: …
class IntegrationProfile: …
class IntegrationProfile: …
Deprecatedentries: List[IntegrationProfileEntry]
Deprecatedentries: List[IntegrationProfileEntry]
One of the following:
class IntegrationProfileEntryPredefinedEntry: …
class IntegrationProfileEntryPredefinedEntry: …
class IntegrationProfileEntryExactDataEntry: …
class IntegrationProfileEntryExactDataEntry: …
shared_entries: List[IntegrationProfileSharedEntry]
shared_entries: List[IntegrationProfileSharedEntry]
One of the following:
class IntegrationProfileSharedEntryPredefinedEntry: …
class IntegrationProfileSharedEntryPredefinedEntry: …
class IntegrationProfileSharedEntryExactDataEntry: …
class IntegrationProfileSharedEntryExactDataEntry: …
DLPProfilesCustom
Get custom profile
zero_trust.dlp.profiles.custom.get(strprofile_id, CustomGetParams**kwargs) -> Profile
GET/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Create custom profile
zero_trust.dlp.profiles.custom.create(CustomCreateParams**kwargs) -> Profile
POST/accounts/{account_id}/dlp/profiles/custom
Update custom profile
zero_trust.dlp.profiles.custom.update(strprofile_id, CustomUpdateParams**kwargs) -> Profile
PUT/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Delete custom profile
zero_trust.dlp.profiles.custom.delete(strprofile_id, CustomDeleteParams**kwargs) -> object
DELETE/accounts/{account_id}/dlp/profiles/custom/{profile_id}
ModelsExpand Collapse
class CustomProfile: …
class CustomProfile: …
allowed_match_count: int
Related DLP policies will trigger when the match count exceeds the number set.
formatint32
maximum1000
minimum0
Deprecatedcontext_awareness: Optional[ContextAwareness]
Scan the context of predefined entries to only return matches surrounded by keywords.
Deprecatedentries: Optional[List[Entry]]
Deprecatedentries: Optional[List[Entry]]
One of the following:
class EntryExactDataEntry: …
class EntryExactDataEntry: …
sensitivity_levels: Optional[List[List[str]]]
Sensitivity levels associated with this profile as (group_id, level_id) tuples.
shared_entries: Optional[List[SharedEntry]]
shared_entries: Optional[List[SharedEntry]]
One of the following:
class SharedEntryExactDataEntry: …
class SharedEntryExactDataEntry: …
DLPProfilesPredefined
Get predefined profile config
zero_trust.dlp.profiles.predefined.get(strprofile_id, PredefinedGetParams**kwargs) -> PredefinedProfile
GET/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Update predefined profile config
zero_trust.dlp.profiles.predefined.update(strprofile_id, PredefinedUpdateParams**kwargs) -> PredefinedProfile
PUT/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Delete predefined profile
zero_trust.dlp.profiles.predefined.delete(strprofile_id, PredefinedDeleteParams**kwargs) -> object
DELETE/accounts/{account_id}/dlp/profiles/predefined/{profile_id}
ModelsExpand Collapse
class PredefinedProfile: …
class PredefinedProfile: …
enabled_entries: List[str]
Entries to enable for this predefined profile. Any entries not provided will be disabled.
Deprecatedentries: List[Entry]This field has been deprecated for enabled_entries.
Deprecatedentries: List[Entry]
This field has been deprecated for enabled_entries.
One of the following:
class EntryExactDataEntry: …
class EntryExactDataEntry: …
DLPLimits
Fetch limits associated with DLP for account
zero_trust.dlp.limits.list(LimitListParams**kwargs) -> LimitListResponse
GET/accounts/{account_id}/dlp/limits
DLPEntries
List all entries
zero_trust.dlp.entries.list(EntryListParams**kwargs) -> SyncSinglePage[EntryListResponse]
GET/accounts/{account_id}/dlp/entries
Get DLP Entry
zero_trust.dlp.entries.get(strentry_id, EntryGetParams**kwargs) -> EntryGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
Create custom entry
zero_trust.dlp.entries.create(EntryCreateParams**kwargs) -> EntryCreateResponse
POST/accounts/{account_id}/dlp/entries
Update entry
zero_trust.dlp.entries.update(strentry_id, EntryUpdateParams**kwargs) -> EntryUpdateResponse
PUT/accounts/{account_id}/dlp/entries/{entry_id}
Delete custom entry
zero_trust.dlp.entries.delete(strentry_id, EntryDeleteParams**kwargs) -> object
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
ModelsExpand Collapse
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …
One of the following:
class ExactDataEntry: …
class ExactDataEntry: …
DLPEntriesCustom
Create custom entry
zero_trust.dlp.entries.custom.create(CustomCreateParams**kwargs) -> CustomCreateResponse
POST/accounts/{account_id}/dlp/entries
Update custom entry
zero_trust.dlp.entries.custom.update(strentry_id, CustomUpdateParams**kwargs) -> CustomUpdateResponse
PUT/accounts/{account_id}/dlp/entries/custom/{entry_id}
Delete custom entry
zero_trust.dlp.entries.custom.delete(strentry_id, CustomDeleteParams**kwargs) -> object
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
Get DLP Entry
zero_trust.dlp.entries.custom.get(strentry_id, CustomGetParams**kwargs) -> CustomGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
zero_trust.dlp.entries.custom.list(CustomListParams**kwargs) -> SyncSinglePage[CustomListResponse]
GET/accounts/{account_id}/dlp/entries
ModelsExpand Collapse
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …
DLPEntriesPredefined
Create predefined entry
zero_trust.dlp.entries.predefined.create(PredefinedCreateParams**kwargs) -> PredefinedCreateResponse
POST/accounts/{account_id}/dlp/entries/predefined
Update predefined entry
zero_trust.dlp.entries.predefined.update(strentry_id, PredefinedUpdateParams**kwargs) -> PredefinedUpdateResponse
PUT/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Delete predefined entry
zero_trust.dlp.entries.predefined.delete(strentry_id, PredefinedDeleteParams**kwargs) -> object
DELETE/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Get DLP Entry
zero_trust.dlp.entries.predefined.get(strentry_id, PredefinedGetParams**kwargs) -> PredefinedGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
zero_trust.dlp.entries.predefined.list(PredefinedListParams**kwargs) -> SyncSinglePage[PredefinedListResponse]
GET/accounts/{account_id}/dlp/entries
ModelsExpand Collapse
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …
DLPEntriesIntegration
Create integration entry
zero_trust.dlp.entries.integration.create(IntegrationCreateParams**kwargs) -> IntegrationCreateResponse
POST/accounts/{account_id}/dlp/entries/integration
Update integration entry
zero_trust.dlp.entries.integration.update(strentry_id, IntegrationUpdateParams**kwargs) -> IntegrationUpdateResponse
PUT/accounts/{account_id}/dlp/entries/integration/{entry_id}
Delete integration entry
zero_trust.dlp.entries.integration.delete(strentry_id, IntegrationDeleteParams**kwargs) -> object
DELETE/accounts/{account_id}/dlp/entries/integration/{entry_id}
Get DLP Entry
zero_trust.dlp.entries.integration.get(strentry_id, IntegrationGetParams**kwargs) -> IntegrationGetResponse
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
zero_trust.dlp.entries.integration.list(IntegrationListParams**kwargs) -> SyncSinglePage[IntegrationListResponse]
GET/accounts/{account_id}/dlp/entries
ModelsExpand Collapse
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …
One of the following:
class UnionMember1: …
class UnionMember1: …
class UnionMember3: …
class UnionMember3: …