turbot/steampipe-mod-aws-compliance

Control: MSK Connect connectors should be encrypted in transit

Description

This control checks whether an Amazon MSK Connect connector is encrypted in transit. This control fails if the connector isn't encrypted in transit.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.mskconnect_connector_encryption_in_transit_with_tls_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
arn as resource,
case
when kafka_cluster_encryption_in_transit ->> 'EncryptionType' = 'TLS' then 'ok'
else 'alarm'
end as status,
case
when kafka_cluster_encryption_in_transit ->> 'EncryptionType' = 'TLS' then title || ' encryption in transit enabled.'
else title || ' encryption in transit enabled with plaintext.'
end as reason
, region, account_id
from
aws_mskconnect_connector;

Tags