Control: ElastiCache for Redis replication groups should be encrypted at rest
Description
This control checks if ElastiCache for Redis replication groups are encrypted at rest. This control fails if an ElastiCache for Redis replication group isn't encrypted at rest.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.elasticache_replication_group_encryption_at_rest_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.elasticache_replication_group_encryption_at_rest_enabled --share
SQL
This control uses a named query:
select arn as resource, case when at_rest_encryption_enabled then 'ok' else 'alarm' end as status, case when at_rest_encryption_enabled then title || ' encryption at rest enabled.' else title || ' encryption at rest disabled.' end as reason , region, account_idfrom aws_elasticache_replication_group;