Documentation ¶
Overview ¶
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- type ActionType
- type ActionType_STATUS
- type ApplicationGateway_STATUS_ApplicationGatewayWebApplicationFirewallPolicy_SubResourceEmbedded
- type ApplicationSecurityGroupPropertiesFormat_STATUS
- type ApplicationSecurityGroup_STATUS
- type ApplicationSecurityGroup_Spec
- type ExclusionManagedRule
- type ExclusionManagedRuleGroup
- type ExclusionManagedRuleGroup_STATUS
- type ExclusionManagedRuleSet
- type ExclusionManagedRuleSet_STATUS
- type ExclusionManagedRule_STATUS
- type GroupByUserSession
- type GroupByUserSession_STATUS
- type GroupByVariable
- type GroupByVariable_STATUS
- type GroupByVariable_VariableName
- type GroupByVariable_VariableName_STATUS
- type ManagedRuleGroupOverride
- type ManagedRuleGroupOverride_STATUS
- type ManagedRuleOverride
- type ManagedRuleOverride_STATUS
- type ManagedRuleOverride_State
- type ManagedRuleOverride_State_STATUS
- type ManagedRuleSet
- type ManagedRuleSet_STATUS
- type ManagedRulesDefinition
- type ManagedRulesDefinition_STATUS
- type MatchCondition
- type MatchCondition_Operator
- type MatchCondition_Operator_STATUS
- type MatchCondition_STATUS
- type MatchVariable
- type MatchVariable_STATUS
- type MatchVariable_VariableName
- type MatchVariable_VariableName_STATUS
- type OwaspCrsExclusionEntry
- type OwaspCrsExclusionEntry_MatchVariable
- type OwaspCrsExclusionEntry_MatchVariable_STATUS
- type OwaspCrsExclusionEntry_STATUS
- type OwaspCrsExclusionEntry_SelectorMatchOperator
- type OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS
- type PolicySettings
- type PolicySettings_LogScrubbing
- type PolicySettings_LogScrubbing_STATUS
- type PolicySettings_LogScrubbing_State
- type PolicySettings_LogScrubbing_State_STATUS
- type PolicySettings_Mode
- type PolicySettings_Mode_STATUS
- type PolicySettings_STATUS
- type PolicySettings_State
- type PolicySettings_State_STATUS
- type ProvisioningState_STATUS
- type SubResource_STATUS
- type Transform
- type Transform_STATUS
- type WebApplicationFirewallCustomRule
- type WebApplicationFirewallCustomRule_Action
- type WebApplicationFirewallCustomRule_Action_STATUS
- type WebApplicationFirewallCustomRule_RateLimitDuration
- type WebApplicationFirewallCustomRule_RateLimitDuration_STATUS
- type WebApplicationFirewallCustomRule_RuleType
- type WebApplicationFirewallCustomRule_RuleType_STATUS
- type WebApplicationFirewallCustomRule_STATUS
- type WebApplicationFirewallCustomRule_State
- type WebApplicationFirewallCustomRule_State_STATUS
- type WebApplicationFirewallPolicyPropertiesFormat
- type WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS
- type WebApplicationFirewallPolicyPropertiesFormat_STATUS
- type WebApplicationFirewallPolicy_STATUS
- type WebApplicationFirewallPolicy_Spec
- type WebApplicationFirewallScrubbingRules
- type WebApplicationFirewallScrubbingRules_MatchVariable
- type WebApplicationFirewallScrubbingRules_MatchVariable_STATUS
- type WebApplicationFirewallScrubbingRules_STATUS
- type WebApplicationFirewallScrubbingRules_SelectorMatchOperator
- type WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS
- type WebApplicationFirewallScrubbingRules_State
- type WebApplicationFirewallScrubbingRules_State_STATUS
Constants ¶
const ( ProvisioningState_STATUS_Deleting = ProvisioningState_STATUS("Deleting") ProvisioningState_STATUS_Failed = ProvisioningState_STATUS("Failed") ProvisioningState_STATUS_Succeeded = ProvisioningState_STATUS("Succeeded") ProvisioningState_STATUS_Updating = ProvisioningState_STATUS("Updating") )
const ( PolicySettings_Mode_Detection = PolicySettings_Mode("Detection") PolicySettings_Mode_Prevention = PolicySettings_Mode("Prevention") )
const ( PolicySettings_State_Disabled = PolicySettings_State("Disabled") PolicySettings_State_Enabled = PolicySettings_State("Enabled") )
const ( WebApplicationFirewallCustomRule_Action_Allow = WebApplicationFirewallCustomRule_Action("Allow") WebApplicationFirewallCustomRule_Action_Block = WebApplicationFirewallCustomRule_Action("Block") WebApplicationFirewallCustomRule_Action_JSChallenge = WebApplicationFirewallCustomRule_Action("JSChallenge") WebApplicationFirewallCustomRule_Action_Log = WebApplicationFirewallCustomRule_Action("Log") )
const ( WebApplicationFirewallCustomRule_RateLimitDuration_FiveMins = WebApplicationFirewallCustomRule_RateLimitDuration("FiveMins") WebApplicationFirewallCustomRule_RateLimitDuration_OneMin = WebApplicationFirewallCustomRule_RateLimitDuration("OneMin") )
const ( WebApplicationFirewallCustomRule_RuleType_Invalid = WebApplicationFirewallCustomRule_RuleType("Invalid") WebApplicationFirewallCustomRule_RuleType_MatchRule = WebApplicationFirewallCustomRule_RuleType("MatchRule") WebApplicationFirewallCustomRule_RuleType_RateLimitRule = WebApplicationFirewallCustomRule_RuleType("RateLimitRule") )
const ( WebApplicationFirewallCustomRule_State_Disabled = WebApplicationFirewallCustomRule_State("Disabled") WebApplicationFirewallCustomRule_State_Enabled = WebApplicationFirewallCustomRule_State("Enabled") )
const ( MatchCondition_Operator_Any = MatchCondition_Operator("Any") MatchCondition_Operator_BeginsWith = MatchCondition_Operator("BeginsWith") MatchCondition_Operator_Contains = MatchCondition_Operator("Contains") MatchCondition_Operator_EndsWith = MatchCondition_Operator("EndsWith") MatchCondition_Operator_Equal = MatchCondition_Operator("Equal") MatchCondition_Operator_GeoMatch = MatchCondition_Operator("GeoMatch") MatchCondition_Operator_GreaterThan = MatchCondition_Operator("GreaterThan") MatchCondition_Operator_GreaterThanOrEqual = MatchCondition_Operator("GreaterThanOrEqual") MatchCondition_Operator_IPMatch = MatchCondition_Operator("IPMatch") MatchCondition_Operator_LessThan = MatchCondition_Operator("LessThan") MatchCondition_Operator_LessThanOrEqual = MatchCondition_Operator("LessThanOrEqual") MatchCondition_Operator_Regex = MatchCondition_Operator("Regex") )
const ( OwaspCrsExclusionEntry_MatchVariable_RequestArgKeys = OwaspCrsExclusionEntry_MatchVariable("RequestArgKeys") OwaspCrsExclusionEntry_MatchVariable_RequestArgNames = OwaspCrsExclusionEntry_MatchVariable("RequestArgNames") OwaspCrsExclusionEntry_MatchVariable_RequestArgValues = OwaspCrsExclusionEntry_MatchVariable("RequestArgValues") OwaspCrsExclusionEntry_MatchVariable_RequestCookieKeys = OwaspCrsExclusionEntry_MatchVariable("RequestCookieKeys") OwaspCrsExclusionEntry_MatchVariable_RequestCookieNames = OwaspCrsExclusionEntry_MatchVariable("RequestCookieNames") OwaspCrsExclusionEntry_MatchVariable_RequestCookieValues = OwaspCrsExclusionEntry_MatchVariable("RequestCookieValues") OwaspCrsExclusionEntry_MatchVariable_RequestHeaderKeys = OwaspCrsExclusionEntry_MatchVariable("RequestHeaderKeys") OwaspCrsExclusionEntry_MatchVariable_RequestHeaderNames = OwaspCrsExclusionEntry_MatchVariable("RequestHeaderNames") OwaspCrsExclusionEntry_MatchVariable_RequestHeaderValues = OwaspCrsExclusionEntry_MatchVariable("RequestHeaderValues") )
const ( OwaspCrsExclusionEntry_SelectorMatchOperator_Contains = OwaspCrsExclusionEntry_SelectorMatchOperator("Contains") OwaspCrsExclusionEntry_SelectorMatchOperator_EndsWith = OwaspCrsExclusionEntry_SelectorMatchOperator("EndsWith") OwaspCrsExclusionEntry_SelectorMatchOperator_Equals = OwaspCrsExclusionEntry_SelectorMatchOperator("Equals") OwaspCrsExclusionEntry_SelectorMatchOperator_EqualsAny = OwaspCrsExclusionEntry_SelectorMatchOperator("EqualsAny") OwaspCrsExclusionEntry_SelectorMatchOperator_StartsWith = OwaspCrsExclusionEntry_SelectorMatchOperator("StartsWith") )
const ( PolicySettings_LogScrubbing_State_Disabled = PolicySettings_LogScrubbing_State("Disabled") PolicySettings_LogScrubbing_State_Enabled = PolicySettings_LogScrubbing_State("Enabled") )
const ( Transform_HtmlEntityDecode = Transform("HtmlEntityDecode") Transform_Lowercase = Transform("Lowercase") Transform_RemoveNulls = Transform("RemoveNulls") Transform_Trim = Transform("Trim") Transform_Uppercase = Transform("Uppercase") Transform_UrlDecode = Transform("UrlDecode") Transform_UrlEncode = Transform("UrlEncode") )
const ( GroupByVariable_VariableName_ClientAddr = GroupByVariable_VariableName("ClientAddr") GroupByVariable_VariableName_GeoLocation = GroupByVariable_VariableName("GeoLocation") GroupByVariable_VariableName_None = GroupByVariable_VariableName("None") )
const ( MatchVariable_VariableName_PostArgs = MatchVariable_VariableName("PostArgs") MatchVariable_VariableName_QueryString = MatchVariable_VariableName("QueryString") MatchVariable_VariableName_RemoteAddr = MatchVariable_VariableName("RemoteAddr") MatchVariable_VariableName_RequestBody = MatchVariable_VariableName("RequestBody") MatchVariable_VariableName_RequestCookies = MatchVariable_VariableName("RequestCookies") MatchVariable_VariableName_RequestHeaders = MatchVariable_VariableName("RequestHeaders") MatchVariable_VariableName_RequestMethod = MatchVariable_VariableName("RequestMethod") MatchVariable_VariableName_RequestUri = MatchVariable_VariableName("RequestUri") )
const ( WebApplicationFirewallScrubbingRules_MatchVariable_RequestArgNames = WebApplicationFirewallScrubbingRules_MatchVariable("RequestArgNames") WebApplicationFirewallScrubbingRules_MatchVariable_RequestCookieNames = WebApplicationFirewallScrubbingRules_MatchVariable("RequestCookieNames") WebApplicationFirewallScrubbingRules_MatchVariable_RequestHeaderNames = WebApplicationFirewallScrubbingRules_MatchVariable("RequestHeaderNames") WebApplicationFirewallScrubbingRules_MatchVariable_RequestIPAddress = WebApplicationFirewallScrubbingRules_MatchVariable("RequestIPAddress") WebApplicationFirewallScrubbingRules_MatchVariable_RequestJSONArgNames = WebApplicationFirewallScrubbingRules_MatchVariable("RequestJSONArgNames") WebApplicationFirewallScrubbingRules_MatchVariable_RequestPostArgNames = WebApplicationFirewallScrubbingRules_MatchVariable("RequestPostArgNames") )
const ( WebApplicationFirewallScrubbingRules_SelectorMatchOperator_Equals = WebApplicationFirewallScrubbingRules_SelectorMatchOperator("Equals") WebApplicationFirewallScrubbingRules_SelectorMatchOperator_EqualsAny = WebApplicationFirewallScrubbingRules_SelectorMatchOperator("EqualsAny") )
const ( WebApplicationFirewallScrubbingRules_State_Disabled = WebApplicationFirewallScrubbingRules_State("Disabled") WebApplicationFirewallScrubbingRules_State_Enabled = WebApplicationFirewallScrubbingRules_State("Enabled") )
const ( ActionType_Allow = ActionType("Allow") ActionType_AnomalyScoring = ActionType("AnomalyScoring") ActionType_Block = ActionType("Block") ActionType_JSChallenge = ActionType("JSChallenge") ActionType_Log = ActionType("Log") )
const ( ManagedRuleOverride_State_Disabled = ManagedRuleOverride_State("Disabled") ManagedRuleOverride_State_Enabled = ManagedRuleOverride_State("Enabled") )
const ( WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS_Creating = WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS("Creating") WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS_Deleting = WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS("Deleting") WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS_Disabled = WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS("Disabled") WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS_Disabling = WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS("Disabling") WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS_Enabled = WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS("Enabled") WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS_Enabling = WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS("Enabling") )
const ( PolicySettings_Mode_STATUS_Detection = PolicySettings_Mode_STATUS("Detection") PolicySettings_Mode_STATUS_Prevention = PolicySettings_Mode_STATUS("Prevention") )
const ( PolicySettings_State_STATUS_Disabled = PolicySettings_State_STATUS("Disabled") PolicySettings_State_STATUS_Enabled = PolicySettings_State_STATUS("Enabled") )
const ( WebApplicationFirewallCustomRule_Action_STATUS_Allow = WebApplicationFirewallCustomRule_Action_STATUS("Allow") WebApplicationFirewallCustomRule_Action_STATUS_Block = WebApplicationFirewallCustomRule_Action_STATUS("Block") WebApplicationFirewallCustomRule_Action_STATUS_JSChallenge = WebApplicationFirewallCustomRule_Action_STATUS("JSChallenge") WebApplicationFirewallCustomRule_Action_STATUS_Log = WebApplicationFirewallCustomRule_Action_STATUS("Log") )
const ( WebApplicationFirewallCustomRule_RateLimitDuration_STATUS_FiveMins = WebApplicationFirewallCustomRule_RateLimitDuration_STATUS("FiveMins") WebApplicationFirewallCustomRule_RateLimitDuration_STATUS_OneMin = WebApplicationFirewallCustomRule_RateLimitDuration_STATUS("OneMin") )
const ( WebApplicationFirewallCustomRule_RuleType_STATUS_Invalid = WebApplicationFirewallCustomRule_RuleType_STATUS("Invalid") WebApplicationFirewallCustomRule_RuleType_STATUS_MatchRule = WebApplicationFirewallCustomRule_RuleType_STATUS("MatchRule") WebApplicationFirewallCustomRule_RuleType_STATUS_RateLimitRule = WebApplicationFirewallCustomRule_RuleType_STATUS("RateLimitRule") )
const ( WebApplicationFirewallCustomRule_State_STATUS_Disabled = WebApplicationFirewallCustomRule_State_STATUS("Disabled") WebApplicationFirewallCustomRule_State_STATUS_Enabled = WebApplicationFirewallCustomRule_State_STATUS("Enabled") )
const ( MatchCondition_Operator_STATUS_Any = MatchCondition_Operator_STATUS("Any") MatchCondition_Operator_STATUS_BeginsWith = MatchCondition_Operator_STATUS("BeginsWith") MatchCondition_Operator_STATUS_Contains = MatchCondition_Operator_STATUS("Contains") MatchCondition_Operator_STATUS_EndsWith = MatchCondition_Operator_STATUS("EndsWith") MatchCondition_Operator_STATUS_Equal = MatchCondition_Operator_STATUS("Equal") MatchCondition_Operator_STATUS_GeoMatch = MatchCondition_Operator_STATUS("GeoMatch") MatchCondition_Operator_STATUS_GreaterThan = MatchCondition_Operator_STATUS("GreaterThan") MatchCondition_Operator_STATUS_GreaterThanOrEqual = MatchCondition_Operator_STATUS("GreaterThanOrEqual") MatchCondition_Operator_STATUS_IPMatch = MatchCondition_Operator_STATUS("IPMatch") MatchCondition_Operator_STATUS_LessThan = MatchCondition_Operator_STATUS("LessThan") MatchCondition_Operator_STATUS_LessThanOrEqual = MatchCondition_Operator_STATUS("LessThanOrEqual") MatchCondition_Operator_STATUS_Regex = MatchCondition_Operator_STATUS("Regex") )
const ( OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestArgKeys = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestArgKeys") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestArgNames = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestArgNames") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestArgValues = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestArgValues") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestCookieKeys = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestCookieKeys") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestCookieNames = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestCookieNames") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestCookieValues = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestCookieValues") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestHeaderKeys = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestHeaderKeys") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestHeaderNames = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestHeaderNames") OwaspCrsExclusionEntry_MatchVariable_STATUS_RequestHeaderValues = OwaspCrsExclusionEntry_MatchVariable_STATUS("RequestHeaderValues") )
const ( OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS_Contains = OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS("Contains") OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS_EndsWith = OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS("EndsWith") OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS_Equals = OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS("Equals") OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS_EqualsAny = OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS("EqualsAny") OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS_StartsWith = OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS("StartsWith") )
const ( PolicySettings_LogScrubbing_State_STATUS_Disabled = PolicySettings_LogScrubbing_State_STATUS("Disabled") PolicySettings_LogScrubbing_State_STATUS_Enabled = PolicySettings_LogScrubbing_State_STATUS("Enabled") )
const ( Transform_STATUS_HtmlEntityDecode = Transform_STATUS("HtmlEntityDecode") Transform_STATUS_Lowercase = Transform_STATUS("Lowercase") Transform_STATUS_RemoveNulls = Transform_STATUS("RemoveNulls") Transform_STATUS_Trim = Transform_STATUS("Trim") Transform_STATUS_Uppercase = Transform_STATUS("Uppercase") Transform_STATUS_UrlDecode = Transform_STATUS("UrlDecode") Transform_STATUS_UrlEncode = Transform_STATUS("UrlEncode") )
const ( GroupByVariable_VariableName_STATUS_ClientAddr = GroupByVariable_VariableName_STATUS("ClientAddr") GroupByVariable_VariableName_STATUS_GeoLocation = GroupByVariable_VariableName_STATUS("GeoLocation") GroupByVariable_VariableName_STATUS_None = GroupByVariable_VariableName_STATUS("None") )
const ( MatchVariable_VariableName_STATUS_PostArgs = MatchVariable_VariableName_STATUS("PostArgs") MatchVariable_VariableName_STATUS_QueryString = MatchVariable_VariableName_STATUS("QueryString") MatchVariable_VariableName_STATUS_RemoteAddr = MatchVariable_VariableName_STATUS("RemoteAddr") MatchVariable_VariableName_STATUS_RequestBody = MatchVariable_VariableName_STATUS("RequestBody") MatchVariable_VariableName_STATUS_RequestCookies = MatchVariable_VariableName_STATUS("RequestCookies") MatchVariable_VariableName_STATUS_RequestHeaders = MatchVariable_VariableName_STATUS("RequestHeaders") MatchVariable_VariableName_STATUS_RequestMethod = MatchVariable_VariableName_STATUS("RequestMethod") MatchVariable_VariableName_STATUS_RequestUri = MatchVariable_VariableName_STATUS("RequestUri") )
const ( WebApplicationFirewallScrubbingRules_MatchVariable_STATUS_RequestArgNames = WebApplicationFirewallScrubbingRules_MatchVariable_STATUS("RequestArgNames") WebApplicationFirewallScrubbingRules_MatchVariable_STATUS_RequestCookieNames = WebApplicationFirewallScrubbingRules_MatchVariable_STATUS("RequestCookieNames") WebApplicationFirewallScrubbingRules_MatchVariable_STATUS_RequestHeaderNames = WebApplicationFirewallScrubbingRules_MatchVariable_STATUS("RequestHeaderNames") WebApplicationFirewallScrubbingRules_MatchVariable_STATUS_RequestIPAddress = WebApplicationFirewallScrubbingRules_MatchVariable_STATUS("RequestIPAddress") WebApplicationFirewallScrubbingRules_MatchVariable_STATUS_RequestJSONArgNames = WebApplicationFirewallScrubbingRules_MatchVariable_STATUS("RequestJSONArgNames") WebApplicationFirewallScrubbingRules_MatchVariable_STATUS_RequestPostArgNames = WebApplicationFirewallScrubbingRules_MatchVariable_STATUS("RequestPostArgNames") )
const ( WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS_Equals = WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS("Equals") WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS_EqualsAny = WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS("EqualsAny") )
const ( WebApplicationFirewallScrubbingRules_State_STATUS_Disabled = WebApplicationFirewallScrubbingRules_State_STATUS("Disabled") WebApplicationFirewallScrubbingRules_State_STATUS_Enabled = WebApplicationFirewallScrubbingRules_State_STATUS("Enabled") )
const ( ActionType_STATUS_Allow = ActionType_STATUS("Allow") ActionType_STATUS_AnomalyScoring = ActionType_STATUS("AnomalyScoring") ActionType_STATUS_Block = ActionType_STATUS("Block") ActionType_STATUS_JSChallenge = ActionType_STATUS("JSChallenge") ActionType_STATUS_Log = ActionType_STATUS("Log") )
const ( ManagedRuleOverride_State_STATUS_Disabled = ManagedRuleOverride_State_STATUS("Disabled") ManagedRuleOverride_State_STATUS_Enabled = ManagedRuleOverride_State_STATUS("Enabled") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType string
Defines the action to take on rule match. +kubebuilder:validation:Enum={"Allow","AnomalyScoring","Block","JSChallenge","Log"}
type ApplicationGateway_STATUS_ApplicationGatewayWebApplicationFirewallPolicy_SubResourceEmbedded ¶
type ApplicationGateway_STATUS_ApplicationGatewayWebApplicationFirewallPolicy_SubResourceEmbedded struct { // Id: Resource ID. Id *string `json:"id,omitempty"` }
Application gateway resource.
type ApplicationSecurityGroupPropertiesFormat_STATUS ¶
type ApplicationSecurityGroupPropertiesFormat_STATUS struct { // ProvisioningState: The provisioning state of the application security group resource. ProvisioningState *ProvisioningState_STATUS `json:"provisioningState,omitempty"` // ResourceGuid: The resource GUID property of the application security group resource. It uniquely identifies a resource, // even if the user changes its name or migrate the resource across subscriptions or resource groups. ResourceGuid *string `json:"resourceGuid,omitempty"` }
Application security group properties.
type ApplicationSecurityGroup_STATUS ¶
type ApplicationSecurityGroup_STATUS struct { // Etag: A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Id: Resource ID. Id *string `json:"id,omitempty"` // Location: Resource location. Location *string `json:"location,omitempty"` // Name: Resource name. Name *string `json:"name,omitempty"` // Properties: Properties of the application security group. Properties *ApplicationSecurityGroupPropertiesFormat_STATUS `json:"properties,omitempty"` // Tags: Resource tags. Tags map[string]string `json:"tags,omitempty"` // Type: Resource type. Type *string `json:"type,omitempty"` }
An application security group in a resource group.
type ApplicationSecurityGroup_Spec ¶
type ApplicationSecurityGroup_Spec struct { // Location: Resource location. Location *string `json:"location,omitempty"` Name string `json:"name,omitempty"` // Tags: Resource tags. Tags map[string]string `json:"tags,omitempty"` }
func (ApplicationSecurityGroup_Spec) GetAPIVersion ¶
func (group ApplicationSecurityGroup_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2024-01-01"
func (*ApplicationSecurityGroup_Spec) GetName ¶
func (group *ApplicationSecurityGroup_Spec) GetName() string
GetName returns the Name of the resource
func (*ApplicationSecurityGroup_Spec) GetType ¶
func (group *ApplicationSecurityGroup_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Network/applicationSecurityGroups"
type ExclusionManagedRule ¶
type ExclusionManagedRule struct { // RuleId: Identifier for the managed rule. RuleId *string `json:"ruleId,omitempty"` }
Defines a managed rule to use for exclusion.
type ExclusionManagedRuleGroup ¶
type ExclusionManagedRuleGroup struct { // RuleGroupName: The managed rule group for exclusion. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Rules: List of rules that will be excluded. If none specified, all rules in the group will be excluded. Rules []ExclusionManagedRule `json:"rules,omitempty"` }
Defines a managed rule group to use for exclusion.
type ExclusionManagedRuleGroup_STATUS ¶
type ExclusionManagedRuleGroup_STATUS struct { // RuleGroupName: The managed rule group for exclusion. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Rules: List of rules that will be excluded. If none specified, all rules in the group will be excluded. Rules []ExclusionManagedRule_STATUS `json:"rules,omitempty"` }
Defines a managed rule group to use for exclusion.
type ExclusionManagedRuleSet ¶
type ExclusionManagedRuleSet struct { // RuleGroups: Defines the rule groups to apply to the rule set. RuleGroups []ExclusionManagedRuleGroup `json:"ruleGroups,omitempty"` // RuleSetType: Defines the rule set type to use. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion: Defines the version of the rule set to use. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` }
Defines a managed rule set for Exclusions.
type ExclusionManagedRuleSet_STATUS ¶
type ExclusionManagedRuleSet_STATUS struct { // RuleGroups: Defines the rule groups to apply to the rule set. RuleGroups []ExclusionManagedRuleGroup_STATUS `json:"ruleGroups,omitempty"` // RuleSetType: Defines the rule set type to use. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion: Defines the version of the rule set to use. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` }
Defines a managed rule set for Exclusions.
type ExclusionManagedRule_STATUS ¶
type ExclusionManagedRule_STATUS struct { // RuleId: Identifier for the managed rule. RuleId *string `json:"ruleId,omitempty"` }
Defines a managed rule to use for exclusion.
type GroupByUserSession ¶
type GroupByUserSession struct { // GroupByVariables: List of group by clause variables. GroupByVariables []GroupByVariable `json:"groupByVariables,omitempty"` }
Define user session identifier group by clauses.
type GroupByUserSession_STATUS ¶
type GroupByUserSession_STATUS struct { // GroupByVariables: List of group by clause variables. GroupByVariables []GroupByVariable_STATUS `json:"groupByVariables,omitempty"` }
Define user session identifier group by clauses.
type GroupByVariable ¶
type GroupByVariable struct { // VariableName: User Session clause variable. VariableName *GroupByVariable_VariableName `json:"variableName,omitempty"` }
Define user session group by clause variables.
type GroupByVariable_STATUS ¶
type GroupByVariable_STATUS struct { // VariableName: User Session clause variable. VariableName *GroupByVariable_VariableName_STATUS `json:"variableName,omitempty"` }
Define user session group by clause variables.
type GroupByVariable_VariableName ¶
type GroupByVariable_VariableName string
+kubebuilder:validation:Enum={"ClientAddr","GeoLocation","None"}
type GroupByVariable_VariableName_STATUS ¶
type GroupByVariable_VariableName_STATUS string
type ManagedRuleGroupOverride ¶
type ManagedRuleGroupOverride struct { // RuleGroupName: The managed rule group to override. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled. Rules []ManagedRuleOverride `json:"rules,omitempty"` }
Defines a managed rule group override setting.
type ManagedRuleGroupOverride_STATUS ¶
type ManagedRuleGroupOverride_STATUS struct { // RuleGroupName: The managed rule group to override. RuleGroupName *string `json:"ruleGroupName,omitempty"` // Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled. Rules []ManagedRuleOverride_STATUS `json:"rules,omitempty"` }
Defines a managed rule group override setting.
type ManagedRuleOverride ¶
type ManagedRuleOverride struct { // Action: Describes the override action to be applied when rule matches. Action *ActionType `json:"action,omitempty"` // RuleId: Identifier for the managed rule. RuleId *string `json:"ruleId,omitempty"` // State: The state of the managed rule. Defaults to Disabled if not specified. State *ManagedRuleOverride_State `json:"state,omitempty"` }
Defines a managed rule group override setting.
type ManagedRuleOverride_STATUS ¶
type ManagedRuleOverride_STATUS struct { // Action: Describes the override action to be applied when rule matches. Action *ActionType_STATUS `json:"action,omitempty"` // RuleId: Identifier for the managed rule. RuleId *string `json:"ruleId,omitempty"` // State: The state of the managed rule. Defaults to Disabled if not specified. State *ManagedRuleOverride_State_STATUS `json:"state,omitempty"` }
Defines a managed rule group override setting.
type ManagedRuleOverride_State ¶
type ManagedRuleOverride_State string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type ManagedRuleOverride_State_STATUS ¶
type ManagedRuleOverride_State_STATUS string
type ManagedRuleSet ¶
type ManagedRuleSet struct { // RuleGroupOverrides: Defines the rule group overrides to apply to the rule set. RuleGroupOverrides []ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"` // RuleSetType: Defines the rule set type to use. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion: Defines the version of the rule set to use. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` }
Defines a managed rule set.
type ManagedRuleSet_STATUS ¶
type ManagedRuleSet_STATUS struct { // RuleGroupOverrides: Defines the rule group overrides to apply to the rule set. RuleGroupOverrides []ManagedRuleGroupOverride_STATUS `json:"ruleGroupOverrides,omitempty"` // RuleSetType: Defines the rule set type to use. RuleSetType *string `json:"ruleSetType,omitempty"` // RuleSetVersion: Defines the version of the rule set to use. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` }
Defines a managed rule set.
type ManagedRulesDefinition ¶
type ManagedRulesDefinition struct { // Exclusions: The Exclusions that are applied on the policy. Exclusions []OwaspCrsExclusionEntry `json:"exclusions,omitempty"` // ManagedRuleSets: The managed rule sets that are associated with the policy. ManagedRuleSets []ManagedRuleSet `json:"managedRuleSets,omitempty"` }
Allow to exclude some variable satisfy the condition for the WAF check.
type ManagedRulesDefinition_STATUS ¶
type ManagedRulesDefinition_STATUS struct { // Exclusions: The Exclusions that are applied on the policy. Exclusions []OwaspCrsExclusionEntry_STATUS `json:"exclusions,omitempty"` // ManagedRuleSets: The managed rule sets that are associated with the policy. ManagedRuleSets []ManagedRuleSet_STATUS `json:"managedRuleSets,omitempty"` }
Allow to exclude some variable satisfy the condition for the WAF check.
type MatchCondition ¶
type MatchCondition struct { // MatchValues: Match value. MatchValues []string `json:"matchValues,omitempty"` // MatchVariables: List of match variables. MatchVariables []MatchVariable `json:"matchVariables,omitempty"` // NegationConditon: Whether this is negate condition or not. NegationConditon *bool `json:"negationConditon,omitempty"` // Operator: The operator to be matched. Operator *MatchCondition_Operator `json:"operator,omitempty"` // Transforms: List of transforms. Transforms []Transform `json:"transforms,omitempty"` }
Define match conditions.
type MatchCondition_Operator ¶
type MatchCondition_Operator string
+kubebuilder:validation:Enum={"Any","BeginsWith","Contains","EndsWith","Equal","GeoMatch","GreaterThan","GreaterThanOrEqual","IPMatch","LessThan","LessThanOrEqual","Regex"}
type MatchCondition_Operator_STATUS ¶
type MatchCondition_Operator_STATUS string
type MatchCondition_STATUS ¶
type MatchCondition_STATUS struct { // MatchValues: Match value. MatchValues []string `json:"matchValues,omitempty"` // MatchVariables: List of match variables. MatchVariables []MatchVariable_STATUS `json:"matchVariables,omitempty"` // NegationConditon: Whether this is negate condition or not. NegationConditon *bool `json:"negationConditon,omitempty"` // Operator: The operator to be matched. Operator *MatchCondition_Operator_STATUS `json:"operator,omitempty"` // Transforms: List of transforms. Transforms []Transform_STATUS `json:"transforms,omitempty"` }
Define match conditions.
type MatchVariable ¶
type MatchVariable struct { // Selector: The selector of match variable. Selector *string `json:"selector,omitempty"` // VariableName: Match Variable. VariableName *MatchVariable_VariableName `json:"variableName,omitempty"` }
Define match variables.
type MatchVariable_STATUS ¶
type MatchVariable_STATUS struct { // Selector: The selector of match variable. Selector *string `json:"selector,omitempty"` // VariableName: Match Variable. VariableName *MatchVariable_VariableName_STATUS `json:"variableName,omitempty"` }
Define match variables.
type MatchVariable_VariableName ¶
type MatchVariable_VariableName string
+kubebuilder:validation:Enum={"PostArgs","QueryString","RemoteAddr","RequestBody","RequestCookies","RequestHeaders","RequestMethod","RequestUri"}
type MatchVariable_VariableName_STATUS ¶
type MatchVariable_VariableName_STATUS string
type OwaspCrsExclusionEntry ¶
type OwaspCrsExclusionEntry struct { // ExclusionManagedRuleSets: The managed rule sets that are associated with the exclusion. ExclusionManagedRuleSets []ExclusionManagedRuleSet `json:"exclusionManagedRuleSets,omitempty"` // MatchVariable: The variable to be excluded. MatchVariable *OwaspCrsExclusionEntry_MatchVariable `json:"matchVariable,omitempty"` // Selector: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion // applies to. Selector *string `json:"selector,omitempty"` // SelectorMatchOperator: When matchVariable is a collection, operate on the selector to specify which elements in the // collection this exclusion applies to. SelectorMatchOperator *OwaspCrsExclusionEntry_SelectorMatchOperator `json:"selectorMatchOperator,omitempty"` }
Allow to exclude some variable satisfy the condition for the WAF check.
type OwaspCrsExclusionEntry_MatchVariable ¶
type OwaspCrsExclusionEntry_MatchVariable string
+kubebuilder:validation:Enum={"RequestArgKeys","RequestArgNames","RequestArgValues","RequestCookieKeys","RequestCookieNames","RequestCookieValues","RequestHeaderKeys","RequestHeaderNames","RequestHeaderValues"}
type OwaspCrsExclusionEntry_MatchVariable_STATUS ¶
type OwaspCrsExclusionEntry_MatchVariable_STATUS string
type OwaspCrsExclusionEntry_STATUS ¶
type OwaspCrsExclusionEntry_STATUS struct { // ExclusionManagedRuleSets: The managed rule sets that are associated with the exclusion. ExclusionManagedRuleSets []ExclusionManagedRuleSet_STATUS `json:"exclusionManagedRuleSets,omitempty"` // MatchVariable: The variable to be excluded. MatchVariable *OwaspCrsExclusionEntry_MatchVariable_STATUS `json:"matchVariable,omitempty"` // Selector: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion // applies to. Selector *string `json:"selector,omitempty"` // SelectorMatchOperator: When matchVariable is a collection, operate on the selector to specify which elements in the // collection this exclusion applies to. SelectorMatchOperator *OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS `json:"selectorMatchOperator,omitempty"` }
Allow to exclude some variable satisfy the condition for the WAF check.
type OwaspCrsExclusionEntry_SelectorMatchOperator ¶
type OwaspCrsExclusionEntry_SelectorMatchOperator string
+kubebuilder:validation:Enum={"Contains","EndsWith","Equals","EqualsAny","StartsWith"}
type OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS ¶
type OwaspCrsExclusionEntry_SelectorMatchOperator_STATUS string
type PolicySettings ¶
type PolicySettings struct { // CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be // specified in base64 encoding. CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"` // CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code. CustomBlockResponseStatusCode *int `json:"customBlockResponseStatusCode,omitempty"` // FileUploadEnforcement: Whether allow WAF to enforce file upload limits. FileUploadEnforcement *bool `json:"fileUploadEnforcement,omitempty"` // FileUploadLimitInMb: Maximum file upload size in Mb for WAF. FileUploadLimitInMb *int `json:"fileUploadLimitInMb,omitempty"` // JsChallengeCookieExpirationInMins: Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes. JsChallengeCookieExpirationInMins *int `json:"jsChallengeCookieExpirationInMins,omitempty"` // LogScrubbing: To scrub sensitive log fields LogScrubbing *PolicySettings_LogScrubbing `json:"logScrubbing,omitempty"` // MaxRequestBodySizeInKb: Maximum request body size in Kb for WAF. MaxRequestBodySizeInKb *int `json:"maxRequestBodySizeInKb,omitempty"` // Mode: The mode of the policy. Mode *PolicySettings_Mode `json:"mode,omitempty"` // RequestBodyCheck: Whether to allow WAF to check request Body. RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` // RequestBodyEnforcement: Whether allow WAF to enforce request body limits. RequestBodyEnforcement *bool `json:"requestBodyEnforcement,omitempty"` // RequestBodyInspectLimitInKB: Max inspection limit in KB for request body inspection for WAF. RequestBodyInspectLimitInKB *int `json:"requestBodyInspectLimitInKB,omitempty"` // State: The state of the policy. State *PolicySettings_State `json:"state,omitempty"` }
Defines contents of a web application firewall global configuration.
type PolicySettings_LogScrubbing ¶
type PolicySettings_LogScrubbing struct { // ScrubbingRules: The rules that are applied to the logs for scrubbing. ScrubbingRules []WebApplicationFirewallScrubbingRules `json:"scrubbingRules,omitempty"` // State: State of the log scrubbing config. Default value is Enabled. State *PolicySettings_LogScrubbing_State `json:"state,omitempty"` }
type PolicySettings_LogScrubbing_STATUS ¶
type PolicySettings_LogScrubbing_STATUS struct { // ScrubbingRules: The rules that are applied to the logs for scrubbing. ScrubbingRules []WebApplicationFirewallScrubbingRules_STATUS `json:"scrubbingRules,omitempty"` // State: State of the log scrubbing config. Default value is Enabled. State *PolicySettings_LogScrubbing_State_STATUS `json:"state,omitempty"` }
type PolicySettings_LogScrubbing_State ¶
type PolicySettings_LogScrubbing_State string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type PolicySettings_LogScrubbing_State_STATUS ¶
type PolicySettings_LogScrubbing_State_STATUS string
type PolicySettings_Mode ¶
type PolicySettings_Mode string
+kubebuilder:validation:Enum={"Detection","Prevention"}
type PolicySettings_Mode_STATUS ¶
type PolicySettings_Mode_STATUS string
type PolicySettings_STATUS ¶
type PolicySettings_STATUS struct { // CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be // specified in base64 encoding. CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"` // CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code. CustomBlockResponseStatusCode *int `json:"customBlockResponseStatusCode,omitempty"` // FileUploadEnforcement: Whether allow WAF to enforce file upload limits. FileUploadEnforcement *bool `json:"fileUploadEnforcement,omitempty"` // FileUploadLimitInMb: Maximum file upload size in Mb for WAF. FileUploadLimitInMb *int `json:"fileUploadLimitInMb,omitempty"` // JsChallengeCookieExpirationInMins: Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes. JsChallengeCookieExpirationInMins *int `json:"jsChallengeCookieExpirationInMins,omitempty"` // LogScrubbing: To scrub sensitive log fields LogScrubbing *PolicySettings_LogScrubbing_STATUS `json:"logScrubbing,omitempty"` // MaxRequestBodySizeInKb: Maximum request body size in Kb for WAF. MaxRequestBodySizeInKb *int `json:"maxRequestBodySizeInKb,omitempty"` // Mode: The mode of the policy. Mode *PolicySettings_Mode_STATUS `json:"mode,omitempty"` // RequestBodyCheck: Whether to allow WAF to check request Body. RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` // RequestBodyEnforcement: Whether allow WAF to enforce request body limits. RequestBodyEnforcement *bool `json:"requestBodyEnforcement,omitempty"` // RequestBodyInspectLimitInKB: Max inspection limit in KB for request body inspection for WAF. RequestBodyInspectLimitInKB *int `json:"requestBodyInspectLimitInKB,omitempty"` // State: The state of the policy. State *PolicySettings_State_STATUS `json:"state,omitempty"` }
Defines contents of a web application firewall global configuration.
type PolicySettings_State ¶
type PolicySettings_State string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type PolicySettings_State_STATUS ¶
type PolicySettings_State_STATUS string
type ProvisioningState_STATUS ¶
type ProvisioningState_STATUS string
The current provisioning state.
type SubResource_STATUS ¶
type SubResource_STATUS struct { // Id: Resource ID. Id *string `json:"id,omitempty"` }
Reference to another subresource.
type Transform ¶
type Transform string
Transforms applied before matching. +kubebuilder:validation:Enum={"HtmlEntityDecode","Lowercase","RemoveNulls","Trim","Uppercase","UrlDecode","UrlEncode"}
type WebApplicationFirewallCustomRule ¶
type WebApplicationFirewallCustomRule struct { // Action: Type of Actions. Action *WebApplicationFirewallCustomRule_Action `json:"action,omitempty"` // GroupByUserSession: List of user session identifier group by clauses. GroupByUserSession []GroupByUserSession `json:"groupByUserSession,omitempty"` // MatchConditions: List of match conditions. MatchConditions []MatchCondition `json:"matchConditions,omitempty"` // Name: The name of the resource that is unique within a policy. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Priority: Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Priority *int `json:"priority,omitempty"` // RateLimitDuration: Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule. RateLimitDuration *WebApplicationFirewallCustomRule_RateLimitDuration `json:"rateLimitDuration,omitempty"` // RateLimitThreshold: Rate Limit threshold to apply in case ruleType is RateLimitRule. Must be greater than or equal to 1 RateLimitThreshold *int `json:"rateLimitThreshold,omitempty"` // RuleType: The rule type. RuleType *WebApplicationFirewallCustomRule_RuleType `json:"ruleType,omitempty"` // State: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. State *WebApplicationFirewallCustomRule_State `json:"state,omitempty"` }
Defines contents of a web application rule.
type WebApplicationFirewallCustomRule_Action ¶
type WebApplicationFirewallCustomRule_Action string
+kubebuilder:validation:Enum={"Allow","Block","JSChallenge","Log"}
type WebApplicationFirewallCustomRule_Action_STATUS ¶
type WebApplicationFirewallCustomRule_Action_STATUS string
type WebApplicationFirewallCustomRule_RateLimitDuration ¶
type WebApplicationFirewallCustomRule_RateLimitDuration string
+kubebuilder:validation:Enum={"FiveMins","OneMin"}
type WebApplicationFirewallCustomRule_RateLimitDuration_STATUS ¶
type WebApplicationFirewallCustomRule_RateLimitDuration_STATUS string
type WebApplicationFirewallCustomRule_RuleType ¶
type WebApplicationFirewallCustomRule_RuleType string
+kubebuilder:validation:Enum={"Invalid","MatchRule","RateLimitRule"}
type WebApplicationFirewallCustomRule_RuleType_STATUS ¶
type WebApplicationFirewallCustomRule_RuleType_STATUS string
type WebApplicationFirewallCustomRule_STATUS ¶
type WebApplicationFirewallCustomRule_STATUS struct { // Action: Type of Actions. Action *WebApplicationFirewallCustomRule_Action_STATUS `json:"action,omitempty"` // Etag: A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // GroupByUserSession: List of user session identifier group by clauses. GroupByUserSession []GroupByUserSession_STATUS `json:"groupByUserSession,omitempty"` // MatchConditions: List of match conditions. MatchConditions []MatchCondition_STATUS `json:"matchConditions,omitempty"` // Name: The name of the resource that is unique within a policy. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Priority: Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Priority *int `json:"priority,omitempty"` // RateLimitDuration: Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule. RateLimitDuration *WebApplicationFirewallCustomRule_RateLimitDuration_STATUS `json:"rateLimitDuration,omitempty"` // RateLimitThreshold: Rate Limit threshold to apply in case ruleType is RateLimitRule. Must be greater than or equal to 1 RateLimitThreshold *int `json:"rateLimitThreshold,omitempty"` // RuleType: The rule type. RuleType *WebApplicationFirewallCustomRule_RuleType_STATUS `json:"ruleType,omitempty"` // State: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. State *WebApplicationFirewallCustomRule_State_STATUS `json:"state,omitempty"` }
Defines contents of a web application rule.
type WebApplicationFirewallCustomRule_State ¶
type WebApplicationFirewallCustomRule_State string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type WebApplicationFirewallCustomRule_State_STATUS ¶
type WebApplicationFirewallCustomRule_State_STATUS string
type WebApplicationFirewallPolicyPropertiesFormat ¶
type WebApplicationFirewallPolicyPropertiesFormat struct { // CustomRules: The custom rules inside the policy. CustomRules []WebApplicationFirewallCustomRule `json:"customRules,omitempty"` // ManagedRules: Describes the managedRules structure. ManagedRules *ManagedRulesDefinition `json:"managedRules,omitempty"` // PolicySettings: The PolicySettings for policy. PolicySettings *PolicySettings `json:"policySettings,omitempty"` }
Defines web application firewall policy properties.
type WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS ¶
type WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS string
type WebApplicationFirewallPolicyPropertiesFormat_STATUS ¶
type WebApplicationFirewallPolicyPropertiesFormat_STATUS struct { // ApplicationGateways: A collection of references to application gateways. ApplicationGateways []ApplicationGateway_STATUS_ApplicationGatewayWebApplicationFirewallPolicy_SubResourceEmbedded `json:"applicationGateways,omitempty"` // CustomRules: The custom rules inside the policy. CustomRules []WebApplicationFirewallCustomRule_STATUS `json:"customRules,omitempty"` // HttpListeners: A collection of references to application gateway http listeners. HttpListeners []SubResource_STATUS `json:"httpListeners,omitempty"` // ManagedRules: Describes the managedRules structure. ManagedRules *ManagedRulesDefinition_STATUS `json:"managedRules,omitempty"` // PathBasedRules: A collection of references to application gateway path rules. PathBasedRules []SubResource_STATUS `json:"pathBasedRules,omitempty"` // PolicySettings: The PolicySettings for policy. PolicySettings *PolicySettings_STATUS `json:"policySettings,omitempty"` // ProvisioningState: The provisioning state of the web application firewall policy resource. ProvisioningState *ProvisioningState_STATUS `json:"provisioningState,omitempty"` // ResourceState: Resource status of the policy. ResourceState *WebApplicationFirewallPolicyPropertiesFormat_ResourceState_STATUS `json:"resourceState,omitempty"` }
Defines web application firewall policy properties.
type WebApplicationFirewallPolicy_STATUS ¶
type WebApplicationFirewallPolicy_STATUS struct { // Etag: A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Id: Resource ID. Id *string `json:"id,omitempty"` // Location: Resource location. Location *string `json:"location,omitempty"` // Name: Resource name. Name *string `json:"name,omitempty"` // Properties: Properties of the web application firewall policy. Properties *WebApplicationFirewallPolicyPropertiesFormat_STATUS `json:"properties,omitempty"` // Tags: Resource tags. Tags map[string]string `json:"tags,omitempty"` // Type: Resource type. Type *string `json:"type,omitempty"` }
type WebApplicationFirewallPolicy_Spec ¶
type WebApplicationFirewallPolicy_Spec struct { // Location: Resource location. Location *string `json:"location,omitempty"` Name string `json:"name,omitempty"` // Properties: Properties of the web application firewall policy. Properties *WebApplicationFirewallPolicyPropertiesFormat `json:"properties,omitempty"` // Tags: Resource tags. Tags map[string]string `json:"tags,omitempty"` }
func (WebApplicationFirewallPolicy_Spec) GetAPIVersion ¶
func (policy WebApplicationFirewallPolicy_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2024-01-01"
func (*WebApplicationFirewallPolicy_Spec) GetName ¶
func (policy *WebApplicationFirewallPolicy_Spec) GetName() string
GetName returns the Name of the resource
func (*WebApplicationFirewallPolicy_Spec) GetType ¶
func (policy *WebApplicationFirewallPolicy_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies"
type WebApplicationFirewallScrubbingRules ¶
type WebApplicationFirewallScrubbingRules struct { // MatchVariable: The variable to be scrubbed from the logs. MatchVariable *WebApplicationFirewallScrubbingRules_MatchVariable `json:"matchVariable,omitempty"` // Selector: When matchVariable is a collection, operator used to specify which elements in the collection this rule // applies to. Selector *string `json:"selector,omitempty"` // SelectorMatchOperator: When matchVariable is a collection, operate on the selector to specify which elements in the // collection this rule applies to. SelectorMatchOperator *WebApplicationFirewallScrubbingRules_SelectorMatchOperator `json:"selectorMatchOperator,omitempty"` // State: Defines the state of log scrubbing rule. Default value is Enabled. State *WebApplicationFirewallScrubbingRules_State `json:"state,omitempty"` }
Allow certain variables to be scrubbed on WAF logs
type WebApplicationFirewallScrubbingRules_MatchVariable ¶
type WebApplicationFirewallScrubbingRules_MatchVariable string
+kubebuilder:validation:Enum={"RequestArgNames","RequestCookieNames","RequestHeaderNames","RequestIPAddress","RequestJSONArgNames","RequestPostArgNames"}
type WebApplicationFirewallScrubbingRules_MatchVariable_STATUS ¶
type WebApplicationFirewallScrubbingRules_MatchVariable_STATUS string
type WebApplicationFirewallScrubbingRules_STATUS ¶
type WebApplicationFirewallScrubbingRules_STATUS struct { // MatchVariable: The variable to be scrubbed from the logs. MatchVariable *WebApplicationFirewallScrubbingRules_MatchVariable_STATUS `json:"matchVariable,omitempty"` // Selector: When matchVariable is a collection, operator used to specify which elements in the collection this rule // applies to. Selector *string `json:"selector,omitempty"` // SelectorMatchOperator: When matchVariable is a collection, operate on the selector to specify which elements in the // collection this rule applies to. SelectorMatchOperator *WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS `json:"selectorMatchOperator,omitempty"` // State: Defines the state of log scrubbing rule. Default value is Enabled. State *WebApplicationFirewallScrubbingRules_State_STATUS `json:"state,omitempty"` }
Allow certain variables to be scrubbed on WAF logs
type WebApplicationFirewallScrubbingRules_SelectorMatchOperator ¶
type WebApplicationFirewallScrubbingRules_SelectorMatchOperator string
+kubebuilder:validation:Enum={"Equals","EqualsAny"}
type WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS ¶
type WebApplicationFirewallScrubbingRules_SelectorMatchOperator_STATUS string
type WebApplicationFirewallScrubbingRules_State ¶
type WebApplicationFirewallScrubbingRules_State string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type WebApplicationFirewallScrubbingRules_State_STATUS ¶
type WebApplicationFirewallScrubbingRules_State_STATUS string