在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):aquasecurity/kube-bench开源软件地址(OpenSource Url):https://github.com/aquasecurity/kube-bench开源编程语言(OpenSource Language):Go 97.3%开源软件介绍(OpenSource Introduction):kube-bench is a tool that checks whether Kubernetes is deployed securely by running the checks documented in the CIS Kubernetes Benchmark. Tests are configured with YAML files, making this tool easy to update as test specifications evolve. Quick startThere are multiple ways to run kube-bench. You can run kube-bench inside a pod, but it will need access to the host's PID namespace in order to check the running processes, as well as access to some directories on the host where config files and other files are stored. The supplied $ kubectl apply -f job.yaml
job.batch/kube-bench created
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
kube-bench-j76s9 0/1 ContainerCreating 0 3s
# Wait for a few seconds for the job to complete
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
kube-bench-j76s9 0/1 Completed 0 11s
# The results are held in the pod's logs
kubectl logs kube-bench-j76s9
[INFO] 1 Master Node Security Configuration
[INFO] 1.1 API Server
... For more information and different ways to run kube-bench see documentation Please Note
By default, kube-bench will determine the test set to run based on the Kubernetes version running on the machine.
ContributingKindly read Contributing before contributing. We welcome PRs and issue reports. RoadmapGoing forward we plan to release updates to kube-bench to add support for new releases of the CIS Benchmark. Note that these are not released as frequently as Kubernetes releases. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论