FirewallPolicy
Manages an Azure Front Door Web Application Firewall Policy instance.
Create a FirewallPolicy Resource
new FirewallPolicy(name: string, args: FirewallPolicyArgs, opts?: CustomResourceOptions);def FirewallPolicy(resource_name, opts=None, custom_block_response_body=None, custom_block_response_status_code=None, custom_rules=None, enabled=None, managed_rules=None, mode=None, name=None, redirect_url=None, resource_group_name=None, tags=None, __props__=None);func NewFirewallPolicy(ctx *Context, name string, args FirewallPolicyArgs, opts ...ResourceOption) (*FirewallPolicy, error)public FirewallPolicy(string name, FirewallPolicyArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args FirewallPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FirewallPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirewallPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
FirewallPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The FirewallPolicy resource accepts the following input properties:
- Resource
Group stringName The name of the resource group. Changing this forces a new resource to be created.
- Custom
Block stringResponse Body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- Custom
Block intResponse Status Code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- Custom
Rules List<FirewallPolicy Custom Rule Args> One or more
custom_ruleblocks as defined below.- Enabled bool
Is the policy a enabled state or disabled state. Defaults to
true.- Managed
Rules List<FirewallPolicy Managed Rule Args> One or more
managed_ruleblocks as defined below.- Mode string
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- Name string
The name of the policy. Changing this forces a new resource to be created.
- Redirect
Url string If action type is redirect, this field represents redirect URL for the client.
- Dictionary<string, string>
A mapping of tags to assign to the Web Application Firewall Policy.
- Resource
Group stringName The name of the resource group. Changing this forces a new resource to be created.
- Custom
Block stringResponse Body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- Custom
Block intResponse Status Code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- Custom
Rules []FirewallPolicy Custom Rule One or more
custom_ruleblocks as defined below.- Enabled bool
Is the policy a enabled state or disabled state. Defaults to
true.- Managed
Rules []FirewallPolicy Managed Rule One or more
managed_ruleblocks as defined below.- Mode string
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- Name string
The name of the policy. Changing this forces a new resource to be created.
- Redirect
Url string If action type is redirect, this field represents redirect URL for the client.
- map[string]string
A mapping of tags to assign to the Web Application Firewall Policy.
- resource
Group stringName The name of the resource group. Changing this forces a new resource to be created.
- custom
Block stringResponse Body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- custom
Block numberResponse Status Code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- custom
Rules FirewallPolicy Custom Rule[] One or more
custom_ruleblocks as defined below.- enabled boolean
Is the policy a enabled state or disabled state. Defaults to
true.- managed
Rules FirewallPolicy Managed Rule[] One or more
managed_ruleblocks as defined below.- mode string
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- name string
The name of the policy. Changing this forces a new resource to be created.
- redirect
Url string If action type is redirect, this field represents redirect URL for the client.
- {[key: string]: string}
A mapping of tags to assign to the Web Application Firewall Policy.
- resource_
group_ strname The name of the resource group. Changing this forces a new resource to be created.
- custom_
block_ strresponse_ body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- custom_
block_ floatresponse_ status_ code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- custom_
rules List[FirewallPolicy Custom Rule] One or more
custom_ruleblocks as defined below.- enabled bool
Is the policy a enabled state or disabled state. Defaults to
true.- managed_
rules List[FirewallPolicy Managed Rule] One or more
managed_ruleblocks as defined below.- mode str
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- name str
The name of the policy. Changing this forces a new resource to be created.
- redirect_
url str If action type is redirect, this field represents redirect URL for the client.
- Dict[str, str]
A mapping of tags to assign to the Web Application Firewall Policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the FirewallPolicy resource produces the following output properties:
- Frontend
Endpoint List<string>Ids the Frontend Endpoints associated with this Front Door Web Application Firewall policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
Resource location.
Look up an Existing FirewallPolicy Resource
Get an existing FirewallPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FirewallPolicyState, opts?: CustomResourceOptions): FirewallPolicystatic get(resource_name, id, opts=None, custom_block_response_body=None, custom_block_response_status_code=None, custom_rules=None, enabled=None, frontend_endpoint_ids=None, location=None, managed_rules=None, mode=None, name=None, redirect_url=None, resource_group_name=None, tags=None, __props__=None);func GetFirewallPolicy(ctx *Context, name string, id IDInput, state *FirewallPolicyState, opts ...ResourceOption) (*FirewallPolicy, error)public static FirewallPolicy Get(string name, Input<string> id, FirewallPolicyState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Custom
Block stringResponse Body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- Custom
Block intResponse Status Code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- Custom
Rules List<FirewallPolicy Custom Rule Args> One or more
custom_ruleblocks as defined below.- Enabled bool
Is the policy a enabled state or disabled state. Defaults to
true.- Frontend
Endpoint List<string>Ids the Frontend Endpoints associated with this Front Door Web Application Firewall policy.
- Location string
Resource location.
- Managed
Rules List<FirewallPolicy Managed Rule Args> One or more
managed_ruleblocks as defined below.- Mode string
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- Name string
The name of the policy. Changing this forces a new resource to be created.
- Redirect
Url string If action type is redirect, this field represents redirect URL for the client.
- Resource
Group stringName The name of the resource group. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the Web Application Firewall Policy.
- Custom
Block stringResponse Body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- Custom
Block intResponse Status Code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- Custom
Rules []FirewallPolicy Custom Rule One or more
custom_ruleblocks as defined below.- Enabled bool
Is the policy a enabled state or disabled state. Defaults to
true.- Frontend
Endpoint []stringIds the Frontend Endpoints associated with this Front Door Web Application Firewall policy.
- Location string
Resource location.
- Managed
Rules []FirewallPolicy Managed Rule One or more
managed_ruleblocks as defined below.- Mode string
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- Name string
The name of the policy. Changing this forces a new resource to be created.
- Redirect
Url string If action type is redirect, this field represents redirect URL for the client.
- Resource
Group stringName The name of the resource group. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the Web Application Firewall Policy.
- custom
Block stringResponse Body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- custom
Block numberResponse Status Code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- custom
Rules FirewallPolicy Custom Rule[] One or more
custom_ruleblocks as defined below.- enabled boolean
Is the policy a enabled state or disabled state. Defaults to
true.- frontend
Endpoint string[]Ids the Frontend Endpoints associated with this Front Door Web Application Firewall policy.
- location string
Resource location.
- managed
Rules FirewallPolicy Managed Rule[] One or more
managed_ruleblocks as defined below.- mode string
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- name string
The name of the policy. Changing this forces a new resource to be created.
- redirect
Url string If action type is redirect, this field represents redirect URL for the client.
- resource
Group stringName The name of the resource group. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the Web Application Firewall Policy.
- custom_
block_ strresponse_ body If a
custom_ruleblock’s action type isblock, this is the response body. The body must be specified in base64 encoding.- custom_
block_ floatresponse_ status_ code If a
custom_ruleblock’s action type isblock, this is the response status code. Possible values are200,403,405,406, or429.- custom_
rules List[FirewallPolicy Custom Rule] One or more
custom_ruleblocks as defined below.- enabled bool
Is the policy a enabled state or disabled state. Defaults to
true.- frontend_
endpoint_ List[str]ids the Frontend Endpoints associated with this Front Door Web Application Firewall policy.
- location str
Resource location.
- managed_
rules List[FirewallPolicy Managed Rule] One or more
managed_ruleblocks as defined below.- mode str
The firewall policy mode. Possible values are
Detection,Preventionand defaults toPrevention.- name str
The name of the policy. Changing this forces a new resource to be created.
- redirect_
url str If action type is redirect, this field represents redirect URL for the client.
- resource_
group_ strname The name of the resource group. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the Web Application Firewall Policy.
Supporting Types
FirewallPolicyCustomRule
- Action string
The action to perform when the rule is matched. Possible values are
Allow,Block,Log, orRedirect.- Name string
Gets name of the resource that is unique within a policy. This name can be used to access the resource.
- Type string
The type of rule. Possible values are
MatchRuleorRateLimitRule.- Enabled bool
Is the rule is enabled or disabled? Defaults to
true.- Match
Conditions List<FirewallPolicy Custom Rule Match Condition Args> One or more
match_conditionblock defined below.- Priority int
The priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Defaults to
1.- Rate
Limit intDuration In Minutes The rate limit duration in minutes. Defaults to
1.- Rate
Limit intThreshold The rate limit threshold. Defaults to
10.
- Action string
The action to perform when the rule is matched. Possible values are
Allow,Block,Log, orRedirect.- Name string
Gets name of the resource that is unique within a policy. This name can be used to access the resource.
- Type string
The type of rule. Possible values are
MatchRuleorRateLimitRule.- Enabled bool
Is the rule is enabled or disabled? Defaults to
true.- Match
Conditions []FirewallPolicy Custom Rule Match Condition One or more
match_conditionblock defined below.- Priority int
The priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Defaults to
1.- Rate
Limit intDuration In Minutes The rate limit duration in minutes. Defaults to
1.- Rate
Limit intThreshold The rate limit threshold. Defaults to
10.
- action string
The action to perform when the rule is matched. Possible values are
Allow,Block,Log, orRedirect.- name string
Gets name of the resource that is unique within a policy. This name can be used to access the resource.
- type string
The type of rule. Possible values are
MatchRuleorRateLimitRule.- enabled boolean
Is the rule is enabled or disabled? Defaults to
true.- match
Conditions FirewallPolicy Custom Rule Match Condition[] One or more
match_conditionblock defined below.- priority number
The priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Defaults to
1.- rate
Limit numberDuration In Minutes The rate limit duration in minutes. Defaults to
1.- rate
Limit numberThreshold The rate limit threshold. Defaults to
10.
- action str
The action to perform when the rule is matched. Possible values are
Allow,Block,Log, orRedirect.- name str
Gets name of the resource that is unique within a policy. This name can be used to access the resource.
- type str
The type of rule. Possible values are
MatchRuleorRateLimitRule.- enabled bool
Is the rule is enabled or disabled? Defaults to
true.- match
Conditions List[FirewallPolicy Custom Rule Match Condition] One or more
match_conditionblock defined below.- priority float
The priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Defaults to
1.- rate
Limit floatDuration In Minutes The rate limit duration in minutes. Defaults to
1.- rate
Limit floatThreshold The rate limit threshold. Defaults to
10.
FirewallPolicyCustomRuleMatchCondition
- Match
Values List<string> Up to
100possible values to match.- Match
Variable string The request variable to compare with. Possible values are
Cookies,PostArgs,QueryString,RemoteAddr,RequestBody,RequestHeader,RequestMethod, orRequestUri.- Operator string
Comparison type to use for matching with the variable value. Possible values are
Any,BeginsWith,Contains,EndsWith,Equal,GeoMatch,GreaterThan,GreaterThanOrEqual,IPMatch,LessThan,LessThanOrEqualorRegEx.- Negation
Condition bool Should the result of the condition be negated.
- Selector string
Match against a specific key if the
match_variableisQueryString,PostArgs,RequestHeaderorCookies.- Transforms List<string>
Up to
5transforms to apply. Possible values areLowercase,RemoveNulls,Trim,Uppercase,URLDecodeorURLEncode.
- Match
Values []string Up to
100possible values to match.- Match
Variable string The request variable to compare with. Possible values are
Cookies,PostArgs,QueryString,RemoteAddr,RequestBody,RequestHeader,RequestMethod, orRequestUri.- Operator string
Comparison type to use for matching with the variable value. Possible values are
Any,BeginsWith,Contains,EndsWith,Equal,GeoMatch,GreaterThan,GreaterThanOrEqual,IPMatch,LessThan,LessThanOrEqualorRegEx.- Negation
Condition bool Should the result of the condition be negated.
- Selector string
Match against a specific key if the
match_variableisQueryString,PostArgs,RequestHeaderorCookies.- Transforms []string
Up to
5transforms to apply. Possible values areLowercase,RemoveNulls,Trim,Uppercase,URLDecodeorURLEncode.
- match
Values string[] Up to
100possible values to match.- match
Variable string The request variable to compare with. Possible values are
Cookies,PostArgs,QueryString,RemoteAddr,RequestBody,RequestHeader,RequestMethod, orRequestUri.- operator string
Comparison type to use for matching with the variable value. Possible values are
Any,BeginsWith,Contains,EndsWith,Equal,GeoMatch,GreaterThan,GreaterThanOrEqual,IPMatch,LessThan,LessThanOrEqualorRegEx.- negation
Condition boolean Should the result of the condition be negated.
- selector string
Match against a specific key if the
match_variableisQueryString,PostArgs,RequestHeaderorCookies.- transforms string[]
Up to
5transforms to apply. Possible values areLowercase,RemoveNulls,Trim,Uppercase,URLDecodeorURLEncode.
- match
Values List[str] Up to
100possible values to match.- match
Variable str The request variable to compare with. Possible values are
Cookies,PostArgs,QueryString,RemoteAddr,RequestBody,RequestHeader,RequestMethod, orRequestUri.- operator str
Comparison type to use for matching with the variable value. Possible values are
Any,BeginsWith,Contains,EndsWith,Equal,GeoMatch,GreaterThan,GreaterThanOrEqual,IPMatch,LessThan,LessThanOrEqualorRegEx.- negation
Condition bool Should the result of the condition be negated.
- selector str
Match against a specific key if the
match_variableisQueryString,PostArgs,RequestHeaderorCookies.- transforms List[str]
Up to
5transforms to apply. Possible values areLowercase,RemoveNulls,Trim,Uppercase,URLDecodeorURLEncode.
FirewallPolicyManagedRule
- Type string
The name of the managed rule to use with this resource.
- Version string
The version on the managed rule to use with this resource.
- Exclusions
List<Firewall
Policy Managed Rule Exclusion Args> One or more
exclusionblocks as defined below.- Overrides
List<Firewall
Policy Managed Rule Override Args> One or more
overrideblocks as defined below.
- Type string
The name of the managed rule to use with this resource.
- Version string
The version on the managed rule to use with this resource.
- Exclusions
[]Firewall
Policy Managed Rule Exclusion One or more
exclusionblocks as defined below.- Overrides
[]Firewall
Policy Managed Rule Override One or more
overrideblocks as defined below.
- type string
The name of the managed rule to use with this resource.
- version string
The version on the managed rule to use with this resource.
- exclusions
Firewall
Policy Managed Rule Exclusion[] One or more
exclusionblocks as defined below.- overrides
Firewall
Policy Managed Rule Override[] One or more
overrideblocks as defined below.
- type str
The name of the managed rule to use with this resource.
- version str
The version on the managed rule to use with this resource.
- exclusions
List[Firewall
Policy Managed Rule Exclusion] One or more
exclusionblocks as defined below.- overrides
List[Firewall
Policy Managed Rule Override] One or more
overrideblocks as defined below.
FirewallPolicyManagedRuleExclusion
- Match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- Operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- Selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- Match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- Operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- Selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- match
Variable str The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- operator str
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- selector str
Selector for the value in the
match_variableattribute this exclusion applies to.
FirewallPolicyManagedRuleOverride
- Rule
Group stringName The managed rule group to override.
- Exclusions
List<Firewall
Policy Managed Rule Override Exclusion Args> One or more
exclusionblocks as defined below.- Rules
List<Firewall
Policy Managed Rule Override Rule Args> One or more
ruleblocks as defined below. If none are specified, all of the rules in the group will be disabled.
- Rule
Group stringName The managed rule group to override.
- Exclusions
[]Firewall
Policy Managed Rule Override Exclusion One or more
exclusionblocks as defined below.- Rules
[]Firewall
Policy Managed Rule Override Rule One or more
ruleblocks as defined below. If none are specified, all of the rules in the group will be disabled.
- rule
Group stringName The managed rule group to override.
- exclusions
Firewall
Policy Managed Rule Override Exclusion[] One or more
exclusionblocks as defined below.- rules
Firewall
Policy Managed Rule Override Rule[] One or more
ruleblocks as defined below. If none are specified, all of the rules in the group will be disabled.
- rule
Group strName The managed rule group to override.
- exclusions
List[Firewall
Policy Managed Rule Override Exclusion] One or more
exclusionblocks as defined below.- rules
List[Firewall
Policy Managed Rule Override Rule] One or more
ruleblocks as defined below. If none are specified, all of the rules in the group will be disabled.
FirewallPolicyManagedRuleOverrideExclusion
- Match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- Operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- Selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- Match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- Operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- Selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- match
Variable str The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- operator str
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- selector str
Selector for the value in the
match_variableattribute this exclusion applies to.
FirewallPolicyManagedRuleOverrideRule
- Action string
The action to be applied when the rule matches. Possible values are
Allow,Block,Log, orRedirect.- Rule
Id string Identifier for the managed rule.
- Enabled bool
Is the managed rule override enabled or disabled. Defaults to
false- Exclusions
List<Firewall
Policy Managed Rule Override Rule Exclusion Args> One or more
exclusionblocks as defined below.
- Action string
The action to be applied when the rule matches. Possible values are
Allow,Block,Log, orRedirect.- Rule
Id string Identifier for the managed rule.
- Enabled bool
Is the managed rule override enabled or disabled. Defaults to
false- Exclusions
[]Firewall
Policy Managed Rule Override Rule Exclusion One or more
exclusionblocks as defined below.
- action string
The action to be applied when the rule matches. Possible values are
Allow,Block,Log, orRedirect.- rule
Id string Identifier for the managed rule.
- enabled boolean
Is the managed rule override enabled or disabled. Defaults to
false- exclusions
Firewall
Policy Managed Rule Override Rule Exclusion[] One or more
exclusionblocks as defined below.
- action str
The action to be applied when the rule matches. Possible values are
Allow,Block,Log, orRedirect.- rule_
id str Identifier for the managed rule.
- enabled bool
Is the managed rule override enabled or disabled. Defaults to
false- exclusions
List[Firewall
Policy Managed Rule Override Rule Exclusion] One or more
exclusionblocks as defined below.
FirewallPolicyManagedRuleOverrideRuleExclusion
- Match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- Operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- Selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- Match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- Operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- Selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- match
Variable string The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- operator string
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- selector string
Selector for the value in the
match_variableattribute this exclusion applies to.
- match
Variable str The variable type to be excluded. Possible values are
QueryStringArgNames,RequestBodyPostArgNames,RequestCookieNames,RequestHeaderNames.- operator str
Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are:
Equals,Contains,StartsWith,EndsWith,EqualsAny.- selector str
Selector for the value in the
match_variableattribute this exclusion applies to.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.