Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, profileID string) (*http.Response, error)
- func Patch(ctx context.Context, service *zscaler.Service, profileID string, ...) (*http.Response, error)
- func PutAssociate(ctx context.Context, service *zscaler.Service, profileID string, ...) (*http.Response, error)
- func PutDeassociate(ctx context.Context, service *zscaler.Service, profileID string, ...) (*http.Response, error)
- func Update(ctx context.Context, service *zscaler.Service, profileID string, ...) (*http.Response, error)
- type AssociatedCustomers
- type ControlInfoResource
- type InspectionCustomControl
- type InspectionProfile
- func Create(ctx context.Context, service *zscaler.Service, ...) (*InspectionProfile, *http.Response, error)
- func Get(ctx context.Context, service *zscaler.Service, profileID string) (*InspectionProfile, *http.Response, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]InspectionProfile, *http.Response, error)
- func GetByName(ctx context.Context, service *zscaler.Service, profileName string) (*InspectionProfile, *http.Response, error)
- type PatchQuery
- type ThreatLabzControls
- type WebSocketControls
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PutAssociate ¶
func PutDeassociate ¶
Types ¶
type AssociatedCustomers ¶
type ControlInfoResource ¶
type InspectionCustomControl ¶
type InspectionCustomControl struct { Action string `json:"action,omitempty"` ActionValue string `json:"actionValue,omitempty"` ControlNumber string `json:"controlNumber,omitempty"` ControlRuleJson string `json:"controlRuleJson,omitempty"` ControlType string `json:"controlType,omitempty"` CreationTime string `json:"creationTime,omitempty"` DefaultAction string `json:"defaultAction,omitempty"` DefaultActionValue string `json:"defaultActionValue,omitempty"` Description string `json:"description,omitempty"` ID string `json:"id,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name,omitempty"` ProtocolType string `json:"protocolType,omitempty"` ParanoiaLevel string `json:"paranoiaLevel,omitempty"` Severity string `json:"severity,omitempty"` Type string `json:"type,omitempty"` Version string `json:"version,omitempty"` AssociatedInspectionProfileNames []common.AssociatedProfileNames `json:"associatedInspectionProfileNames,omitempty"` Rules []common.Rules `json:"rules,omitempty"` }
type InspectionProfile ¶
type InspectionProfile struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` APIProfile bool `json:"apiProfile,omitempty"` OverrideAction string `json:"overrideAction,omitempty"` CommonGlobalOverrideActionsConfig map[string]interface{} `json:"commonGlobalOverrideActionsConfig,omitempty"` CreationTime string `json:"creationTime,omitempty"` ZSDefinedControlChoice string `json:"zsDefinedControlChoice,omitempty"` GlobalControlActions []string `json:"globalControlActions,omitempty"` IncarnationNumber string `json:"incarnationNumber,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` ParanoiaLevel string `json:"paranoiaLevel,omitempty"` PredefinedControlsVersion string `json:"predefinedControlsVersion,omitempty"` CheckControlDeploymentStatus bool `json:"checkControlDeploymentStatus,omitempty"` ControlInfoResource []ControlInfoResource `json:"controlsInfo,omitempty"` CustomControls []InspectionCustomControl `json:"customControls,omitempty"` PredefinedAPIControls []common.CustomCommonControls `json:"predefinedApiControls,omitempty"` PredefinedControls []common.CustomCommonControls `json:"predefinedControls,omitempty"` WebSocketControls []WebSocketControls `json:"websocketControls,omitempty"` ThreatLabzControls []ThreatLabzControls `json:"threatlabzControls,omitempty"` }
func Create ¶
func Create(ctx context.Context, service *zscaler.Service, inspectionProfile InspectionProfile) (*InspectionProfile, *http.Response, error)
type PatchQuery ¶
type PatchQuery struct {
Version string `json:"version,omitempty" url:"version,omitempty"`
}
type ThreatLabzControls ¶
type ThreatLabzControls struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled,omitempty"` Action string `json:"action,omitempty"` ActionValue string `json:"actionValue,omitempty"` Attachment string `json:"attachment,omitempty"` ControlGroup string `json:"controlGroup,omitempty"` ControlNumber string `json:"controlNumber,omitempty"` ControlType string `json:"controlType,omitempty"` CreationTime string `json:"creationTime,omitempty"` DefaultAction string `json:"defaultAction,omitempty"` DefaultActionValue string `json:"defaultActionValue,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` ParanoiaLevel string `json:"paranoiaLevel,omitempty"` Severity string `json:"severity,omitempty"` Version string `json:"version,omitempty"` EngineVersion string `json:"engineVersion,omitempty"` LastDeploymentTime string `json:"lastDeploymentTime,omitempty"` RuleDeploymentState string `json:"ruleDeploymentState,omitempty"` RuleMetadata string `json:"ruleMetadata,omitempty"` RuleProcessor string `json:"ruleProcessor,omitempty"` RulesetName string `json:"rulesetName,omitempty"` RulesetVersion string `json:"rulesetVersion,omitempty"` ZscalerInfoUrl string `json:"zscalerInfoUrl,omitempty"` AssociatedCustomers []AssociatedCustomers `json:"associatedCustomers,omitempty"` AssociatedInspectionProfileNames []common.AssociatedProfileNames `json:"associatedInspectionProfileNames,omitempty"` }
type WebSocketControls ¶ added in v3.0.1
type WebSocketControls struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Action string `json:"action,omitempty"` ActionValue string `json:"actionValue,omitempty"` ControlNumber string `json:"controlNumber,omitempty"` ControlType string `json:"controlType,omitempty"` CreationTime string `json:"creationTime,omitempty"` DefaultAction string `json:"defaultAction,omitempty"` DefaultActionValue string `json:"defaultActionValue,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` ParanoiaLevel string `json:"paranoiaLevel,omitempty"` Severity string `json:"severity,omitempty"` Version string `json:"version,omitempty"` ZSDefinedControlChoice string `json:"zsDefinedControlChoice,omitempty"` AssociatedInspectionProfileNames []common.AssociatedProfileNames `json:"associatedInspectionProfileNames,omitempty"` }
Click to show internal directories.
Click to hide internal directories.