EmailAccount 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
EmailRules
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