DynamoDB Accelerator (DAX) clusters should be encrypted at rest¶
This control checks whether a DAX cluster is encrypted at rest. Encrypting data at rest reduces the risk of data stored on disk being accessed by a user not authenticated to AWS. The encryption adds another set of access controls to limit the ability of unauthorized users to access to the data. For example, API permissions are required to decrypt the data before it can be read.
How to fix¶
Attribute server_side_encryption[0].enabled of aws_dax_cluster must be true.
Implementation options¶
Choose the option that matches how you manage Terraform. All options satisfy this control.
Option 1: Terraform AWS provider resources¶
If you manage resources directly, configure the relevant Terraform AWS provider resources to meet this control. See docs for the resources involved: aws_dax_cluster.
resource "aws_dax_cluster" "this" {
cluster_name = "pofix-example"
iam_role_arn = "arn:aws:iam::123456789012:role/example-role"
node_type = "dax.t3.small"
replication_factor = 1
server_side_encryption {
enabled = true
}
}
Which option should I choose?
- Compliance.tf module (recommended): controls enforced by default and mapped to frameworks.
- Open source module (
terraform-aws-modules): compatible by design with compliance.tf. Same variable names for an easy, low-change migration path when you are ready. - Terraform AWS provider resources: manage Terraform resources directly.
Tool mappings¶
Use these identifiers to cross-reference this control across tools, reports, and evidence.
Compliance.tf (CTF) Control:
dax_cluster_encryption_at_rest_enabledAWS Config Managed Rule:
DAX_ENCRYPTION_ENABLEDCheckov Check:
CKV_AWS_47Powerpipe Control:
aws_compliance.control.dax_cluster_encryption_at_rest_enabled