dlpdictionaries

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DlpDictionary

type DlpDictionary struct {
	ID                      int                       `json:"id"`
	Name                    string                    `json:"name,omitempty"`
	Description             string                    `json:"description,omitempty"`
	ConfidenceThreshold     string                    `json:"confidenceThreshold,omitempty"`
	CustomPhraseMatchType   string                    `json:"customPhraseMatchType,omitempty"`
	NameL10nTag             bool                      `json:"nameL10nTag"`
	Custom                  bool                      `json:"custom"`
	ThresholdType           string                    `json:"thresholdType,omitempty"`
	DictionaryType          string                    `json:"dictionaryType,omitempty"`
	Proximity               int                       `json:"proximity,omitempty"`
	Phrases                 []Phrases                 `json:"phrases"`
	Patterns                []Patterns                `json:"patterns"`
	EDMMatchDetails         []EDMMatchDetails         `json:"exactDataMatchDetails"`
	IDMProfileMatchAccuracy []IDMProfileMatchAccuracy `json:"idmProfileMatchAccuracy"`
}

type EDMMatchDetails

type EDMMatchDetails struct {
	DictionaryEdmMappingID int    `json:"dictionaryEdmMappingId,omitempty"`
	SchemaID               int    `json:"schemaId,omitempty"`
	PrimaryField           int    `json:"primaryField,omitempty"`
	SecondaryFields        []int  `json:"secondaryFields,omitempty"`
	SecondaryFieldMatchOn  string `json:"secondaryFieldMatchOn,omitempty"`
}

type IDMProfileMatchAccuracy

type IDMProfileMatchAccuracy struct {
	AdpIdmProfile *common.IDNameExtensions `json:"adpIdmProfile,omitempty"`
	MatchAccuracy string                   `json:"matchAccuracy,omitempty"`
}

type Patterns

type Patterns struct {
	Action  string `json:"action,omitempty"`
	Pattern string `json:"pattern,omitempty"`
}

type Phrases

type Phrases struct {
	Action string `json:"action,omitempty"`
	Phrase string `json:"phrase,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) Create

func (service *Service) Create(dlpDictionariesID *DlpDictionary) (*DlpDictionary, *http.Response, error)

func (*Service) DeleteDlpDictionary

func (service *Service) DeleteDlpDictionary(dlpDictionariesID int) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(dlpDictionariesID int) (*DlpDictionary, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL