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 }
PreviousAWS Image Recipe EBS Disk are not encrypted using a Customer Managed Key (CMK) misconfiguration dete
NextAWS MemoryDB data is not encrypted in transit misconfiguration detected in code
Last updated
Was this helpful?
