Control: Amazon EMR security configurations should be encrypted in transit
Description
This control checks whether an Amazon EMR security configuration has encryption in transit enabled. The control fails if the security configuration doesn't enable encryption in transit.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.emr_security_configuration_encryption_in_transit_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.emr_security_configuration_encryption_in_transit_enabled --share
SQL
This control uses a named query:
select name as resource, case when (encryption_configuration -> 'EnableInTransitEncryption')::bool then 'ok' else 'alarm' end as status, case when (encryption_configuration -> 'EnableInTransitEncryption')::bool then title || ' encryption in transit enabled.' else title || ' encryption in transit disabled.' end as reason , region, account_idfrom aws_emr_security_configuration;