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
+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
#1563Evidence of finding in output14 comments · 2023-12-19#2992Signed, verifiable attestations for scan results10 comments · 2026-08-10#1912failed to get cloud data. resourceKind: ClusterDescribe; error: failed to get region on EKS10 comments · 2025-12-22#3975CI: run govulncheck on kubescape's own dependencies (v4.0.15 ships 7 reachable known vulnerabilities)6 comments · 2026-09-29#2557LFX - Posture scanning + admission for agent-runtime CRDs (Agent Sandbox/Substrate), plus gVisor runtime-visibility gap6 comments · 2026-07-27#2001CEL rule engine support (evaluate ValidatingAdmissionPolicy rules alongside OPA/Rego)6 comments · 2026-04-28#3020Introduce a Limit on Concurrent Pull Requests to Optimize CI Usage5 comments · 2026-08-11#1982Implement SecurityException CRD: kubescape posture path, operator watcher, and Headlamp plugin5 comments · 2026-04-21
Discussions
#3976Can kubelet and API server related controls be excepted?1 comments · 2026-09-29#2472Proposal: ICS/OT workload scanning guide3 comments · 2026-07-06#2418Rego eval conflict error on control C-0021 (exposed-sensitive-interfaces-v1)1 comments · 2026-06-19#2185kubescape patch default behavior surprising1 comments · 2026-05-15#2006Support Multiple Output Formats in a Single Scan1 comments · 2026-04-30#1988CLI scan shows "Action Required" for operator-only controls even when operator is installed, can CLI leverage operator data?1 comments · 2026-04-24#1976Readiness-aware learning and pre-readiness enforcement for zero-exposure security1 comments · 2026-04-15#1964Confused Error handling.1 comments · 2026-04-11
Latest release
v4.0.21 v4.0.21 2026-11-13Changelog 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.