turbot/aws_compliance

Query: wafv2_rule_group_logging_enabled

Usage

powerpipe query aws_compliance.query.wafv2_rule_group_logging_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when (visibility_config ->> 'CloudWatchMetricsEnabled') :: bool then 'ok'
else 'alarm'
end as status,
case
when (visibility_config ->> 'CloudWatchMetricsEnabled') :: bool then title || ' logging enabled.'
else title || ' logging disabled.'
end as reason,
region,
account_id
from
aws_wafv2_rule_group;

Controls

The query is being used by the following controls: