standard
turbot/aws_compliance

Trigger: Detect & correct EC2 classic load balancers with connection draining disabled

Detect EC2 classic load balancers with connection draining disabled and then skip or enable connection draining.

Query

select
concat(name, ' [', account_id, '/', region, ']') as title,
name,
region,
sp_connection_name as conn
from
aws_ec2_classic_load_balancer
where
not connection_draining_enabled;

Schedule

15m

Tags

category = Compliance
mod = aws
service = AWS/EC2