Documentation
¶
Index ¶
- type AccessMethod
- type ActionName
- type Actions
- type Activities
- type Activity
- type MatchCriteriaAction
- type NpaPolicyRequest
- func (o *NpaPolicyRequest) GetDescription() *string
- func (o *NpaPolicyRequest) GetEnabled() *string
- func (o *NpaPolicyRequest) GetGroupID() *string
- func (o *NpaPolicyRequest) GetGroupName() *string
- func (o *NpaPolicyRequest) GetRuleData() *NpaPolicyRuleData
- func (o *NpaPolicyRequest) GetRuleName() *string
- func (o *NpaPolicyRequest) GetRuleOrder() *RuleOrder
- type NpaPolicyResponseItem
- type NpaPolicyRuleData
- func (o *NpaPolicyRuleData) GetAccessMethod() *AccessMethod
- func (o *NpaPolicyRuleData) GetBNegateNetLocation() *bool
- func (o *NpaPolicyRuleData) GetBNegateSrcCountries() *bool
- func (o *NpaPolicyRuleData) GetClassification() *string
- func (o *NpaPolicyRuleData) GetDlpActions() []NpaPolicyRuleDlp
- func (o *NpaPolicyRuleData) GetExternalDlp() *bool
- func (o *NpaPolicyRuleData) GetJSONVersion() *int64
- func (o *NpaPolicyRuleData) GetMatchCriteriaAction() *MatchCriteriaAction
- func (o *NpaPolicyRuleData) GetNetLocationObj() []string
- func (o *NpaPolicyRuleData) GetOrganizationUnits() []string
- func (o *NpaPolicyRuleData) GetPolicyType() *PolicyType
- func (o *NpaPolicyRuleData) GetPrivateAppIds() []string
- func (o *NpaPolicyRuleData) GetPrivateAppTagIds() []string
- func (o *NpaPolicyRuleData) GetPrivateAppTags() []string
- func (o *NpaPolicyRuleData) GetPrivateApps() []string
- func (o *NpaPolicyRuleData) GetPrivateAppsWithActivities() []PrivateAppsWithActivities
- func (o *NpaPolicyRuleData) GetShowDlpProfileActionTable() *bool
- func (o *NpaPolicyRuleData) GetSrcCountries() []string
- func (o *NpaPolicyRuleData) GetUserGroups() []string
- func (o *NpaPolicyRuleData) GetUserType() *UserType
- func (o *NpaPolicyRuleData) GetUsers() []string
- func (o *NpaPolicyRuleData) GetVersion() *int64
- type NpaPolicyRuleDlp
- type Order
- type PolicyType
- type PrivateAppsWithActivities
- type RuleOrder
- type Security
- type UserType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessMethod ¶ added in v0.3.0
type AccessMethod string
const ( AccessMethodClient AccessMethod = "Client" AccessMethodClientless AccessMethod = "Clientless" )
func (AccessMethod) ToPointer ¶ added in v0.3.0
func (e AccessMethod) ToPointer() *AccessMethod
func (*AccessMethod) UnmarshalJSON ¶ added in v0.3.0
func (e *AccessMethod) UnmarshalJSON(data []byte) error
type ActionName ¶ added in v0.3.0
type ActionName string
const ( ActionNameAllow ActionName = "allow" ActionNameBlock ActionName = "block" )
func (ActionName) ToPointer ¶ added in v0.3.0
func (e ActionName) ToPointer() *ActionName
func (*ActionName) UnmarshalJSON ¶ added in v0.3.0
func (e *ActionName) UnmarshalJSON(data []byte) error
type Activities ¶ added in v0.3.0
type Activities struct { Activity *Activity `json:"activity,omitempty"` ListOfConstraints []string `json:"list_of_constraints,omitempty"` }
func (*Activities) GetActivity ¶ added in v0.3.0
func (o *Activities) GetActivity() *Activity
func (*Activities) GetListOfConstraints ¶ added in v0.3.0
func (o *Activities) GetListOfConstraints() []string
type Activity ¶ added in v0.3.0
type Activity string
const (
ActivityAny Activity = "any"
)
func (*Activity) UnmarshalJSON ¶ added in v0.3.0
type MatchCriteriaAction ¶ added in v0.3.0
type MatchCriteriaAction struct {
ActionName *ActionName `json:"action_name,omitempty"`
}
func (*MatchCriteriaAction) GetActionName ¶ added in v0.3.0
func (o *MatchCriteriaAction) GetActionName() *ActionName
type NpaPolicyRequest ¶
type NpaPolicyRequest struct { Description *string `json:"description,omitempty"` Enabled *string `json:"enabled,omitempty"` GroupID *string `json:"group_id,omitempty"` GroupName *string `json:"group_name,omitempty"` RuleData *NpaPolicyRuleData `json:"rule_data,omitempty"` RuleName *string `json:"rule_name,omitempty"` RuleOrder *RuleOrder `json:"rule_order,omitempty"` }
func (*NpaPolicyRequest) GetDescription ¶
func (o *NpaPolicyRequest) GetDescription() *string
func (*NpaPolicyRequest) GetEnabled ¶
func (o *NpaPolicyRequest) GetEnabled() *string
func (*NpaPolicyRequest) GetGroupID ¶
func (o *NpaPolicyRequest) GetGroupID() *string
func (*NpaPolicyRequest) GetGroupName ¶
func (o *NpaPolicyRequest) GetGroupName() *string
func (*NpaPolicyRequest) GetRuleData ¶
func (o *NpaPolicyRequest) GetRuleData() *NpaPolicyRuleData
func (*NpaPolicyRequest) GetRuleName ¶
func (o *NpaPolicyRequest) GetRuleName() *string
func (*NpaPolicyRequest) GetRuleOrder ¶
func (o *NpaPolicyRequest) GetRuleOrder() *RuleOrder
type NpaPolicyResponseItem ¶
type NpaPolicyResponseItem struct { GroupID *int64 `json:"group_id,omitempty"` RuleData *NpaPolicyRuleData `json:"rule_data,omitempty"` RuleID *int64 `json:"rule_id,omitempty"` RuleName *string `json:"rule_name,omitempty"` }
func (*NpaPolicyResponseItem) GetGroupID ¶
func (o *NpaPolicyResponseItem) GetGroupID() *int64
func (*NpaPolicyResponseItem) GetRuleData ¶
func (o *NpaPolicyResponseItem) GetRuleData() *NpaPolicyRuleData
func (*NpaPolicyResponseItem) GetRuleID ¶
func (o *NpaPolicyResponseItem) GetRuleID() *int64
func (*NpaPolicyResponseItem) GetRuleName ¶
func (o *NpaPolicyResponseItem) GetRuleName() *string
type NpaPolicyRuleData ¶
type NpaPolicyRuleData struct { AccessMethod *AccessMethod `json:"access_method,omitempty"` BNegateNetLocation *bool `json:"b_negateNetLocation,omitempty"` BNegateSrcCountries *bool `json:"b_negateSrcCountries,omitempty"` Classification *string `json:"classification,omitempty"` DlpActions []NpaPolicyRuleDlp `json:"dlp_actions,omitempty"` ExternalDlp *bool `json:"external_dlp,omitempty"` JSONVersion *int64 `json:"json_version,omitempty"` MatchCriteriaAction *MatchCriteriaAction `json:"match_criteria_action,omitempty"` NetLocationObj []string `json:"net_location_obj,omitempty"` OrganizationUnits []string `json:"organization_units,omitempty"` PolicyType *PolicyType `json:"policy_type,omitempty"` PrivateAppIds []string `json:"privateAppIds,omitempty"` PrivateAppTagIds []string `json:"privateAppTagIds,omitempty"` PrivateAppTags []string `json:"privateAppTags,omitempty"` PrivateApps []string `json:"privateApps,omitempty"` PrivateAppsWithActivities []PrivateAppsWithActivities `json:"privateAppsWithActivities,omitempty"` ShowDlpProfileActionTable *bool `json:"show_dlp_profile_action_table,omitempty"` SrcCountries []string `json:"srcCountries,omitempty"` UserGroups []string `json:"userGroups,omitempty"` UserType *UserType `json:"userType,omitempty"` Users []string `json:"users,omitempty"` Version *int64 `json:"version,omitempty"` }
func (*NpaPolicyRuleData) GetAccessMethod ¶
func (o *NpaPolicyRuleData) GetAccessMethod() *AccessMethod
func (*NpaPolicyRuleData) GetBNegateNetLocation ¶
func (o *NpaPolicyRuleData) GetBNegateNetLocation() *bool
func (*NpaPolicyRuleData) GetBNegateSrcCountries ¶
func (o *NpaPolicyRuleData) GetBNegateSrcCountries() *bool
func (*NpaPolicyRuleData) GetClassification ¶
func (o *NpaPolicyRuleData) GetClassification() *string
func (*NpaPolicyRuleData) GetDlpActions ¶
func (o *NpaPolicyRuleData) GetDlpActions() []NpaPolicyRuleDlp
func (*NpaPolicyRuleData) GetExternalDlp ¶
func (o *NpaPolicyRuleData) GetExternalDlp() *bool
func (*NpaPolicyRuleData) GetJSONVersion ¶
func (o *NpaPolicyRuleData) GetJSONVersion() *int64
func (*NpaPolicyRuleData) GetMatchCriteriaAction ¶
func (o *NpaPolicyRuleData) GetMatchCriteriaAction() *MatchCriteriaAction
func (*NpaPolicyRuleData) GetNetLocationObj ¶
func (o *NpaPolicyRuleData) GetNetLocationObj() []string
func (*NpaPolicyRuleData) GetOrganizationUnits ¶
func (o *NpaPolicyRuleData) GetOrganizationUnits() []string
func (*NpaPolicyRuleData) GetPolicyType ¶
func (o *NpaPolicyRuleData) GetPolicyType() *PolicyType
func (*NpaPolicyRuleData) GetPrivateAppIds ¶
func (o *NpaPolicyRuleData) GetPrivateAppIds() []string
func (*NpaPolicyRuleData) GetPrivateAppTagIds ¶
func (o *NpaPolicyRuleData) GetPrivateAppTagIds() []string
func (*NpaPolicyRuleData) GetPrivateAppTags ¶
func (o *NpaPolicyRuleData) GetPrivateAppTags() []string
func (*NpaPolicyRuleData) GetPrivateApps ¶
func (o *NpaPolicyRuleData) GetPrivateApps() []string
func (*NpaPolicyRuleData) GetPrivateAppsWithActivities ¶
func (o *NpaPolicyRuleData) GetPrivateAppsWithActivities() []PrivateAppsWithActivities
func (*NpaPolicyRuleData) GetShowDlpProfileActionTable ¶
func (o *NpaPolicyRuleData) GetShowDlpProfileActionTable() *bool
func (*NpaPolicyRuleData) GetSrcCountries ¶
func (o *NpaPolicyRuleData) GetSrcCountries() []string
func (*NpaPolicyRuleData) GetUserGroups ¶
func (o *NpaPolicyRuleData) GetUserGroups() []string
func (*NpaPolicyRuleData) GetUserType ¶
func (o *NpaPolicyRuleData) GetUserType() *UserType
func (*NpaPolicyRuleData) GetUsers ¶
func (o *NpaPolicyRuleData) GetUsers() []string
func (*NpaPolicyRuleData) GetVersion ¶
func (o *NpaPolicyRuleData) GetVersion() *int64
type NpaPolicyRuleDlp ¶
type NpaPolicyRuleDlp struct { Actions []Actions `json:"actions,omitempty"` DlpProfile *string `json:"dlp_profile,omitempty"` }
func (*NpaPolicyRuleDlp) GetActions ¶
func (o *NpaPolicyRuleDlp) GetActions() []Actions
func (*NpaPolicyRuleDlp) GetDlpProfile ¶
func (o *NpaPolicyRuleDlp) GetDlpProfile() *string
type PolicyType ¶ added in v0.3.0
type PolicyType string
const (
PolicyTypePrivateApp PolicyType = "private-app"
)
func (PolicyType) ToPointer ¶ added in v0.3.0
func (e PolicyType) ToPointer() *PolicyType
func (*PolicyType) UnmarshalJSON ¶ added in v0.3.0
func (e *PolicyType) UnmarshalJSON(data []byte) error
type PrivateAppsWithActivities ¶ added in v0.3.0
type PrivateAppsWithActivities struct { Activities []Activities `json:"activities,omitempty"` AppName *string `json:"appName,omitempty"` }
func (*PrivateAppsWithActivities) GetActivities ¶ added in v0.3.0
func (o *PrivateAppsWithActivities) GetActivities() []Activities
func (*PrivateAppsWithActivities) GetAppName ¶ added in v0.3.0
func (o *PrivateAppsWithActivities) GetAppName() *string
type RuleOrder ¶ added in v0.3.0
type RuleOrder struct { Order *Order `json:"order,omitempty"` Position *int64 `json:"position,omitempty"` RuleID *int64 `json:"rule_id,omitempty"` RuleName *string `json:"rule_name,omitempty"` }
func (*RuleOrder) GetPosition ¶ added in v0.3.0
func (*RuleOrder) GetRuleName ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.