dlp_engines

package
v3.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, service *zscaler.Service, engineID int) (*http.Response, error)

Types

type DLPEngines

type DLPEngines struct {
	// The unique identifier for the DLP engine.
	ID int `json:"id"`

	// The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines.
	Name string `json:"name,omitempty"`

	// The DLP engine's description.
	Description string `json:"description,omitempty"`

	// The name of the predefined DLP engine.
	PredefinedEngineName string `json:"predefinedEngineName,omitempty"`

	// The boolean logical operator in which various DLP dictionaries are combined within a DLP engine's expression.
	EngineExpression string `json:"engineExpression,omitempty"`

	// Indicates whether this is a custom DLP engine. If this value is set to true, the engine is custom.
	CustomDlpEngine bool `json:"customDlpEngine,omitempty"`
}

func Create

func Create(ctx context.Context, service *zscaler.Service, engineID *DLPEngines) (*DLPEngines, *http.Response, error)

func Get

func Get(ctx context.Context, service *zscaler.Service, engineID int) (*DLPEngines, error)

func GetAll

func GetAll(ctx context.Context, service *zscaler.Service) ([]DLPEngines, error)

func GetAllEngineLite

func GetAllEngineLite(ctx context.Context, service *zscaler.Service) ([]DLPEngines, error)

func GetByName

func GetByName(ctx context.Context, service *zscaler.Service, engineName string) (*DLPEngines, error)

func GetByPredefinedEngine

func GetByPredefinedEngine(ctx context.Context, service *zscaler.Service, engineName string) (*DLPEngines, error)

func GetEngineLiteID

func GetEngineLiteID(ctx context.Context, service *zscaler.Service, engineID int) (*DLPEngines, error)

Functions to for DLP Engine Lite query

func Update

func Update(ctx context.Context, service *zscaler.Service, engineID int, engines *DLPEngines) (*DLPEngines, *http.Response, error)

Jump to

Keyboard shortcuts

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