Control: RDS DB proxy should require TLS for all connections
Description
This control checks whether an Amazon RDS DB proxy requires TLS for all connections between the proxy and the underlying RDS DB instance. The control fails if the proxy doesn't require TLS for all connections between the proxy and the RDS DB instance.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.rds_db_proxy_tls_encryption_enabledSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.rds_db_proxy_tls_encryption_enabled --shareSQL
This control uses a named query:
select db_proxy_arn as resource, case when require_tls then 'ok' else 'alarm' end as status, case when require_tls then title || ' requires TLS for all connections.' else title || ' does not require TLS for all connections.' end as reason , region, account_idfrom aws_rds_db_proxy;