Configures WAFv2 Web ACL logging with specific fields redacted for privacy.

Terraform Template

resource "aws_wafv2_web_acl_logging_configuration" "example" {
  log_destination_configs = ["aws_kinesis_firehose_delivery_stream.example.arn"]

  redacted_fields {

    single_header {
      name = "user-agent"
    }
  }
  resource_arn = "aws_wafv2_web_acl.example.arn"
}