Documentation ¶
Index ¶
- type DlpDictionary
- type EDMMatchDetails
- type IDMProfileMatchAccuracy
- type Patterns
- type Phrases
- type Service
- func (service *Service) Create(dlpDictionariesID *DlpDictionary) (*DlpDictionary, *http.Response, error)
- func (service *Service) DeleteDlpDictionary(dlpDictionariesID int) (*http.Response, error)
- func (service *Service) Get(dlpDictionariesID int) (*DlpDictionary, error)
- func (service *Service) GetAll() ([]DlpDictionary, error)
- func (service *Service) GetByName(dictionaryName string) (*DlpDictionary, error)
- func (service *Service) Update(dlpDictionariesID int, dlpDictionaries *DlpDictionary) (*DlpDictionary, *http.Response, error)
- func (service *Service) ValidateDLPPattern(validatePattern *ValidateDLPPattern) (*ValidateDLPPattern, error)
- type ValidateDLPPattern
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DlpDictionary ¶
type DlpDictionary struct { // Unique identifier for the DLP dictionary ID int `json:"id"` // The DLP dictionary's name Name string `json:"name,omitempty"` // The description of the DLP dictionary Description string `json:"description,omitempty"` // The DLP confidence threshold ConfidenceThreshold string `json:"confidenceThreshold,omitempty"` // The DLP custom phrase match type CustomPhraseMatchType string `json:"customPhraseMatchType,omitempty"` // Indicates whether the name is localized or not. This is always set to True for predefined DLP dictionaries. NameL10nTag bool `json:"nameL10nTag"` // This value is set to true for custom DLP dictionaries. Custom bool `json:"custom"` // DLP threshold type ThresholdType string `json:"thresholdType,omitempty"` // The DLP dictionary type DictionaryType string `json:"dictionaryType,omitempty"` // The DLP dictionary proximity length. Proximity int `json:"proximity,omitempty"` // List containing the phrases used within a custom DLP dictionary. This attribute is not applicable to predefined DLP dictionaries. Phrases []Phrases `json:"phrases"` // List containing the patterns used within a custom DLP dictionary. This attribute is not applicable to predefined DLP dictionaries Patterns []Patterns `json:"patterns"` // Exact Data Match (EDM) related information for custom DLP dictionaries. EDMMatchDetails []EDMMatchDetails `json:"exactDataMatchDetails"` // List of Indexed Document Match (IDM) profiles and their corresponding match accuracy for custom DLP dictionaries. IDMProfileMatchAccuracy []IDMProfileMatchAccuracy `json:"idmProfileMatchAccuracy"` }
type EDMMatchDetails ¶
type EDMMatchDetails struct { // The unique identifier for the EDM mapping. DictionaryEdmMappingID int `json:"dictionaryEdmMappingId,omitempty"` // The unique identifier for the EDM template (or schema). SchemaID int `json:"schemaId,omitempty"` // The EDM template's primary field. PrimaryField int `json:"primaryField,omitempty"` // The EDM template's secondary fields. SecondaryFields []int `json:"secondaryFields,omitempty"` // The EDM secondary field to match on. SecondaryFieldMatchOn string `json:"secondaryFieldMatchOn,omitempty"` }
type IDMProfileMatchAccuracy ¶
type IDMProfileMatchAccuracy struct { // The IDM template reference. AdpIdmProfile *common.IDNameExtensions `json:"adpIdmProfile,omitempty"` // The IDM template match accuracy. MatchAccuracy string `json:"matchAccuracy,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(dlpDictionariesID *DlpDictionary) (*DlpDictionary, *http.Response, error)
func (*Service) DeleteDlpDictionary ¶
func (*Service) GetAll ¶ added in v0.0.4
func (service *Service) GetAll() ([]DlpDictionary, error)
func (*Service) GetByName ¶
func (service *Service) GetByName(dictionaryName string) (*DlpDictionary, error)
func (*Service) Update ¶
func (service *Service) Update(dlpDictionariesID int, dlpDictionaries *DlpDictionary) (*DlpDictionary, *http.Response, error)
func (*Service) ValidateDLPPattern ¶ added in v0.5.0
func (service *Service) ValidateDLPPattern(validatePattern *ValidateDLPPattern) (*ValidateDLPPattern, error)
type ValidateDLPPattern ¶ added in v0.5.0
type ValidateDLPPattern struct { Status string `json:"status,omitempty"` ErrPosition int `json:"errPosition,omitempty"` ErrMsg string `json:"errMsg,omitempty"` ErrParameter string `json:"errParameter,omitempty"` ErrSuggestion string `json:"errSuggestion,omitempty"` IDList []int `json:"idList,omitempty"` }
Click to show internal directories.
Click to hide internal directories.