lssconfigcontroller

package
v2.73.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v2.61.0

func Delete(service *services.Service, lssID string) (*http.Response, error)

func Update added in v2.61.0

func Update(service *services.Service, lssID string, lssConfig *LSSResource) (*http.Response, error)

Types

type AppServerGroups added in v2.1.1

type AppServerGroups struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type Conditions

type Conditions struct {
	CreationTime string      `json:"creationTime,omitempty"`
	ID           string      `json:"id,omitempty"`
	ModifiedBy   string      `json:"modifiedBy,omitempty"`
	ModifiedTime string      `json:"modifiedTime,omitempty"`
	Negated      bool        `json:"negated"`
	Operands     *[]Operands `json:"operands,omitempty"`
	Operator     string      `json:"operator,omitempty"`
}

type ConnectorGroups

type ConnectorGroups struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type LSSClientTypes

type LSSClientTypes struct {
	ZPNClientTypeExporter      string `json:"zpn_client_type_exporter"`
	ZPNClientTypeMachineTunnel string `json:"zpn_client_type_machine_tunnel"`
	ZPNClientTypeIPAnchoring   string `json:"zpn_client_type_ip_anchoring"`
	ZPNClientTypeEdgeConnector string `json:"zpn_client_type_edge_connector"`
	ZPNClientTypeZAPP          string `json:"zpn_client_type_zapp"`
	ZPNClientTypeSlogger       string `json:"zpn_client_type_slogger,omitempty"`
}

func GetClientTypes added in v2.61.0

func GetClientTypes(service *services.Service) (*LSSClientTypes, *http.Response, error)

type LSSConfig

type LSSConfig struct {
	ID              string   `json:"id,omitempty"`
	Name            string   `json:"name,omitempty"`
	Description     string   `json:"description,omitempty"`
	Enabled         bool     `json:"enabled,omitempty"`
	CreationTime    string   `json:"creationTime,omitempty"`
	ModifiedBy      string   `json:"modifiedBy,omitempty"`
	ModifiedTime    string   `json:"modifiedTime,omitempty"`
	Filter          []string `json:"filter,omitempty"`
	Format          string   `json:"format,omitempty"`
	AuditMessage    string   `json:"auditMessage,omitempty"`
	LSSHost         string   `json:"lssHost,omitempty"`
	LSSPort         string   `json:"lssPort,omitempty"`
	SourceLogType   string   `json:"sourceLogType,omitempty"`
	MicroTenantID   string   `json:"microtenantId,omitempty"`
	MicroTenantName string   `json:"microtenantName,omitempty"`
	UseTLS          bool     `json:"useTls,omitempty"`
}

type LSSFormats

type LSSFormats struct {
	Csv  string `json:"csv"`
	Tsv  string `json:"tsv"`
	Json string `json:"json"`
}

func GetFormats added in v2.61.0

func GetFormats(service *services.Service, logType string) (*LSSFormats, *http.Response, error)

type LSSResource

type LSSResource struct {
	ID                 string              `json:"id,omitempty"`
	LSSConfig          *LSSConfig          `json:"config"`
	ConnectorGroups    []ConnectorGroups   `json:"connectorGroups,omitempty"`
	PolicyRule         *PolicyRule         `json:"policyRule,omitempty"`
	PolicyRuleResource *PolicyRuleResource `json:"policyRuleResource,omitempty"`
}

func Create added in v2.61.0

func Create(service *services.Service, lssConfig *LSSResource) (*LSSResource, *http.Response, error)

func Get added in v2.61.0

func Get(service *services.Service, lssID string) (*LSSResource, *http.Response, error)

func GetAll added in v2.61.0

func GetAll(service *services.Service) ([]LSSResource, *http.Response, error)

func GetByName added in v2.61.0

func GetByName(service *services.Service, lssName string) (*LSSResource, *http.Response, error)

type LSSStatusCodes

type LSSStatusCodes struct {
	ZPNAuthLog    map[string]interface{} `json:"zpn_auth_log"`
	ZPNAstAuthLog map[string]interface{} `json:"zpn_ast_auth_log"`
	ZPNTransLog   map[string]interface{} `json:"zpn_trans_log"`
	ZPNSysAuthLog map[string]interface{} `json:"zpn_sys_auth_log"`
}

func GetStatusCodes added in v2.61.0

func GetStatusCodes(service *services.Service) (*LSSStatusCodes, *http.Response, error)

type Operands

type Operands struct {
	CreationTime string `json:"creationTime,omitempty"`
	ID           string `json:"id,omitempty"`
	IdpID        string `json:"idpId,omitempty"`
	LHS          string `json:"lhs,omitempty"`
	ModifiedBy   string `json:"modifiedBy,omitempty"`
	ModifiedTime string `json:"modifiedTime,omitempty"`
	Name         string `json:"name,omitempty"`
	ObjectType   string `json:"objectType,omitempty"`
	RHS          string `json:"rhs,omitempty"`
}

type OperandsResourceLHSRHSValue added in v2.1.1

type OperandsResourceLHSRHSValue struct {
	RHS string `json:"rhs,omitempty"`
	LHS string `json:"lhs,omitempty"`
}

