az network front-door waf-policy rule
Manage WAF policy custom rules.
Commands
az network front-door waf-policy rule create |
Create a WAF policy custom rule. Use --defer and add a rule match-condition. |
az network front-door waf-policy rule delete |
Delete a WAF policy custom rule. |
az network front-door waf-policy rule list |
List WAF policy custom rules. |
az network front-door waf-policy rule match-condition |
Alter match-conditions associated with a WAF policy custom rule. |
az network front-door waf-policy rule match-condition add |
Add a match-condition to a WAF policy custom rule. |
az network front-door waf-policy rule match-condition list |
Show all match-conditions associated with a WAF policy custom rule. |
az network front-door waf-policy rule match-condition remove |
Remove a match-condition from a WAF policy custom rule. |
az network front-door waf-policy rule show |
Get the details of a WAF policy custom rule. |
az network front-door waf-policy rule update |
Alter the details of a WAF policy custom rule. |
az network front-door waf-policy rule create
Create a WAF policy custom rule. Use --defer and add a rule match-condition.
az network front-door waf-policy rule create --action {Allow, Block, Log, Redirect}
--name
--policy-name
--priority
--resource-group
--rule-type {MatchRule, RateLimitRule}
[--disabled {false, true}]
[--rate-limit-duration]
[--rate-limit-threshold]
Required Parameters
Rule action.
Name of the custom rule.
Name of the WAF policy.
Priority of the rule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Type of rule.
Optional Parameters
Whether to disable the rule.
Rate limit duration in minutes.
Rate limit threshold.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az network front-door waf-policy rule delete
Delete a WAF policy custom rule.
az network front-door waf-policy rule delete --name
--policy-name
--resource-group
Required Parameters
Name of the custom rule.
Name of the WAF policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az network front-door waf-policy rule list
List WAF policy custom rules.
az network front-door waf-policy rule list --policy-name
--resource-group
Required Parameters
Name of the WAF policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az network front-door waf-policy rule show
Get the details of a WAF policy custom rule.
az network front-door waf-policy rule show --name
--policy-name
--resource-group
Required Parameters
Name of the custom rule.
Name of the WAF policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az network front-door waf-policy rule update
Alter the details of a WAF policy custom rule.
az network front-door waf-policy rule update --name
--policy-name
--resource-group
[--action {Allow, Block, Log, Redirect}]
[--disabled {false, true}]
[--priority]
[--rate-limit-duration]
[--rate-limit-threshold]
Required Parameters
Name of the custom rule.
Name of the WAF policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Rule action.
Whether to disable the rule.
Priority of the rule.
Rate limit duration in minutes.
Rate limit threshold.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.