Detection

An Application Load Balancer uses an AWS WAF web ACL, and suspicious requests are blocked before reaching application targets. Investigators need the request URI and the exact terminating rule identifier; which logging should they enable?

Show the answer

Correct answerC. AWS WAF web ACL logging

AWhy not this: Flow logs provide connection metadata, not HTTP URIs or WAF rule identifiers.

BWhy not this: ALB access logs do not identify the exact WAF rule that terminated request evaluation.

CWhy this is right: WAF logs include the request URI, action, and terminating rule identifier.

DWhy not this: CloudTrail records WAF configuration API activity rather than individual evaluated web requests.

AWS WAF logs include HTTP request details and the terminatingRuleId that identifies the rule ending evaluation. ALB access logs can indicate WAF-related handling but do not provide the exact terminating WAF rule identifier.