Profiles
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.
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.
Skip SkipConfiguration
Content types to exclude from context analysis and return all matches.
type Profile interface{…}
type Profile interface{…}
One of the following:
type ProfileCustomProfile struct{…}
type ProfileCustomProfile struct{…}
AllowedMatchCount int64
Related DLP policies will trigger when the match count exceeds the number set.
formatint32
maximum1000
minimum0
ConfidenceThreshold ProfileCustomProfileConfidenceThresholdoptional
ConfidenceThreshold ProfileCustomProfileConfidenceThresholdoptional
DeprecatedEntries []ProfileCustomProfileEntryoptional
DeprecatedEntries []ProfileCustomProfileEntryoptional
One of the following:
type ProfileCustomProfileEntriesCustomEntry struct{…}
type ProfileCustomProfileEntriesCustomEntry struct{…}
Pattern Pattern
type ProfileCustomProfileEntriesPredefinedEntry struct{…}
type ProfileCustomProfileEntriesPredefinedEntry struct{…}
type ProfileCustomProfileEntriesExactDataEntry struct{…}
type ProfileCustomProfileEntriesExactDataEntry struct{…}
SensitivityLevels []ProfileCustomProfileSensitivityLeveloptionalSensitivity levels associated with this profile.
SensitivityLevels []ProfileCustomProfileSensitivityLeveloptional
Sensitivity levels associated with this profile.
SharedEntries []ProfileCustomProfileSharedEntryoptional
SharedEntries []ProfileCustomProfileSharedEntryoptional
One of the following:
type ProfileCustomProfileSharedEntriesCustomEntry struct{…}
type ProfileCustomProfileSharedEntriesCustomEntry struct{…}
Pattern Pattern
type ProfileCustomProfileSharedEntriesPredefinedEntry struct{…}
type ProfileCustomProfileSharedEntriesPredefinedEntry struct{…}
Variant ProfileCustomProfileSharedEntriesPredefinedEntryVariantoptional
Variant ProfileCustomProfileSharedEntriesPredefinedEntryVariantoptional
type ProfileCustomProfileSharedEntriesExactDataEntry struct{…}
type ProfileCustomProfileSharedEntriesExactDataEntry struct{…}
type ProfilePredefinedProfile struct{…}
type ProfilePredefinedProfile struct{…}
DeprecatedEntries []ProfilePredefinedProfileEntry
DeprecatedEntries []ProfilePredefinedProfileEntry
One of the following:
type ProfilePredefinedProfileEntriesCustomEntry struct{…}
type ProfilePredefinedProfileEntriesCustomEntry struct{…}
Pattern Pattern
type ProfilePredefinedProfileEntriesPredefinedEntry struct{…}
type ProfilePredefinedProfileEntriesPredefinedEntry struct{…}
type ProfilePredefinedProfileEntriesExactDataEntry struct{…}
type ProfilePredefinedProfileEntriesExactDataEntry struct{…}
ConfidenceThreshold ProfilePredefinedProfileConfidenceThresholdoptional
ConfidenceThreshold ProfilePredefinedProfileConfidenceThresholdoptional
One of the following:
const ProfilePredefinedProfileConfidenceThresholdLow ProfilePredefinedProfileConfidenceThreshold = "low"
const ProfilePredefinedProfileConfidenceThresholdMedium ProfilePredefinedProfileConfidenceThreshold = "medium"
type ProfileIntegrationProfile struct{…}
type ProfileIntegrationProfile struct{…}
DeprecatedEntries []ProfileIntegrationProfileEntry
DeprecatedEntries []ProfileIntegrationProfileEntry
One of the following:
type ProfileIntegrationProfileEntriesCustomEntry struct{…}
type ProfileIntegrationProfileEntriesCustomEntry struct{…}
Pattern Pattern
type ProfileIntegrationProfileEntriesPredefinedEntry struct{…}
type ProfileIntegrationProfileEntriesPredefinedEntry struct{…}
Variant ProfileIntegrationProfileEntriesPredefinedEntryVariantoptional
Variant ProfileIntegrationProfileEntriesPredefinedEntryVariantoptional
type ProfileIntegrationProfileEntriesExactDataEntry struct{…}
type ProfileIntegrationProfileEntriesExactDataEntry struct{…}
SharedEntries []ProfileIntegrationProfileSharedEntry
SharedEntries []ProfileIntegrationProfileSharedEntry
One of the following:
type ProfileIntegrationProfileSharedEntriesCustomEntry struct{…}
type ProfileIntegrationProfileSharedEntriesCustomEntry struct{…}
Pattern Pattern
type ProfileIntegrationProfileSharedEntriesPredefinedEntry struct{…}
type ProfileIntegrationProfileSharedEntriesPredefinedEntry struct{…}
Variant ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantoptional
Variant ProfileIntegrationProfileSharedEntriesPredefinedEntryVariantoptional
type ProfileIntegrationProfileSharedEntriesExactDataEntry struct{…}
type ProfileIntegrationProfileSharedEntriesExactDataEntry struct{…}
ProfilesCustom
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{…}
type CustomProfile struct{…}
AllowedMatchCount int64
Related DLP policies will trigger when the match count exceeds the number set.
formatint32
maximum1000
minimum0
DeprecatedEntries []CustomProfileEntryoptional
DeprecatedEntries []CustomProfileEntryoptional
One of the following:
CustomProfileEntriesCustomEntry
CustomProfileEntriesCustomEntry
Pattern Pattern
CustomProfileEntriesPredefinedEntry
CustomProfileEntriesPredefinedEntry
CustomProfileEntriesExactDataEntry
CustomProfileEntriesExactDataEntry
SensitivityLevels []CustomProfileSensitivityLeveloptionalSensitivity levels associated with this profile.
SensitivityLevels []CustomProfileSensitivityLeveloptional
Sensitivity levels associated with this profile.
SharedEntries []CustomProfileSharedEntryoptional
SharedEntries []CustomProfileSharedEntryoptional
One of the following:
CustomProfileSharedEntriesCustomEntry
CustomProfileSharedEntriesCustomEntry
Pattern Pattern
CustomProfileSharedEntriesPredefinedEntry
CustomProfileSharedEntriesPredefinedEntry
CustomProfileSharedEntriesExactDataEntry
CustomProfileSharedEntriesExactDataEntry
ProfilesPredefined
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{…}
type PredefinedProfile struct{…}
EnabledEntries []string
Entries to enable for this predefined profile. Any entries not provided will be disabled.
DeprecatedEntries []PredefinedProfileEntryThis field has been deprecated for enabled_entries.
DeprecatedEntries []PredefinedProfileEntry
This field has been deprecated for enabled_entries.
One of the following:
type PredefinedProfileEntriesCustomEntry struct{…}
type PredefinedProfileEntriesCustomEntry struct{…}
Pattern Pattern
type PredefinedProfileEntriesPredefinedEntry struct{…}
type PredefinedProfileEntriesPredefinedEntry struct{…}
type PredefinedProfileEntriesExactDataEntry struct{…}
type PredefinedProfileEntriesExactDataEntry struct{…}