az network front-door waf-policy rule match-condition
Note
This reference is part of the front-door extension for the Azure CLI (version 2.0.68 or higher). The extension will automatically install the first time you run an az network front-door waf-policy rule match-condition command. Learn more about extensions.
Alter match-conditions associated with a WAF policy custom rule.
Note that at least one match-condition must be associated with a custom rule.
Commands
| 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 match-condition add
Add a match-condition to a WAF policy custom rule.
Usage: [--negate] --match-variable VARIABLE[.selector] --operator OPERATOR --value [VALUE [VALUE ...]]
Variable allowed values: RemoteAddr, RequestMethod, QueryString, PostArgs, RequestUri, RequestHeader, RequestBody, Cookies, SocketAddr
Operator allowed values: Any, IPMatch, GeoMatch, Equal, Contains, LessThan, GreaterThan, LessThanOrEqual, GreaterThanOrEqual, BeginsWith, EndsWith, RegEx.
az network front-door waf-policy rule match-condition add --match-variable
--name
--operator
--policy-name
--resource-group
--values
[--negate {false, true}]
[--transforms {Lowercase, RemoveNulls, Trim, Uppercase, UrlDecode, UrlEncode}]
Required Parameters
Variable[.Selector] Request variable to test with optional selector.
Name of the custom rule.
Operator used to compare the variable to the values.
Name of the WAF policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Space-separated list of values to match against.
Optional Parameters
Applies "Not" to the operator.
Space-separated list of transforms to apply.
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
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 list --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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
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 match-condition remove --index
--name
--policy-name
--resource-group
Required Parameters
0-based index of the match condition to remove.
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