For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

AWS MemoryDB is not encrypted at rest by AWS' Key Management Service KMS using CMKs misconfiguration

Rule Details

Cortex AppSec Rule ID

APPSEC_AWS_201

Category - Subcategory

Storage - Encryption

Provider

AWS

Severity

LOW

Framework

Terraform

Impact

This rule identifies MemoryDB which are encrypted with default KMS keys and not with Keys managed by Customer. It is a best practice to use customer managed KMS Keys to encrypt your MemoryDB data. It gives you full control over the encrypted data.

How to Fix

Resource: aws_memorydb_cluster

  • Arguments: kms_key_arn [source,go]


resource "aws_memorydb_cluster" "pass" { acl_name = "open-access" name = "my-cluster" node_type = "db.t4g.small" num_shards = 2 security_group_ids = [aws_security_group.example.id] snapshot_retention_limit = 7 subnet_group_name = aws_memorydb_subnet_group.example.id kms_key_arn = aws_kms_key.example.arn }

Last updated

Was this helpful?