inspection_custom_controls

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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, customID string) (*http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, customID string, customControls *InspectionCustomControl) (*http.Response, error)

Types

type Conditions

type Conditions struct {
	LHS string `json:"lhs,omitempty"`
	OP  string `json:"op,omitempty"`
	RHS string `json:"rhs,omitempty"`
}

type InspectionCustomControl

type InspectionCustomControl struct {
	ID                               string                          `json:"id,omitempty"`
	Action                           string                          `json:"action,omitempty"`
	ActionValue                      string                          `json:"actionValue,omitempty"`
	AssociatedInspectionProfileNames []common.AssociatedProfileNames `json:"associatedInspectionProfileNames,omitempty"`
	Rules                            []Rules                         `json:"rules,omitempty"`
	ControlNumber                    string                          `json:"controlNumber,omitempty"`
	ControlType                      string                          `json:"controlType,omitempty"`
	ControlRuleJson                  string                          `json:"controlRuleJson,omitempty"`
	CreationTime                     string                          `json:"creationTime,omitempty"`
	DefaultAction                    string                          `json:"defaultAction,omitempty"`
	DefaultActionValue               string                          `json:"defaultActionValue,omitempty"`
	Description                      string                          `json:"description,omitempty"`
	ModifiedBy                       string                          `json:"modifiedBy,omitempty"`
	ModifiedTime                     string                          `json:"modifiedTime,omitempty"`
	Name                             string                          `json:"name,omitempty"`
	ParanoiaLevel                    string                          `json:"paranoiaLevel,omitempty"`
	ProtocolType                     string                          `json:"protocolType,omitempty"`
	Severity                         string                          `json:"severity,omitempty"`
	Type                             string                          `json:"type,omitempty"`
	Version                          string                          `json:"version,omitempty"`
}

func Create

func Get

func Get(ctx context.Context, service *zscaler.Service, customID string) (*InspectionCustomControl, *http.Response, error)

func GetByName

func GetByName(ctx context.Context, service *zscaler.Service, controlName string) (*InspectionCustomControl, *http.Response, error)

type Rules

type Rules struct {
	Conditions []Conditions `json:"conditions,omitempty"`
	Names      []string     `json:"names,omitempty"`
	Type       string       `json:"type,omitempty"`
}

Jump to

Keyboard shortcuts

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