|
1 | 1 | { |
2 | 2 | "Provider": "aws", |
3 | 3 | "CheckID": "elasticache_redis_cluster_auto_minor_version_upgrades", |
4 | | - "CheckTitle": "Ensure Elasticache Redis cache clusters have automatic minor upgrades enabled.", |
5 | | - "CheckType": [], |
| 4 | + "CheckTitle": "ElastiCache Redis cache cluster has automatic minor version upgrades enabled", |
| 5 | + "CheckType": [ |
| 6 | + "Software and Configuration Checks/Patch Management", |
| 7 | + "Software and Configuration Checks/AWS Security Best Practices" |
| 8 | + ], |
6 | 9 | "ServiceName": "elasticache", |
7 | 10 | "SubServiceName": "", |
8 | | - "ResourceIdTemplate": "arn:partition:service:region:account-id:resource-id", |
| 11 | + "ResourceIdTemplate": "", |
9 | 12 | "Severity": "high", |
10 | 13 | "ResourceType": "Other", |
11 | | - "Description": "Ensure Elasticache Redis cache clusters have automatic minor upgrades enabled.", |
12 | | - "Risk": "Not enabling automatic minor version upgrades can expose your Redis cluster to security vulnerabilities, performance issues, and increased operational overhead due to the need for manual updates.", |
13 | | - "RelatedUrl": "https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/VersionManagement.html", |
| 14 | + "Description": "**ElastiCache for Redis** replication groups are configured to apply **automatic minor engine upgrades** using `AutoMinorVersionUpgrade`", |
| 15 | + "Risk": "Without **automatic minor upgrades**, Redis nodes may run versions with known CVEs and stability bugs, enabling unauthorized access, replication inconsistencies, or crashes. Delayed patching widens the attack window and lengthens maintenance, degrading confidentiality, integrity, and availability.", |
| 16 | + "RelatedUrl": "", |
| 17 | + "AdditionalURLs": [ |
| 18 | + "https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VersionManagementConsiderations.html", |
| 19 | + "https://support.icompaas.com/support/solutions/articles/62000233595-ensure-elasticache-redis-cache-clusters-have-automatic-minor-upgrades-enabled", |
| 20 | + "https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/engine-versions.html", |
| 21 | + "https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/VersionManagement.html" |
| 22 | + ], |
14 | 23 | "Remediation": { |
15 | 24 | "Code": { |
16 | | - "CLI": "aws elasticache modify-cache-cluster --cache-cluster-id <cluster_id> --apply-immediately --auto-minor-version-upgrade", |
17 | | - "NativeIaC": "", |
18 | | - "Other": "https://docs.aws.amazon.com/securityhub/latest/userguide/elasticache-controls.html#elasticache-2", |
19 | | - "Terraform": "" |
| 25 | + "CLI": "aws elasticache modify-replication-group --replication-group-id <replication_group_id> --auto-minor-version-upgrade --apply-immediately", |
| 26 | + "NativeIaC": "```yaml\n# CloudFormation: enable auto minor version upgrades on a Replication Group\nResources:\n <example_resource_name>:\n Type: AWS::ElastiCache::ReplicationGroup\n Properties:\n ReplicationGroupDescription: \"<example_description>\"\n CacheNodeType: \"<example_node_type>\"\n NumCacheClusters: 1\n AutoMinorVersionUpgrade: true # CRITICAL: turns on automatic minor version upgrades\n # This ensures new minor engine versions are applied automatically\n```", |
| 27 | + "Other": "1. Open the AWS console and go to ElastiCache\n2. Select Replication groups, choose the target group\n3. Click Modify\n4. Enable Automatic minor version upgrade\n5. Check Apply immediately and click Modify to save", |
| 28 | + "Terraform": "```hcl\n# Enable auto minor version upgrades on an ElastiCache replication group\nresource \"aws_elasticache_replication_group\" \"<example_resource_name>\" {\n replication_group_id = \"<example_resource_id>\"\n description = \"<example_description>\"\n node_type = \"<example_node_type>\"\n num_cache_clusters = 1\n auto_minor_version_upgrade = true # CRITICAL: automatically applies minor engine upgrades\n}\n```" |
20 | 29 | }, |
21 | 30 | "Recommendation": { |
22 | | - "Text": "Ensure Elasticache clusters have automatic minor upgrades enabled.", |
23 | | - "Url": "https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.html#Modify" |
| 31 | + "Text": "Enable `AutoMinorVersionUpgrade` for Redis replication groups and govern updates with a maintenance window. Apply **patch management** and **defense in depth**: validate in staging, keep recent backups, use Multi-AZ for resilience, and monitor release notes to ensure timely, low-impact updates.", |
| 32 | + "Url": "https://hub.prowler.com/check/elasticache_redis_cluster_auto_minor_version_upgrades" |
24 | 33 | } |
25 | 34 | }, |
26 | 35 | "Categories": [], |
|
0 commit comments