turbot/terraform_aws_compliance

Query: elb_classic_lb_use_desync_mitigation_mode

Usage

powerpipe query terraform_aws_compliance.query.elb_classic_lb_use_desync_mitigation_mode

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std ->> 'desync_mitigation_mode') like any (array ['defensive', 'strictest']) then 'ok'
else 'alarm'
end status,
split_part(address, '.', 2) || case
when (attributes_std ->> 'desync_mitigation_mode') like any (array ['defensive', 'strictest']) then ' configured with ' || (attributes_std ->> 'desync_mitigation_mode') || ' mitigation mode'
else ' not configured with defensive or strictest desync mitigation mode'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'aws_elb';

Controls

The query is being used by the following controls: