1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2025-05-29 04:08:49 +00:00

add aks-1.7 as a default plateform aks version

This commit is contained in:
LaibaBareera 2025-05-20 15:17:21 +05:00
parent a761a21227
commit 754c462d54
2 changed files with 3 additions and 1 deletions

View File

@ -490,6 +490,8 @@ func getPlatformBenchmarkVersion(platform Platform) string {
switch platform.Name {
case "eks":
return "eks-1.5.0"
case "aks":
return "aks-1.7"
case "gke":
switch platform.Version {
case "1.15", "1.16", "1.17", "1.18", "1.19":

View File

@ -11,7 +11,7 @@ spec:
- name: kube-bench
image: docker.io/aquasec/kube-bench:latest
command:
["kube-bench", "run", "--targets", "node", "--benchmark", "aks-1.0"]
["kube-bench", "run", "--targets", "node", "--benchmark", "aks-1.7"]
volumeMounts:
- name: var-lib-kubelet
mountPath: /var/lib/kubelet