diff --git a/gateway_logging.tf b/gateway_logging.tf new file mode 100644 index 0000000..71cf513 --- /dev/null +++ b/gateway_logging.tf @@ -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 + } + } +} \ No newline at end of file