Skip to content

Commit

Permalink
chore: suppress CloudWatch error false-positives (#1328)
Browse files Browse the repository at this point in the history
Update the CloudWatch error metric filter to ignore
`GET` requests to the Notify wp-json endpoint.

This is because these will often contain error tokens
as part of the `GET` request parameters during fuzzing attacks.
  • Loading branch information
patheard authored Jul 17, 2023
1 parent 713c2c4 commit d798851
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions infrastructure/terragrunt/aws/alarms/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ locals {
wordpress_errors_skip = [
"AH01276",
"AH01630",
"error=invalidkey",
"slug=error",
"GET /notification-gc-notify/wp-json/wp/v2/pages",
]
wordpress_warnings = [
"Warning",
Expand Down

0 comments on commit d798851

Please sign in to comment.