Control: Logging should be enabled on AWS WAFv2 regional and global web access control list (ACLs)
Description
To help with logging and monitoring within your environment, enable AWS WAF (V2) logging on regional and global web ACLs.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.wafv2_web_acl_logging_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.wafv2_web_acl_logging_enabled --share
SQL
This control uses a named query:
select arn as resource, case when logging_configuration is null then 'alarm' else 'ok' end as status, case when logging_configuration is null then title || ' logging disabled.' else title || ' logging enabled.' end as reason , region, account_idfrom aws_wafv2_web_acl;