Skip to content

Commit 562a0b9

Browse files
Merge pull request #248331 from Miskatonic-Electronic/LogScrubbingCLICommandsBranch
committing WAF CLI comands for log scrubbing
2 parents d00d629 + 97f5194 commit 562a0b9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: vhorne
55
ms.author: victorh
66
ms.service: web-application-firewall
77
ms.topic: how-to
8-
ms.date: 06/13/2023
8+
ms.date: 08/15/2023
99
---
1010

1111
# How to mask sensitive data on Azure Web Application Firewall
@@ -62,8 +62,11 @@ $logScrubbingRuleConfig = New-AzApplicationGatewayFirewallPolicyLogScrubbingConf
6262
```
6363
#### [CLI](#tab/cli)
6464

65-
The Azure CLI commands to enable and configure Sensitive Data Protection are coming soon.
65+
Use the following Command Line Interface commands to [create and configure](/cli/azure/network/application-gateway/waf-policy/policy-setting) Log Scrubbing rules for Sensitive Data Protection:
6666

67+
```CLI
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>}]"
69+
```
6770

6871

6972
---

0 commit comments

Comments
 (0)