turbot/aws_insights

Query: elasticache_cluster_encryption_rest

Usage

powerpipe query aws_insights.query.elasticache_cluster_encryption_rest

SQL

select
'Encryption at Rest' as label,
case when at_rest_encryption_enabled then 'Enabled' else 'Disabled' end as value,
case when at_rest_encryption_enabled then 'ok' else 'alert' end as type
from
aws_elasticache_replication_group
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: