Skip to content

Commit

Permalink
Log all requests, not just blocked/count requests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Jan 4, 2024
1 parent 034196a commit 4419f0e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions firewall/security_firewall.tf
Original file line number Diff line number Diff line change
Expand Up @@ -392,21 +392,6 @@ resource "aws_wafv2_web_acl_logging_configuration" "security_firewall" {
count = local.security_firewall ? 1 : 0
log_destination_configs = [aws_cloudwatch_log_group.security_firewall_log.arn]
resource_arn = aws_wafv2_web_acl.security_firewall[0].arn

logging_filter {
default_behavior = "KEEP"

filter {
requirement = "MEETS_ANY"
behavior = "DROP"

condition {
action_condition {
action = "ALLOW"
}
}
}
}
}

resource "aws_wafv2_web_acl_association" "security_firewall" {
Expand Down

0 comments on commit 4419f0e

Please sign in to comment.