type PolicyRule

type PolicyRule struct {
	Action                   string       `json:"action,omitempty"`
	ActionID                 string       `json:"actionId,omitempty"`
	BypassDefaultRule        bool         `json:"bypassDefaultRule,omitempty"`
	CreationTime             string       `json:"creationTime,omitempty"`
	CustomMsg                string       `json:"customMsg,omitempty"`
	DefaultRule              bool         `json:"defaultRule,omitempty"`
	Description              string       `json:"description,omitempty"`
	ID                       string       `json:"id,omitempty"`
	IsolationDefaultRule     bool         `json:"isolationDefaultRule,omitempty"`
	ModifiedBy               string       `json:"modifiedBy,omitempty"`
	ModifiedTime             string       `json:"modifiedTime,omitempty"`
	Name                     string       `json:"name,omitempty"`
	Operator                 string       `json:"operator,omitempty"`
	PolicySetID              string       `json:"policySetId,omitempty"`
	PolicyType               string       `json:"policyType,omitempty"`
	Priority                 string       `json:"priority,omitempty"`
	ReauthDefaultRule        bool         `json:"reauthDefaultRule,omitempty"`
	ReauthIdleTimeout        string       `json:"reauthIdleTimeout,omitempty"`
	ReauthTimeout            string       `json:"reauthTimeout,omitempty"`
	RuleOrder                string       `json:"ruleOrder,omitempty"`
	LssDefaultRule           bool         `json:"lssDefaultRule,omitempty"`
	ZpnCbiProfileID          string       `json:"zpnCbiProfileId,omitempty"`
	ZpnInspectionProfileID   string       `json:"zpnInspectionProfileId,omitempty"`
	ZpnInspectionProfileName string       `json:"zpnInspectionProfileName,omitempty"`
	MicroTenantID            string       `json:"microtenantId,omitempty"`
	MicroTenantName          string       `json:"microtenantName,omitempty"`
	Conditions               []Conditions `json:"conditions,omitempty"`
}

type PolicyRuleResource

type PolicyRuleResource struct {
	ID                       string                         `json:"id,omitempty"`
	Name                     string                         `json:"name,omitempty"`
	Description              string                         `json:"description,omitempty"`
	Action                   string                         `json:"action,omitempty"`
	ActionID                 string                         `json:"actionId,omitempty"`
	ConnectorGroups          []ConnectorGroups              `json:"connectorGroups,omitempty"`
	AppServerGroups          []AppServerGroups              `json:"appServerGroups,omitempty"`
	CreationTime             string                         `json:"creationTime,omitempty"`
	ModifiedBy               string                         `json:"modifiedBy,omitempty"`
	ModifiedTime             string                         `json:"modifiedTime,omitempty"`
	AuditMessage             string                         `json:"auditMessage,omitempty"`
	CustomMsg                string                         `json:"customMsg,omitempty"`
	Operator                 string                         `json:"operator,omitempty"`
	PolicySetID              string                         `json:"policySetId,omitempty"`
	PolicyType               string                         `json:"policyType,omitempty"`
	Priority                 string                         `json:"priority,omitempty"`
	ReauthIdleTimeout        string                         `json:"reauthIdleTimeout,omitempty"`
	ReauthTimeout            string                         `json:"reauthTimeout,omitempty"`
	RuleOrder                string                         `json:"ruleOrder,omitempty"`
	ZpnCbiProfileID          string                         `json:"zpnCbiProfileId,omitempty"`
	ZpnInspectionProfileID   string                         `json:"zpnInspectionProfileId,omitempty"`
	ZpnInspectionProfileName string                         `json:"zpnInspectionProfileName,omitempty"`
	MicroTenantID            string                         `json:"microtenantId,omitempty"`
	MicroTenantName          string                         `json:"microtenantName,omitempty"`
	Conditions               []PolicyRuleResourceConditions `json:"conditions,omitempty"`
}

type PolicyRuleResourceConditions

type PolicyRuleResourceConditions struct {
	ID           string                        `json:"id,omitempty"`
	CreationTime string                        `json:"creationTime,omitempty"`
	ModifiedBy   string                        `json:"modifiedBy,omitempty"`
	ModifiedTime string                        `json:"modifiedTime,omitempty"`
	Negated      bool                          `json:"negated"`
	Operands     *[]PolicyRuleResourceOperands `json:"operands,omitempty"`
	Operator     string                        `json:"operator,omitempty"`
}

type PolicyRuleResourceOperands

type PolicyRuleResourceOperands struct {
	ID                          string                         `json:"id,omitempty"`
	CreationTime                string                         `json:"creationTime,omitempty"`
	ModifiedBy                  string                         `json:"modifiedBy,omitempty"`
	ModifiedTime                string                         `json:"modifiedTime,omitempty"`
	ObjectType                  string                         `json:"objectType,omitempty"`
	Values                      []string                       `json:"values,omitempty"`
	IDPID                       string                         `json:"idpId,omitempty"`
	OperandsResourceLHSRHSValue *[]OperandsResourceLHSRHSValue `json:"entryValues,omitempty"`
}

Jump to

Keyboard shortcuts

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