Control: DynamoDB Accelerator clusters should be encrypted in transit
Description
This control checks whether an Amazon DynamoDB Accelerator (DAX) cluster is encrypted in transit, with the endpoint encryption type set to TLS. The control fails if the DAX cluster isn't encrypted in transit.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.dax_cluster_encryption_in_transit_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.dax_cluster_encryption_in_transit_enabled --share
SQL
This control uses a named query:
select arn as resource, case when cluster_endpoint_encryption_type = 'TLS' then 'ok' else 'alarm' end as status, case when cluster_endpoint_encryption_type = 'TLS' then title || ' encryption in transit rest enabled.' else title || ' encryption in transit disabled.' end as reason , region, account_idfrom aws_dax_cluster;