-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for
body_scanning
to cloudflare_teams_account
- Loading branch information
1 parent
efa3f48
commit 9934d7c
Showing
6 changed files
with
68 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:enhancement | ||
resource/cloudflare_teams_account: add support for `body_scanning` config | ||
``` |
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 |
---|---|---|
|
@@ -993,6 +993,9 @@ func testAccessPolicyIsolationRequiredConfig(resourceID, zone, accountID string) | |
mailto_subject = "hello" | ||
mailto_address = "[email protected]" | ||
} | ||
body_scanning { | ||
inspection_mode = "deep" | ||
} | ||
fips { | ||
tls = true | ||
} | ||
|
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 |
---|---|---|
|
@@ -42,6 +42,7 @@ func TestAccCloudflareTeamsAccounts_ConfigurationBasic(t *testing.T) { | |
resource.TestCheckResourceAttr(name, "block_page.0.mailto_address", "[email protected]"), | ||
resource.TestCheckResourceAttr(name, "block_page.0.background_color", "#000000"), | ||
resource.TestCheckResourceAttr(name, "block_page.0.logo_path", "https://example.com"), | ||
resource.TestCheckResourceAttr(name, "body_scanning.0.inspection_mode", "deep"), | ||
resource.TestCheckResourceAttr(name, "logging.0.redact_pii", "true"), | ||
resource.TestCheckResourceAttr(name, "logging.0.settings_by_rule_type.0.dns.0.log_all", "false"), | ||
resource.TestCheckResourceAttr(name, "logging.0.settings_by_rule_type.0.dns.0.log_blocks", "true"), | ||
|
@@ -80,6 +81,9 @@ resource "cloudflare_teams_account" "%[1]s" { | |
mailto_subject = "hello" | ||
mailto_address = "[email protected]" | ||
} | ||
body_scanning { | ||
inspection_mode = "deep" | ||
} | ||
fips { | ||
tls = true | ||
} | ||
|
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