Add gateway_logging.tf
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 24s

This commit is contained in:
2025-11-17 11:28:14 +01:00
parent 3cca2259a9
commit 2f9a4d41bb

23
gateway_logging.tf Normal file
View File

@@ -0,0 +1,23 @@
# =============================================================================
# CLOUDFLARE : Gateway : DNS logging
# =============================================================================
#
resource "cloudflare_zero_trust_gateway_logging" "example_zero_trust_gateway_logging" {
account_id = local.cloudflare_account_id
redact_pii = true
settings_by_rule_type = {
dns = {
log_all = false
log_blocks = true
}
http = {
log_all = false
log_blocks = true
}
l4 = {
log_all = false
log_blocks = true
}
}
}