dlp_exact_data_match_lite

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DLPEDMLite

type DLPEDMLite struct {
	// The identifier (1-65519) for the EDM schema (i.e., EDM template) that is unique within the organization.
	Schema SchemaIDNameExtension `json:"schema,omitempty"`

	// Indicates the status of a specified EDM schema (i.e., EDM template). If this value is set to true, the schema is active and can be used by DLP dictionaries.
	TokenList []TokenList `json:"tokenList,omitempty"`
}

Gets a list of active EDM templates (or EDM profiles) and their criteria, only.

type SchemaIDNameExtension

type SchemaIDNameExtension struct {
	// Identifier that uniquely identifies an entity
	ID int `json:"ID,omitempty"`

	// The configured name of the entity
	Name string `json:"name,omitempty"`

	// An external identifier used for an entity that is managed outside of ZIA.
	// Examples include zpaServerGroup and zpaAppSegments.
	// This field is not applicable to ZIA-managed entities.
	ExternalID string `json:"externalId,omitempty"`

	Extensions map[string]interface{} `json:"extensions,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) GetAllEDMSchema

func (service *Service) GetAllEDMSchema(activeOnly, fetchTokens bool) ([]DLPEDMLite, error)

func (*Service) GetBySchemaName

func (service *Service) GetBySchemaName(schemaName string, activeOnly, fetchTokens bool) ([]DLPEDMLite, error)

type TokenList

type TokenList struct {
	// The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
	Name string `json:"name,omitempty"`

	// The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
	Type string `json:"type,omitempty"`

	// Indicates whether the token is a primary key.
	PrimaryKey bool `json:"primaryKey,omitempty"`

	// The column position for the token in the original CSV file uploaded to the Index Tool, starting from 1. This attribue required by PUT and POST requests.
	OriginalColumn int `json:"originalColumn,omitempty"`

	// The column position for the token in the hashed file, starting from 1.
	HashfileColumnOrder int `json:"hashfileColumnOrder,omitempty"`

	// The length of the column bitmap in the hashed file.
	ColLengthBitmap int `json:"colLengthBitmap,omitempty"`
}

Jump to

Keyboard shortcuts

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