turbot/aws_compliance

Query: waf_web_acl_rule_attached

Usage

powerpipe query aws_compliance.query.waf_web_acl_rule_attached

Steampipe Tables

SQL

select
arn as resource,
case
when rules is null or jsonb_array_length(rules) = 0 then 'alarm'
else 'ok'
end as status,
case
when rules is null or jsonb_array_length(rules) = 0 then title || ' has no attached rules.'
else title || ' has ' || jsonb_array_length(rules) || ' rule(s) attached.'
end as reason
, region, account_id
from
aws_waf_web_acl;

Controls

The query is being used by the following controls: