mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-08-02 03:48:21 +00:00
added eks 1.7 for supported kubernetes version
This commit is contained in:
parent
54931baa06
commit
1031ed4fc8
@ -519,8 +519,9 @@ func IsAKS(ctx context.Context, k8sClient kubernetes.Interface) (bool, error) {
|
|||||||
|
|
||||||
func getPlatformBenchmarkVersion(platform Platform) string {
|
func getPlatformBenchmarkVersion(platform Platform) string {
|
||||||
glog.V(3).Infof("getPlatformBenchmarkVersion platform: %s", platform)
|
glog.V(3).Infof("getPlatformBenchmarkVersion platform: %s", platform)
|
||||||
|
switch platform.Name {
|
||||||
case "eks":
|
case "eks":
|
||||||
switch platform.Name {
|
switch platform.Version {
|
||||||
case "1.29", "1.30", "1.31":
|
case "1.29", "1.30", "1.31":
|
||||||
return "eks-1.7.0"
|
return "eks-1.7.0"
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user