This check ensures that AWS ElastiCache Redis clusters are using versions that comply with PCI DSS requirements. Older Redis versions (prior to 5.0.0) lack important security features such as encryption in transit, improved authentication, and vulnerability patches required for PCI DSS compliance. Using non-compliant Redis versions could lead to data breaches, non-compliance penalties, and compromise of sensitive information stored in the cache.
Non-compliant example:
resource"aws_elasticache_cluster""example"{cluster_id="cluster-example"engine="redis"engine_version="2.6.13" // Non-compliant version
// ... other configuration
}
Compliant example:
resource"aws_elasticache_cluster""example"{cluster_id="cluster-example"engine="redis"engine_version="5.0.0" // Compliant version
// ... other configuration
}
Compliant Code Examples
#this code is a correct code for which the query should not find any result
resource"aws_elasticache_cluster""negative1"{cluster_id="cluster-example"engine="redis"node_type="cache.m4.large"num_cache_nodes=1engine_version="5.0.0"port=6379}
Non-Compliant Code Examples
#this is a problematic code where the query should report a result(s)
resource"aws_elasticache_cluster""positive1"{cluster_id="cluster-example"engine="redis"node_type="cache.m4.large"num_cache_nodes=1engine_version="2.6.13"port=6379}
1
2
rulesets:- Terraform / AWS # Rules to enforce / AWS.
맞춤형 데모 요청
Datadog 시작하기
Ask AI
AI-generated responses may be inaccurate. Verify important info.