File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
articles/web-application-firewall/afds Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ az network front-door waf-policy rule create \
62
62
Next, add match condition to the rule:
63
63
64
64
``` azurecli
65
- az network front-door waf-policy rule match-condition add\
65
+ az network front-door waf-policy rule match-condition add \
66
66
--match-variable RemoteAddr \
67
- --operator IPMatch
68
- --values "ip-address-range-1" "ip-address-range-2"
69
- --negate true\
70
- --name IPAllowListRule\
67
+ --operator IPMatch \
68
+ --values "ip-address-range-1" "ip-address-range-2" \
69
+ --negate true \
70
+ --name IPAllowListRule \
71
71
--resource-group <resource-group-name> \
72
72
--policy-name IPAllowPolicyExampleCLI
73
73
```
@@ -87,7 +87,7 @@ Set the Azure Front Door Service *WebApplicationFirewallPolicyLink* ID to the po
87
87
88
88
``` azurecli
89
89
az network front-door update \
90
- --set FrontendEndpoints[0].WebApplicationFirewallPolicyLink.id=/subscriptions/<subscription ID>/resourcegroups/< resource- name> /providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/IPAllowPolicyExampleCLI \
90
+ --set FrontendEndpoints[0].WebApplicationFirewallPolicyLink.id=/subscriptions/<subscription ID>/resourcegroups/resource-group- name/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/IPAllowPolicyExampleCLI \
91
91
--name <frontdoor-name>
92
92
--resource-group <resource-group-name>
93
93
```
You can’t perform that action at this time.
0 commit comments