mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-08-01 19:38:27 +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 {
|
||||
glog.V(3).Infof("getPlatformBenchmarkVersion platform: %s", platform)
|
||||
switch platform.Name {
|
||||
case "eks":
|
||||
switch platform.Name {
|
||||
switch platform.Version {
|
||||
case "1.29", "1.30", "1.31":
|
||||
return "eks-1.7.0"
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user