bridgecrewio / checkov

Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
https://www.checkov.io/
Apache License 2.0
7.16k stars 1.12k forks source link

fix(terraform): Update EKS supported versions #6826

Closed zvickery closed 6 days ago

zvickery commented 2 weeks ago

User description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

[//]: # "

PR Title

We use the title to create changelog automatically and therefore only allow specific prefixes
- break:    to indicate a breaking change, this supersedes any of the other types
- feat:     to indicate new features or checks
- fix:      to indicate a bugfix or handling of edge cases of existing checks
- docs:     to indicate an update to our documentation
- chore:    to indicate adjustments to workflow files or dependency updates
- platform: to indicate a change needed for the platform
Each prefix should be accompanied by a scope that specifies the targeted framework. If uncertain, use 'general'.
#    
Allowed prefixs:
ansible|argo|arm|azure|bicep|bitbucket|circleci|cloudformation|dockerfile|github|gha|gitlab|helm|kubernetes|kustomize|openapi|sast|sca|secrets|serverless|terraform|general|graph|terraform_plan|terraform_json
#
ex.
feat(terraform): add CKV_AWS_123 to ensure that VPC Endpoint Service is configured for Manual Acceptance

"

Description

Updating supported EKS versions which are enforced in a terraform check. Existing test for this check needs no modification.

Fixes #6747

Checklist:



Generated description

Below is a concise technical summary of the changes proposed in this PR:

Update the EKSPlatformVersion class in the checkov module to reflect the latest supported EKS versions, ensuring compliance with AWS guidelines.

<table><tr><th>Topic</th><th>Details</th><tr><td><a href=https://baz.co/changes/bridgecrewio/checkov/6826?tool=ast&topic=EKS+Version+Update>EKS Version Update</a>
    </td><td>Update the <code>EKSPlatformVersion</code> class to reflect the latest supported EKS versions.<details><summary>Modified files (1)</summary><ul><li>checkov/terraform/checks/resource/aws/EKSPlatformVersion.py</li></ul></details><details><summary>Latest Contributors(2)</summary><table><tr><th>User</th><th>Commit</th><th>Date</th></tr><tr><td>james.bennett@bjss.com</td><td>fix-terraform-CKV_AWS_...</td><td>June 27, 2024</td></tr>
mikeurbanski1@users.no...fix-terraform-Add-k8s-...February 28, 2024This pull request is reviewed by Baz. Join @zvickery and the rest of your team on (Baz).