turbot/steampipe-mod-aws-compliance

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 login
powerpipe 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_id
from
aws_waf_web_acl;

Tags