Skip to content

Commit c6af7fb

Browse files
authored
Update Exclusion Match Variable enum to support new values (Azure#16124)
1 parent bdaaa55 commit c6af7fb

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/WafPolicyCreateOrUpdate.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@
1313
"ruleSetType": "OWASP",
1414
"ruleSetVersion": "3.2"
1515
}
16+
],
17+
"exclusions": [
18+
{
19+
"matchVariable": "RequestArgNames",
20+
"selectorMatchOperator": "StartsWith",
21+
"selector": "hello"
22+
},
23+
{
24+
"matchVariable": "RequestArgValues",
25+
"selectorMatchOperator": "StartsWith",
26+
"selector": "test"
27+
}
1628
]
1729
},
1830
"customRules": [
@@ -100,6 +112,18 @@
100112
"ruleSetType": "OWASP",
101113
"ruleSetVersion": "3.2"
102114
}
115+
],
116+
"exclusions": [
117+
{
118+
"matchVariable": "RequestArgNames",
119+
"selectorMatchOperator": "StartsWith",
120+
"selector": "hello"
121+
},
122+
{
123+
"matchVariable": "RequestArgValues",
124+
"selectorMatchOperator": "StartsWith",
125+
"selector": "test"
126+
}
103127
]
104128
},
105129
"customRules": [
@@ -190,6 +214,18 @@
190214
"ruleSetType": "OWASP",
191215
"ruleSetVersion": "3.2"
192216
}
217+
],
218+
"exclusions": [
219+
{
220+
"matchVariable": "RequestArgNames",
221+
"selectorMatchOperator": "StartsWith",
222+
"selector": "hello"
223+
},
224+
{
225+
"matchVariable": "RequestArgValues",
226+
"selectorMatchOperator": "StartsWith",
227+
"selector": "test"
228+
}
193229
]
194230
},
195231
"customRules": [

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/examples/WafPolicyGet.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@
130130
"matchVariable": "RequestHeaderNames",
131131
"selectorMatchOperator": "StartsWith",
132132
"selector": "testHeader2"
133+
},
134+
{
135+
"matchVariable": "RequestArgValues",
136+
"selectorMatchOperator": "StartsWith",
137+
"selector": "hello"
133138
}
134139
]
135140
}

specification/network/resource-manager/Microsoft.Network/stable/2021-05-01/webapplicationfirewall.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,13 @@
708708
"enum": [
709709
"RequestHeaderNames",
710710
"RequestCookieNames",
711-
"RequestArgNames"
711+
"RequestArgNames",
712+
"RequestHeaderKeys",
713+
"RequestHeaderValues",
714+
"RequestCookieKeys",
715+
"RequestCookieValues",
716+
"RequestArgKeys",
717+
"RequestArgValues"
712718
],
713719
"description": "The variable to be excluded.",
714720
"x-ms-enum": {

0 commit comments

Comments
 (0)