turbot/aws_compliance

Query: ec2_classic_lb_connection_draining_enabled

Usage

powerpipe query aws_compliance.query.ec2_classic_lb_connection_draining_enabled

SQL

select
arn as resource,
case
when connection_draining_enabled then 'ok'
else 'alarm'
end as status,
case
when connection_draining_enabled then title || ' connection draining enabled.'
else title || ' connection draining disabled.'
end as reason,
region,
account_id
from
aws_ec2_classic_load_balancer;

Controls

The query is being used by the following controls: