turbot/aws_compliance

Query: elastic_beanstalk_enhanced_health_reporting_enabled

Usage

powerpipe query aws_compliance.query.elastic_beanstalk_enhanced_health_reporting_enabled

SQL

select
application_name as resource,
case
when health_status is not null
and health is not null then 'ok'
else 'alarm'
end as status,
case
when health_status is not null
and health is not null then application_name || ' enhanced health check enabled.'
else application_name || ' enhanced health check disabled.'
end as reason,
region,
account_id
from
aws_elastic_beanstalk_environment;

Controls

The query is being used by the following controls: