turbot/aws_compliance

Query: waf_web_acl_resource_associated

Usage

powerpipe query aws_compliance.query.waf_web_acl_resource_associated

Steampipe Tables

SQL

select
arn as resource,
case
when jsonb_array_length(resources) > 0 then 'ok'
else 'alarm'
end as status,
case
when jsonb_array_length(resources) > 0 then title || ' associated with ' || jsonb_array_length(resources) || ' AWS resource(s).'
else title || ' not assoicated with AWS resource.'
end as reason
, region, account_id
from
aws_wafregional_web_acl;

Controls

The query is being used by the following controls: