Skip to content

Commit

Permalink
add missing api path check
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-robitaille committed Nov 22, 2024
1 parent 11b40f3 commit 532fcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/load_balancer/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ resource "aws_wafv2_regex_pattern_set" "valid_app_uri_paths" {

# App paths
regular_expression {
regex_string = "^\\/(?:en|fr)?\\/?(?:(admin|form-builder|forms|id|auth|profile|support|contact|unlock-publishing)(?:\\/[\\w-]+)?)(?:\\/.*)?$"
regex_string = "^\\/(?:en|fr)?\\/?(?:(admin|api|form-builder|forms|id|auth|profile|support|contact|unlock-publishing)(?:\\/[\\w-]+)?)(?:\\/.*)?$"
}

# Static Pages
Expand Down

0 comments on commit 532fcd4

Please sign in to comment.