Benyamin Hirschberg 28b431c623 Update README.md
2021-08-15 21:33:15 +03:00
2021-08-12 16:15:31 +03:00
2021-08-12 16:01:26 +03:00
2021-08-15 21:19:56 +03:00
2021-08-12 18:07:47 +03:00
2021-08-12 16:01:26 +03:00
2021-08-12 16:24:04 +03:00
2021-08-12 16:01:26 +03:00
2021-08-12 16:01:26 +03:00
2021-08-12 18:07:47 +03:00
2021-08-12 16:06:41 +03:00
2021-08-12 16:01:26 +03:00
2021-08-15 21:33:15 +03:00

logo

Kubescape is the first tool for testing if Kubernetes is deployed securely as defined in Kubernetes Hardening Guidance by to NSA and CISA Tests are configured with YAML files, making this tool easy to update as test specifications evolve.

TL;DR

Installation

To install the tool locally, run this:

curl -s https://raw.githubusercontent.com/armosec/kubescape/master/install.sh | /bin/bash

Run

To get a fast check of the security posture of your Kubernetes cluster, run this:

kubescape scan framework nsa

Status

build

How to build

go mod tidy && go build -o kubescape 🤪

Under the hood

Tests

Kubescape is running the following tests according to what is defined by Kubernetes Hardening Guidance by to NSA and CISA

  • Non-root containers
  • Immutable container filesystem
  • Building secure container images
  • Privileged containers
  • hostPID, hostIPC privileges
  • hostNetwork access
  • allowedHostPaths field
  • Protecting pod service account tokens
  • Pods in kube-system and kube-public
  • Resource policies
  • Control plane hardening
  • Encrypted secrets
  • Anonymous Requests

Technology

Kubescape based on OPA engine: https://github.com/open-policy-agent/opa and ARMO's posture controls.

The tools retrieves Kubernetes objects from the API server and runs a set of regos snippets developed by ARMO.

The results by default printed in a pretty "console friendly" manner, but they can be retrieved in JSON format for further processing.

Description
Kubescape is an open-source Kubernetes security platform for your IDE, CI/CD pipelines, and clusters. It includes risk analysis, security, compliance, and misconfiguration scanning, saving Kubernetes users and administrators precious time, effort, and resources.
Readme Apache-2.0 116 MiB
Languages
Go 98.6%
Python 0.6%
Shell 0.6%
PowerShell 0.2%