Control: WAF web ACL logging should be enabled
Description
To help with logging and monitoring within your environment, enable AWS WAF logging on regional and global web ACLs.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.waf_web_acl_logging_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.waf_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_waf_web_acl;