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