Unsecured encryption of DAX is detected at rest. Make sure that DAX is securely encrypted at rest.
1resource "aws_dax_cluster" "cloudrail-test" {
2 cluster_name = "non-encrypt"
3 iam_role_arn = aws_iam_role.dax.arn
4 node_type = "dax.r4.large"
5 replication_factor = 1
6 cluster_endpoint_encryption_type = "TLS"
7 # Noncompliant: DAX is not encrypted at rest.
8 server_side_encryption {
9 enabled = False
10 }
11}
1resource "aws_dax_cluster" "cloudrail-test1" {
2 cluster_name = "encrypt"
3 iam_role_arn = aws_iam_role.dax.arn
4 node_type = "dax.r4.large"
5 replication_factor = 1
6 cluster_endpoint_encryption_type = "TLS"
7 # Compliant: DAX is encrypted at rest.
8 server_side_encryption {
9 enabled = True
10 }
11}