WAF & Load Balancer Integration Impact

0

I created a web application firewall (WAF) integration with my load balancer:

  1. AWS-AWSManagedRulesAmazonIpReputationList
  2. AWS-AWSManagedRulesCommonRuleSet
  3. AWS-AWSManagedRulesKnownBadInputsRuleSet

But I noticed that it started impacting my edit access on certain applications (403 Forbidden administrator access). Why is that?

3개 답변
2

It sounds like your requests are matching one of the managed rules, and are being blocked (false positives). You may need to tune some of the rules to reduce these, or you could create an exception for your own requests. For example, you could create a rule that allows all requests from your IP address and place it at the top of the WebACL. This would effectively exempt your requests from any of the managed rules.

To find out exactly which rule is matching your requests, you'll need to do some log analysis - take a look at this article for instructions and sample queries.

AWS
전문가
Paul_L
답변함 2달 전
profile picture
전문가
검토됨 2달 전
1
수락된 답변

You can create a custom rule in AWS WAF that allows all requests from specific, trusted IP addresses and place this rule at the top of the Web Access Control List (WebACL). By doing so, requests from these IPs will be allowed through before any of the managed rules have a chance to block them.

profile picture
전문가
답변함 2달 전
profile picture
전문가
검토됨 한 달 전
1

Adding to the great answers above, you could look through the CloudWatch Logs for your IP addresses to understand what's the rule that you are triggering.

AWS
xavi
답변함 2달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인