Skip to content

Commit

Permalink
chore: suppress HTTP 400 bad request errors (#1568)
Browse files Browse the repository at this point in the history
Do not trigger a CloudWatch error alarm for HTTP 400 response codes.

We have been seeing a few of these over the past weeks caused by
people scanning for WordPress vulnerabilities.
  • Loading branch information
patheard authored Dec 19, 2023
1 parent 348a997 commit 328a209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/terragrunt/aws/alarms/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ locals {
"action=lostpassword&error",
"database error",
"GET /notification-gc-notify/wp-json/wp/v2/pages",
"HTTP/1.1\\\" 400",
"HTTP/1.1\\\" 403",
"HTTP/1.1\\\" 404",
"Undefined constant",
Expand Down

0 comments on commit 328a209

Please sign in to comment.