turbot/steampipe-mod-aws-compliance

Control: Minor version upgrades should be automatically applied to ElastiCache for Redis cache clusters

Description

This control evaluates whether ElastiCache for Redis automatically applies minor version upgrades to cache clusters. This control fails if ElastiCache for Redis cache clusters do not have minor version upgrades automatically applied.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.elasticache_cluster_auto_minor_version_upgrade_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.elasticache_cluster_auto_minor_version_upgrade_enabled --share

SQL

This control uses a named query:

select
arn as resource,
case
when auto_minor_version_upgrade then 'ok'
else 'alarm'
end as status,
case
when auto_minor_version_upgrade then title || ' automatic minor version upgrades enabled.'
else title || ' automatic minor version upgrades disabled.'
end as reason
, region, account_id
from
aws_elasticache_cluster;

Tags