Skip to content

Commit

Permalink
Merge pull request #1822 from alphagov/backend-log-all-reqs
Browse files Browse the repository at this point in the history
Log all requests through backend_public WAF ACL
  • Loading branch information
robinjam authored Mar 6, 2024
2 parents 13f3364 + 613fa7b commit 1d14961
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions terraform/projects/infra-public-wafs/backend_public_rule.tf
Original file line number Diff line number Diff line change
Expand Up @@ -213,26 +213,4 @@ resource "aws_cloudwatch_log_group" "public_backend_waf" {
resource "aws_wafv2_web_acl_logging_configuration" "public_backend_waf" {
log_destination_configs = [aws_cloudwatch_log_group.public_backend_waf.arn]
resource_arn = aws_wafv2_web_acl.backend_public.arn

logging_filter {
default_behavior = "DROP"

filter {
behavior = "KEEP"

condition {
action_condition {
action = "COUNT"
}
}

condition {
action_condition {
action = "BLOCK"
}
}

requirement = "MEETS_ANY"
}
}
}

0 comments on commit 1d14961

Please sign in to comment.