Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new 0.1 version to WAF managed_rule_set to support Microsoft_BotManagerRuleSet creation #7579

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var ValidateWebApplicationFirewallPolicyRuleGroupName = validation.StringInSlice
}, false)

var ValidateWebApplicationFirewallPolicyRuleSetVersion = validation.StringInSlice([]string{
"1.0",
"0.1",
wlodekj marked this conversation as resolved.
Show resolved Hide resolved
"2.2.9",
"3.0",
"3.1",
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/web_application_firewall_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ The `exclusion` block supports the following:

The `managed_rule_set` block supports the following:

* `type` - (Optional) The rule set type.
* `type` - (Optional) The rule set type. Possible values: `OWASP`, `Microsoft_BotManagerRuleSet`.
wlodekj marked this conversation as resolved.
Show resolved Hide resolved

* `version` - (Required) The rule set version.
* `version` - (Required) The rule set version. Possible values: `0.1`, `2.2.9`, `3.0`, `3.1`.
wlodekj marked this conversation as resolved.
Show resolved Hide resolved

* `rule_group_override` - (Optional) One or more `rule_group_override` block defined below.

Expand Down