Skip to content

Commit ba65589

Browse files
Update waf-sensitive-data-protection-configure.md
1 parent 6d9980e commit ba65589

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

articles/web-application-firewall/ag/waf-sensitive-data-protection-configure.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,7 @@ $logScrubbingRuleConfig = New-AzApplicationGatewayFirewallPolicyLogScrubbingConf
6565
Use the following Command Line Interface commands to [create and configure](articles\web-application-firewall\ag\waf-sensitive-data-protection.md) Log Scrubbing rules for Sensitive Data Protection:
6666

6767
```CLI
68-
az network application-gateway waf-policy policy-setting update
69-
-g <MyResourceGroup>
70-
--policy-name <MyPolicySetting>
71-
--log-scrubbing-state <Enabled/Disabled>
72-
--scrubbing-rules
73-
"[{state:<Enabled/Disabled>,
74-
match-variable:<MatchVariable>,
75-
selector-match-operator:<Operator>,
76-
selector:<Selector>}]"
68+
az network application-gateway waf-policy policy-setting update -g <MyResourceGroup> --policy-name <MyPolicySetting> --log-scrubbing-state <Enabled/Disabled> --scrubbing-rules "[{state:<Enabled/Disabled>,match-variable:<MatchVariable>,selector-match-operator:<Operator>,selector:<Selector>}]"
7769
```
7870

7971

0 commit comments

Comments
 (0)