Using scope-down statements in AWS WAF - AWS WAF, AWS Firewall Manager, AWS Shield Advanced, and AWS Shield network security director
Use scope-down statements to narrow the scope of the requests that rate-based and managed rule group statements evaluate.