Update gateway_policy.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s
This commit is contained in:
@@ -2,6 +2,26 @@
|
|||||||
# CLOUDFLARE : Gateway : Policy
|
# CLOUDFLARE : Gateway : Policy
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
|
#
|
||||||
|
resource "cloudflare_zero_trust_gateway_policy" "block_malware" {
|
||||||
|
account_id = local.cloudflare_account_id
|
||||||
|
|
||||||
|
name = "Block malware"
|
||||||
|
description = "Block known threats based on Cloudflare’s threat intelligence"
|
||||||
|
|
||||||
|
enabled = true
|
||||||
|
precedence = 10
|
||||||
|
|
||||||
|
# Block all security risks
|
||||||
|
filters = ["dns"]
|
||||||
|
traffic = "any(dns.security_category[*] in {178 80 83 176 175 117 131 134 151 153 68})"
|
||||||
|
action = "block"
|
||||||
|
|
||||||
|
rule_settings {
|
||||||
|
block_page_enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
#resource "cloudflare_zero_trust_gateway_policy" "example_zero_trust_gateway_policy" {
|
#resource "cloudflare_zero_trust_gateway_policy" "example_zero_trust_gateway_policy" {
|
||||||
# account_id = local.cloudflare_account_id
|
# account_id = local.cloudflare_account_id
|
||||||
|
|||||||
Reference in New Issue
Block a user