All Projects → aquasecurity → Kube Bench

aquasecurity / Kube Bench

Licence: apache-2.0
Checks whether Kubernetes is deployed according to security best practices as defined in the CIS Kubernetes Benchmark

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Kube Bench

kube-beacon
Open Source runtime scanner for k8s cluster and perform security audit checks based on CIS Kubernetes Benchmark specification
Stars: ✭ 60 (-98.62%)
Mutual labels:  cis-benchmark, kube-bench, cis-kubernetes-benchmark, cis-security
Openshift Docs
OpenShift 3 and 4 product and community documentation
Stars: ✭ 452 (-89.63%)
Mutual labels:  hacktoberfest, openshift
Checkov
Prevent cloud misconfigurations during build-time for Terraform, Cloudformation, Kubernetes, Serverless framework and other infrastructure-as-code-languages with Checkov by Bridgecrew.
Stars: ✭ 3,572 (-18.05%)
Mutual labels:  hacktoberfest, kubernetes-security
Node Html To Image
A Node.js module that generates images from HTML
Stars: ✭ 351 (-91.95%)
Mutual labels:  hacktoberfest
Open Sauced
🍕 This is a project to identify your next open source contribution.
Stars: ✭ 352 (-91.92%)
Mutual labels:  hacktoberfest
Angular Animations
✨ Easy, Reusable Animation Utility library for Angular
Stars: ✭ 353 (-91.9%)
Mutual labels:  hacktoberfest
5e Database
Database for the D&D 5th Edition API
Stars: ✭ 354 (-91.88%)
Mutual labels:  hacktoberfest
Animatify Ios
Animation, Effects & Transitions for iOS
Stars: ✭ 350 (-91.97%)
Mutual labels:  hacktoberfest
Genrl
A PyTorch reinforcement learning library for generalizable and reproducible algorithm implementations with an aim to improve accessibility in RL
Stars: ✭ 356 (-91.83%)
Mutual labels:  hacktoberfest
Genshin Impact Wish Simulator
A React web application to simulate Genshin Impact gacha in the browser
Stars: ✭ 349 (-91.99%)
Mutual labels:  hacktoberfest
Sfml.net
Official binding of SFML for .Net languages
Stars: ✭ 354 (-91.88%)
Mutual labels:  hacktoberfest
Zh Style Guide
An open-source style guide for writing Chinese technical documents: https://zh-style-guide.readthedocs.io
Stars: ✭ 353 (-91.9%)
Mutual labels:  hacktoberfest
Doctoolchain
a Gradle based AsciiDoc Toolchain for Software Architecture Documentation
Stars: ✭ 355 (-91.86%)
Mutual labels:  hacktoberfest
Awesome First Timers
Place to contribute if you are a first timer
Stars: ✭ 353 (-91.9%)
Mutual labels:  hacktoberfest
Trailscraper
A command-line tool to get valuable information out of AWS CloudTrail
Stars: ✭ 352 (-91.92%)
Mutual labels:  hacktoberfest
Rotten Scripts
Scripts that will make you go WOW 😍💻
Stars: ✭ 344 (-92.11%)
Mutual labels:  hacktoberfest
Hsv Color Picker Unity
HSV color picker for Unity UI
Stars: ✭ 355 (-91.86%)
Mutual labels:  hacktoberfest
Cht Core
The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
Stars: ✭ 354 (-91.88%)
Mutual labels:  hacktoberfest
Freedomotic
Open IoT Framework
Stars: ✭ 354 (-91.88%)
Mutual labels:  hacktoberfest
Beaker
Puppet Acceptance Testing Harness
Stars: ✭ 354 (-91.88%)
Mutual labels:  hacktoberfest

GitHub Release Downloads Docker Pulls Go Report Card Build Status License Docker image Source commit Coverage Status

kube-bench logo

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.

Kubernetes Bench for Security

Quick start

There 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 job.yaml file can be applied to run the tests as a job. For example:

$ 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

  1. kube-bench implements the CIS Kubernetes Benchmark as closely as possible. Please raise issues here if kube-bench is not correctly implementing the test as described in the Benchmark. To report issues in the Benchmark itself (for example, tests that you believe are inappropriate), please join the CIS community.

  2. There is not a one-to-one mapping between releases of Kubernetes and releases of the CIS benchmark. See CIS Kubernetes Benchmark support to see which releases of Kubernetes are covered by different releases of the benchmark.

By default, kube-bench will determine the test set to run based on the Kubernetes version running on the machine.

Contributing

Kindly read Contributing before contributing. We welcome PRs and issue reports.

Roadmap

Going 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].