From 43aba407bdefcc8ca13acc969344568cf751af75 Mon Sep 17 00:00:00 2001 From: Peter Balogh Date: Fri, 2 Aug 2024 14:25:11 +0200 Subject: [PATCH] fix(cfg): target map --- cfg/config.yaml | 1 + job-eks.yaml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cfg/config.yaml b/cfg/config.yaml index 9ccd9e0..283a4db 100644 --- a/cfg/config.yaml +++ b/cfg/config.yaml @@ -287,6 +287,7 @@ version_mapping: "eks-1.0.1": "eks-1.0.1" "eks-1.1.0": "eks-1.1.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.2.0": "gke-1.2.0" "ocp-3.10": "rh-0.7" diff --git a/job-eks.yaml b/job-eks.yaml index beaf391..d3fe277 100644 --- a/job-eks.yaml +++ b/job-eks.yaml @@ -11,16 +11,16 @@ spec: - name: kube-bench # Push the image to your ECR and then refer to it here # image: - 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 command: [ "kube-bench", "run", "--targets", - "node", + "node,policies,managedservices,controlplane", "--benchmark", - "eks-1.2.0", + "eks-1.5.0", ] volumeMounts: - name: var-lib-kubelet