Skip to content

Commit c1eacd8

Browse files
authored
{AzureFrontdoor} fixes Azure/azure-cli#24758 fixing ActionType enum to include AnomalyScoring (#21947)
fixes Azure/azure-cli#24758 fixing ActionType enum to include AnomalyScoring Running the below command to override the managed rules with --action set to AnomalyScoring fails: > az network front-door waf-policy managed-rules override add ``` az network front-door waf-policy managed-rules override add: 'AnomalyScoring' is not a valid value for '--action'. Allowed values: Allow, Block, Log, Redirect. ``` This is because currently only the `Allow, Block, Log, Redirect` enums are specified. `AnomalyScoring` value should also be included in the `ActionType` enums.
1 parent a2eb745 commit c1eacd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specification/frontdoor/resource-manager/Microsoft.Network/stable/2022-05-01/webapplicationfirewall.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,8 @@
918918
"Allow",
919919
"Block",
920920
"Log",
921-
"Redirect"
921+
"Redirect",
922+
"AnomalyScoring"
922923
],
923924
"x-ms-enum": {
924925
"name": "ActionType",

0 commit comments

Comments
 (0)