Skip to content

Commit

Permalink
add comment on inspection level and machine learning parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
RoseSecurity committed Oct 21, 2024
1 parent 610b5ef commit 7b65157
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ variable "managed_rule_group_statement_rules" {
}), null)
})), null)
managed_rule_group_configs = optional(list(object({
# The `inspection_level` must be set to `TARGETED` to enable machine learning analysis
# https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html
aws_managed_rules_bot_control_rule_set = optional(object({
inspection_level = string
enable_machine_learning = optional(bool, true)
Expand Down Expand Up @@ -580,7 +582,7 @@ variable "rate_based_statement_rules" {
field_to_match:
Part of a web request that you want AWS WAF to inspect.
positional_constraint:
Area within the portion of a web request that you want AWS WAF to search for search_string.
Area within the portion of a web request that you want AWS WAF to search for search_string.
Valid values include the following: `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`.
search_string:
String value that you want AWS WAF to search for.
Expand Down

0 comments on commit 7b65157

Please sign in to comment.