-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add sub-module for regional backend security policy (#126)
- Loading branch information
1 parent
f718049
commit f9a6dd0
Showing
57 changed files
with
2,208 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Upgrading to v3.0.0 | ||
|
||
The v3.0 release contains backwards-incompatible changes. | ||
|
||
This update changed max provider version from `5.X` to `6.X`. | ||
|
||
### TPG max version is bumped to 6.x | ||
There is no known breaking change for Cloud Armor in 6.X. | ||
|
||
### Remove preconfigured_waf_config_exclusion | ||
`preconfigured_waf_config_exclusion` was deprecated in [v2.1](./upgrading_to_v2.1.md). 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: | ||
|
||
|
||
```tf | ||
"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" | ||
- } | ||
- ] | ||
- } | ||
} | ||
``` | ||
|
||
```tf | ||
"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" | ||
+ } | ||
+ ] | ||
+ } | ||
+ | ||
+ } | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.