Ensures Elasticsearch domains have encryption at rest enabled to protect sensitive data from unauthorized access.
Rule | Elasticsearch domains should have encryption at-rest enabled |
Framework | AWS Foundational Security Best Practices |
Severity | ✔ Medium |
Rule Description:
To comply with AWS Foundational Security Best Practices, Elasticsearch domains should have encryption at-rest enabled. This ensures that data stored in the Elasticsearch domain is encrypted while at rest, providing an additional layer of security.
Troubleshooting Steps:
If encryption at-rest is not enabled for an Elasticsearch domain, follow these troubleshooting steps:
Necessary Code:
To enable encryption at-rest for an Elasticsearch domain, you can use the AWS Command Line Interface (CLI) with the following command:
aws es update-elasticsearch-domain-config --domain-name your-domain-name --node-to-node-encryption-options "Enabled=true" "AtRestEncryptionOptions={Enabled=true}"
Step-by-Step Guide for Remediation:
your-domain-name
with the actual name of your Elasticsearch domain.By following these steps, you can ensure that encryption at-rest is enabled for your Elasticsearch domain, meeting the AWS Foundational Security Best Practices.