{
    "name": "redisVersionCompliance",
    "file": "redisVersionCompliance.rego",
    "policy_type": "aws",
    "resource_type": "aws_elasticache_cluster",
    "template_args": {
        "allowed_versions": [
            "3.2.6",
            "3.2.10",
            "4.0.10",
            "5.0.0"
        ],
        "engine": "redis",
        "prefix": ""
    },
    "severity": "HIGH",
    "description": "ElastiCache for Redis version is not compliant with AWS PCI DSS requirements",
    "reference_id": "AWS.ElastiCache.DataSecurity.High.0425",
    "category": "Compliance Validation",
    "version": 2,
    "id": "AC_AWS_0102"
}