turbot/aws_compliance

Query: autoscaling_group_no_suspended_process

Usage

powerpipe query aws_compliance.query.autoscaling_group_no_suspended_process

SQL

select
autoscaling_group_arn as resource,
case
when suspended_processes is null then 'ok'
else 'alarm'
end as status,
case
when suspended_processes is null then title || ' has no suspended process.'
else title || ' has suspended process.'
end as reason
, region, account_id
from
aws_ec2_autoscaling_group;

Controls

The query is being used by the following controls: