turbot/aws_insights

Query: ec2_classic_load_balancer_logging_enabled

Usage

powerpipe query aws_insights.query.ec2_classic_load_balancer_logging_enabled

SQL

select
'Logging' as label,
case when access_log_enabled = 'false' then 'Disabled' else 'Enabled' end as value,
case when access_log_enabled = 'false' then 'alert' else 'ok' end as type
from
aws_ec2_classic_load_balancer
where
arn = $1;

Dashboards

The query is used in the dashboards: