Skip to content

Commit

Permalink
Turn on WAF metrics and sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jan 16, 2025
1 parent d2dc466 commit 3d3391e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spire/templates/shared-alb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,9 @@ Resources:
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:application, Value: Common }
VisibilityConfig:
CloudWatchMetricsEnabled: false
CloudWatchMetricsEnabled: true
MetricName: !Sub ${Alb.LoadBalancerName}-WAF
SampledRequestsEnabled: false
SampledRequestsEnabled: true
WafAssociation:
Type: AWS::WAFv2::WebACLAssociation
Properties:
Expand Down

0 comments on commit 3d3391e

Please sign in to comment.