diff --git a/Commands/network/front-door/waf-policy/_update.md b/Commands/network/front-door/waf-policy/_update.md index 4b91b53eb..b13f4e00a 100644 --- a/Commands/network/front-door/waf-policy/_update.md +++ b/Commands/network/front-door/waf-policy/_update.md @@ -13,6 +13,6 @@ Update policy with specified rule set name within a resource group. - update log scrubbing ```bash network front-door waf-policy update -g rg -n n1 --log-scrubbing "{scrubbing-rules:[{match-variable:QueryStringArgNames,selector-match-operator:EqualsAny}],state:Enabled}" - network front-door waf-policy update -g rg -n n1 --log-scrubbing scrubbing-rules[1]="{match-variable:RequestUri,selector-match-operator:EqualsAny}" - network front-door waf-policy update -g rg -n n1 --log-scrubbing "{scrubbing-rules:[{match-variable:QueryStringArgNames,selector-match-operator:EqualsAny}],state:Enabled}" scrubbing-rules[1]="{match-variable:RequestUri,selector-match-operator:EqualsAny}" + network front-door waf-policy update -g rg -n n1 --log-scrubbing scrubbing-rules[1]="{match-variable:RequestUri,selector-match-operator:Equals}" + network front-door waf-policy update -g rg -n n1 --log-scrubbing "{scrubbing-rules:[{match-variable:RequestBodyJsonArgNames,selector-match-operator:EqualsAny}],state:Enabled}" scrubbing-rules[1]="{match-variable:RequestUri,selector-match-operator:EqualsAny}" ``` diff --git a/Commands/tree.json b/Commands/tree.json index bcfd4ee7c..696cd708b 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -88924,8 +88924,8 @@ { "commands": [ "network front-door waf-policy update -g rg -n n1 --log-scrubbing \"{scrubbing-rules:[{match-variable:QueryStringArgNames,selector-match-operator:EqualsAny}],state:Enabled}\"", - "network front-door waf-policy update -g rg -n n1 --log-scrubbing scrubbing-rules[1]=\"{match-variable:RequestUri,selector-match-operator:EqualsAny}\"", - "network front-door waf-policy update -g rg -n n1 --log-scrubbing \"{scrubbing-rules:[{match-variable:QueryStringArgNames,selector-match-operator:EqualsAny}],state:Enabled}\" scrubbing-rules[1]=\"{match-variable:RequestUri,selector-match-operator:EqualsAny}\"" + "network front-door waf-policy update -g rg -n n1 --log-scrubbing scrubbing-rules[1]=\"{match-variable:RequestUri,selector-match-operator:Equals}\"", + "network front-door waf-policy update -g rg -n n1 --log-scrubbing \"{scrubbing-rules:[{match-variable:RequestBodyJsonArgNames,selector-match-operator:EqualsAny}],state:Enabled}\" scrubbing-rules[1]=\"{match-variable:RequestUri,selector-match-operator:EqualsAny}\"" ], "name": "update log scrubbing" }