Repository: bridgecrewio/checkov
Issue category: Feature Request

Issue:
Add EKS 1.31 as a supported version
**Describe the issue**
EKS 1.31 has been released.  However `CKV_AWS_339` fails as this is not listed as a supported version.

**Examples**
```
resource "aws_eks_cluster" "eks_cluster" {
  ...
  version                   = "1.31"
```
**Version (please complete the following information):**
 - Checkov Version 3.2.256 (latest)

**Additional context**
https://github.com/bridgecrewio/checkov/blob/main/checkov/terraform/checks/resource/aws/EKSPlatformVersion.py seems to be where the fix is needed


Hints:
@zvickery thanks for the comment, please feel free to contribute as this is the fastest way our checks could be updated :) 

Patch:
diff --git a/checkov/terraform/checks/resource/aws/EKSPlatformVersion.py b/checkov/terraform/checks/resource/aws/EKSPlatformVersion.py
index 563798a01d0..d2011578ec6 100644
--- a/checkov/terraform/checks/resource/aws/EKSPlatformVersion.py
+++ b/checkov/terraform/checks/resource/aws/EKSPlatformVersion.py
@@ -24,7 +24,8 @@ def get_inspected_key(self) -> str:
         return "version"
 
     def get_expected_values(self) -> list[Any]:
-        return ["1.23", "1.24", "1.25", "1.26", "1.27", "1.28", "1.29", "1.30"]
+        # https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
+        return ["1.24", "1.25", "1.26", "1.27", "1.28", "1.29", "1.30", "1.31"]
 
 
 check = EKSPlatformVersion()


Test patch: