turbot/aws_compliance

Query: ec2_instance_detailed_monitoring_enabled

Usage

powerpipe query aws_compliance.query.ec2_instance_detailed_monitoring_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when monitoring_state = 'enabled' then 'ok'
else 'alarm'
end as status,
case
when monitoring_state = 'enabled' then instance_id || ' detailed monitoring enabled.'
else instance_id || ' detailed monitoring disabled.'
end as reason
, region, account_id
from
aws_ec2_instance;

Controls

The query is being used by the following controls: