kubescape /kubescape

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.

★ 11,928⑂ 1,111👁 92⑃ 3,362● 1,517▤ 228
GoApache-2.0Created 2021-08-12kubescape.io
下载:v4.0.21v4.0.21 ↓4.0.212026-11-13
+21
日增长
11,928
stars
1,111
forks
92
watchers
3,362
prs
1,517
issues
228
releases

README

Kubescape


  
  
  


_Comprehensive Kubernetes Security from Development to Runtime_

Kubescape is an open-source Kubernetes security platform that provides comprehensive security coverage, from left to right across the entire development and deployment lifecycle. It offers hardening, posture management, and runtime security capabilities to ensure robust protection for Kubernetes environments.

Kubescape was created by ARMO and is a Cloud Native Computing Foundation (CNCF) incubating project.

_Please star ⭐ the repo if you want us to continue developing and improving Kubescape!_

---

 📑 Table of Contents

- Features
- Demo
- Quick Start
- Installation
- CLI Commands
- Usage Examples
- Architecture
- In-Cluster Operator
- Integrations
- Community
- Changelog
- License

---

 ✨ Features

| Feature | Description |
|---------|-------------|
| 🔍 Misconfiguration Scanning | Scan clusters, YAML files, and Helm charts against NSA-CISA, MITRE ATT&CK®, and CIS Benchmarks |
| 🐳 Image Vulnerability Scanning | Detect CVEs in container images using Grype |
| 🩹 Image Patching | Automatically patch vulnerable images using Copacetic |
| 🔧 Auto-Remediation | Automatically fix misconfigurations in Kubernetes manifests |
| 🛡️ Admission Control | Enforce security policies with Validating Admission Policies (VAP) |
| 📊 Runtime Security | eBPF-based runtime monitoring via Inspektor Gadget |
| 🤖 AI Integration | MCP server for AI assistant integration |

---

 🎬 Demo



---

 🚀 Quick Start

 1. Install Kubescape

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


 💡 See Installation for more options (Homebrew, Krew, Windows, etc.)

 2. Run Your First Scan

sh
 Scan your current cluster
kubescape scan

 Scan a specific YAML file or directory
kubescape scan /path/to/manifests/

 Scan a container image for vulnerabilities
kubescape scan image nginx:latest


 3. Explore the Results

Kubescape provides a detailed security posture overview including:
- Control plane security status
- Access control risks
- Workload misconfigurations
- Network policy gaps
- Compliance scores (MITRE, NSA)

---

 📦 Installation

 One-Line Install (Linux/macOS)

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


 Package Managers

| Platform | Command |
|----------|---------|
| Homebrew | brew install kubescape |
| Krew | kubectl krew install kubescape |
| Arch Linux | yay -S kubescape |
| NixOS | nix-shell -p kubescape |
| Chocolatey | choco install kubescape |
| Scoop | scoop install kubescape |

 Windows (PowerShell)

powershell
iwr -useb https://raw.githubusercontent.com/kubescape/kubescape/master/install.ps1 | iex


📖 Full Installation Guide →

---

 🛠️ CLI Commands

Kubescape provides a comprehensive CLI with the following commands:

| Command | Description |
|---------|-------------|
| kubescape scan | Scan cluster, files, or images for security issues |
| kubescape scan image | Scan container

Top issues

Discussions

Latest release

v4.0.21 v4.0.21 2026-11-13
Changelog
 ea6c91991b2439a05939db37fbb9e86092e3be4f Test/evidence rule shapes (4710)
 5f8ae6a3f7adb972ef64446bed050b9a49d74327 chore(examples): remove unused Prometheus v1 output mock (4845)
 17ff08d7d490ccc061789e8314b86f9c7170f911 ci: bump cloud.google.com/go/containeranalysis from 0.19.0 to 0.21.1 (4682)
 24664c110546e77294e1751e5e17ac96164a6cfa ci: bump docker/login-action from 4.7.0 to 4.8.0 (4689)
 160e750b2e4edf15ff2f917a0fa361bf347e42ba ci: bump github.com/Azure/azure-sdk-for-go/sdk/azcore (4686)
 60e95c7b0f2b329b27cc4f0ac379cbf145da4d7f ci: bump github.com/armosec/armoapi-go from 0.0.

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON