1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-26 01:49:28 +00:00

fix(cfg): target map

This commit is contained in:
Peter Balogh 2024-08-02 14:25:11 +02:00
parent 7981c07e0f
commit 43aba407bd
No known key found for this signature in database
GPG Key ID: 9A75A748F9634752
2 changed files with 4 additions and 3 deletions

View File

@ -287,6 +287,7 @@ version_mapping:
"eks-1.0.1": "eks-1.0.1" "eks-1.0.1": "eks-1.0.1"
"eks-1.1.0": "eks-1.1.0" "eks-1.1.0": "eks-1.1.0"
"eks-1.2.0": "eks-1.2.0" "eks-1.2.0": "eks-1.2.0"
"eks-1.5.0": "eks-1.5.0"
"gke-1.0": "gke-1.0" "gke-1.0": "gke-1.0"
"gke-1.2.0": "gke-1.2.0" "gke-1.2.0": "gke-1.2.0"
"ocp-3.10": "rh-0.7" "ocp-3.10": "rh-0.7"

View File

@ -11,16 +11,16 @@ spec:
- name: kube-bench - name: kube-bench
# Push the image to your ECR and then refer to it here # Push the image to your ECR and then refer to it here
# image: <ID.dkr.ecr.region.amazonaws.com/aquasec/kube-bench:ref> # image: <ID.dkr.ecr.region.amazonaws.com/aquasec/kube-bench:ref>
image: docker.io/aquasec/kube-bench:latest image: docker.io/poke/kube-bench:7981c07
# To send findings to AWS Security Hub, refer to `job-eks-asff.yaml` instead # To send findings to AWS Security Hub, refer to `job-eks-asff.yaml` instead
command: command:
[ [
"kube-bench", "kube-bench",
"run", "run",
"--targets", "--targets",
"node", "node,policies,managedservices,controlplane",
"--benchmark", "--benchmark",
"eks-1.2.0", "eks-1.5.0",
] ]
volumeMounts: volumeMounts:
- name: var-lib-kubelet - name: var-lib-kubelet