Control: ES domain encryption at rest should be enabled
Description
Because sensitive data can exist and to help protect data at rest, ensure encryption is enabled for your AWS Elasticsearch Service (AWS ES) domains.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.es_domain_encryption_at_rest_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.es_domain_encryption_at_rest_enabled --share
SQL
This control uses a named query:
select arn as resource, case when encryption_at_rest_options ->> 'Enabled' = 'false' then 'alarm' else 'ok' end status, case when encryption_at_rest_options ->> 'Enabled' = 'false' then title || ' encryption at rest not enabled.' else title || ' encryption at rest enabled.' end reason , region, account_idfrom aws_elasticsearch_domain;