The v3.0 release contains backwards-incompatible changes.
This update changed max provider version from 5.X
to 6.X
.
There is no known breaking change for Cloud Armor in 6.X.
preconfigured_waf_config_exclusion
was deprecated in v2.1. It is now removed from the module. Before upgrading to 3.X move preconfigured_waf_config_exclusion
settings to preconfigured_waf_config_exclusions
. Here is an example:
"sqli_sensitivity_level_4" = {
action = "deny(502)"
priority = 1
target_rule_set = "sqli-v33-stable"
sensitivity_level = 4
description = "sqli-v33-stable Sensitivity Level 4 and 2 preconfigured_waf_config_exclusions"
- preconfigured_waf_config_exclusion = {
- target_rule_set = "sqli-v33-stable"
- target_rule_ids = ["owasp-crs-v030301-id942120-sqli", "owasp-crs-v030301-id942130-sqli"]
- request_cookie = [
- {
- operator = "STARTS_WITH"
- value = "abc"
- }
- ]
- request_header = [
- {
- operator = "STARTS_WITH"
- value = "xyz"
- },
- {
- operator = "STARTS_WITH"
- value = "uvw"
- }
- ]
- }
}
"sqli_sensitivity_level_4" = {
action = "deny(502)"
priority = 1
target_rule_set = "sqli-v33-stable"
sensitivity_level = 4
description = "sqli-v33-stable Sensitivity Level 4 and 2 preconfigured_waf_config_exclusions"
# 2 exclusions
+ preconfigured_waf_config_exclusions = {
+ exclusion_1 = {
+ target_rule_set = "sqli-v33-stable"
+ target_rule_ids = ["owasp-crs-v030301-id942120-sqli", "owasp-crs-v030301-id942130-sqli"]
+ request_cookie = [
+ {
+ operator = "STARTS_WITH"
+ value = "abc"
+ }
+ ]
+ request_header = [
+ {
+ operator = "STARTS_WITH"
+ value = "xyz"
+ },
+ {
+ operator = "STARTS_WITH"
+ value = "uvw"
+ }
+ ]
+ }
+
+ }
}