Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingnan Xu committed Jun 13, 2024
1 parent 69a854b commit 1686769
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Commands/network/front-door/waf-policy/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
```
4 changes: 2 additions & 2 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 1686769

Please sign in to comment.