turbot/steampipe-mod-aws-compliance

Query: dms_endpoint_redis_tls_enabled

Usage

powerpipe query aws_compliance.query.dms_endpoint_redis_tls_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when endpoint_type <> 'TARGET' then 'skip'
when redis_settings is null then 'skip'
when (redis_settings ->> 'SslCaCertificateArn') is not null then 'ok'
else 'alarm'
end as status,
case
when endpoint_type <> 'TARGET' then title || ' endpoint is not of target type.'
when redis_settings is null then title || ' endpoint is not of redis engine type.'
when (redis_settings ->> 'SslCaCertificateArn') is not null then title || ' TLS/SSL enabled for redis data stores.'
else title || ' TLS/SSL disabled for redis data stores.'
end as reason
, region, account_id
from
aws_dms_endpoint;

Controls

The query is being used by the following controls: