kubescape
Scan Kubernetes clusters for misconfigs, CVEs, and runtime threats
Replaces Palo Alto Networks Prisma Cloud, Aqua Security, Sysdig Secure
Who it's for
Teams managing multiple clusters can use Kubescape to scan all workloads against NSA-CISA or CIS Benchmarks in CI/CD pipelines, block non-compliant deployments via Validating Admission Policies at the API server, and get continuous runtime monitoring through the in-cluster operator. The `--compliance-threshold` flag enables pipeline gates that fail builds when security scores drop below a target percentage.
Skip if your organization requires a vendor-managed security dashboard with built-in alerting, SLA-backed support, or regulatory compliance certifications tied to the security tool itself. Commercial tools handle those requirements without additional integration work on your side.
The VS Code extension and GitHub Actions integration let developers scan Kubernetes manifests before committing and see security findings as CI check annotations. The auto-fix command (`kubescape fix`) applies remediation to manifest files automatically, reducing the friction of acting on scan results in the development loop rather than waiting for a post-deployment audit.
Skip if your Kubernetes manifests are entirely generated by tooling that does not produce standard YAML or Helm outputs. Kubescape scans static files and live cluster state; fully dynamic configurations generated at deploy time require a different approach.
Kubescape outputs compliance scores against multiple frameworks in one scan and exports results to HTML or PDF for human-readable audit reports. The offline download mode (`kubescape download artifacts`) supports air-gapped environments where cluster nodes cannot reach external endpoints. Scanning against SOC 2 and CIS Benchmarks produces per-control pass/fail evidence suitable for audit documentation.
Skip if audits require a vendor-managed audit trail with tamper-evident logging, or if the compliance certification requires a certified third-party tool. Kubescape produces scan outputs but does not manage the evidence chain for formal regulated-industry audits.
The CLI installs in one command and produces a first scan with `kubescape scan`. The output names each misconfiguration, the framework control it maps to, and the remediation step. For engineers learning what CIS Benchmarks or MITRE ATT&CK controls mean in practice, scanning a real cluster and reading the findings is a faster path to understanding than reading the specification documents.
Skip if you need formal guided learning paths or certification-linked curricula. Kubescape provides scan output and links to control documentation, not structured training programs.
The problem
Kubernetes security spans three distinct layers: misconfiguration in YAML manifests and Helm charts, unpatched CVEs in container images, and suspicious behavior in running workloads. Commercial Kubernetes security tools address all three, but they require routing workload telemetry and image metadata to vendor systems, carry substantial per-node or per-cluster licensing fees, and lock security findings into proprietary dashboards. Teams that cannot send sensitive workload data off their infrastructure, or that cannot absorb enterprise security tool pricing, end up with gaps: ad-hoc kubectl audits for compliance checks, a free image scanner without the remediation step, or no runtime monitoring because the manual setup overhead is too high. Each gap is a place where a misconfigured RBAC policy or an unpatched container image goes unnoticed until an incident surfaces it.
How it works
Kubescape scans running clusters, YAML files, Helm charts, and Kustomize directories against multiple security frameworks: NSA-CISA Kubernetes Hardening Guidance, MITRE ATT&CK, CIS Benchmarks, and SOC 2. Each control maps to a specific check with a pass/fail result and remediation guidance. Target a specific framework with `kubescape scan framework nsa` or run all frameworks at once with `kubescape scan`.
Kubescape scans container images for known CVEs using Grype, then patches OS-level vulnerabilities using Copacetic. The detection workflow is `kubescape scan image nginx:1.21`; patching is `kubescape patch --image nginx:1.22`. Private registry images are supported with credential flags. An offline Grype database option enables air-gapped image scanning without an external network connection.
The in-cluster operator deploys eBPF probes via Inspektor Gadget to monitor running workloads for suspicious behavior without modifying application code or adding a sidecar container. This provides coverage beyond static analysis: detecting anomalies in syscall patterns, network connections, and process spawning at runtime. Monitoring activates when the Kubescape operator is installed via Helm.
After a scan, Kubescape can automatically fix misconfigurations in manifest files. Scan to JSON first with `kubescape scan /path/to/manifests --format json --output results.json`, then apply fixes with `kubescape fix results.json`. A `--dry-run` flag previews changes without applying them, letting engineers review what will be modified before committing to a fix.
Kubescape generates and deploys Kubernetes Validating Admission Policies into a cluster, blocking non-compliant workloads at the API server before they run. The `kubescape vap deploy-library` command installs a CEL-based policy library; `kubescape vap create-policy-binding` creates enforcement bindings for specific controls by name. This shifts enforcement to admission time rather than relying on post-deployment scanning.
Kubescape integrates with GitHub Actions, GitLab CI, and Jenkins via documented integration guides. IDE extensions exist for VS Code and Lens, enabling in-editor scanning of Kubernetes manifests before commit. Output formats include JUnit XML for CI test reporters, SARIF for GitHub Code Scanning annotations, and HTML or PDF for compliance reports. The `--compliance-threshold` flag returns a non-zero exit code when scores fall below a target, enabling pipeline gates.
Features
- Misconfiguration scanning across NSA-CISA, MITRE ATT&CK, and CIS Benchmarks
- Image vulnerability scanning and patching
- eBPF runtime threat detection
- Auto-remediation of manifest misconfigurations
- Validating Admission Policy enforcement
- CI/CD and IDE integration across multiple output formats
How to install
Install Kubescape via the one-line setup script on Linux and macOS, or via Homebrew on macOS.
curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash
brew install kubescapeRecommended for this setup
Strengths
- Full lifecycle coverage in one binary: Most Kubernetes security tools specialize in one layer: a misconfiguration scanner, a CVE scanner, or a runtime agent. Kubescape covers all three, plus image patching, admission control, and policy enforcement, in a single CLI binary. Teams avoid integrating and maintaining four separate tools to get the same coverage.
- Apache 2.0 license with no telemetry requirements: Apache 2.0 means no licensing fees, no copyleft restrictions on commercial use, and no requirement to distribute source changes. Unlike commercial alternatives that route workload metadata to vendor systems for analysis, the self-hosted path keeps all scan results and cluster telemetry on your own infrastructure. Teams with data residency requirements or air-gapped clusters can run Kubescape entirely offline.
- CNCF incubating project with active development: Kubescape joined the CNCF as an incubating project and was contributed by ARMO. The repository received its last push on 2026-08-14, showing active development. The project follows CNCF governance, security disclosure policies, and the CNCF Code of Conduct, which matters for teams evaluating open source security tooling for production use.
- Multiple compliance frameworks in a single scan run: A single `kubescape scan` evaluates your cluster against all supported frameworks simultaneously: NSA-CISA, MITRE ATT&CK, CIS Benchmarks, and SOC 2. Results include per-control pass/fail status, compliance percentage scores per framework, and mapped remediation steps. Most commercial tools require configuring compliance packs per framework and licensing them separately.
Trade-offs
- Continuous monitoring requires Helm and cluster-admin access: The CLI mode is straightforward: install the binary and point it at a cluster with a kubeconfig. Continuous runtime monitoring and scheduled scanning require deploying the Kubescape operator via Helm with cluster-admin permissions, which adds Kubernetes resources to manage. Teams without Helm in their stack or with restrictive RBAC policies will need additional setup before enabling the operator's continuous features.
- No built-in managed dashboard for multi-cluster views: Commercial alternatives like Prisma Cloud and Sysdig Secure include managed web dashboards for tracking security posture over time, alerting, and viewing findings across multiple clusters. Kubescape outputs results to the terminal or file formats (JSON, HTML, PDF) and exposes Prometheus metrics. Teams that need a persistent, queryable view across clusters must build or integrate their own dashboard, or use the Prometheus output with an existing observability stack.
- eBPF runtime detection requires a compatible Linux kernel: eBPF-based runtime monitoring depends on a Linux kernel version that supports eBPF and the ability to load kernel programs. Clusters running on older kernels, certain managed Kubernetes distributions with restricted kernel access, or Windows node pools cannot use the runtime detection features. Misconfiguration scanning and CVE detection work without eBPF on any supported Kubernetes environment.
Tech stack
FAQ
Yes. Kubescape is Apache 2.0 licensed and free to use, modify, and run commercially with no licensing fees. The CLI, in-cluster operator, and all scanning capabilities are available under that license. There is no paid tier, feature gating, or per-node charge on the self-hosted path.
Kubescape supports NSA-CISA Kubernetes Hardening Guidance, MITRE ATT&CK, CIS Benchmarks, and SOC 2. Run all frameworks in a single scan with `kubescape scan`, or target a specific one with `kubescape scan framework nsa`. Results include per-control pass/fail status and a compliance percentage score for each framework.
Not after initial setup. Kubescape supports offline mode: download all scanning artifacts to a local directory with `kubescape download artifacts --output /path/to/offline/dir`, then scan with `--use-artifacts-from /path/to/offline/dir`. Image vulnerability scanning also supports an offline Grype database served via a Docker container, making full air-gapped operation possible.
Kubescape covers the same scanning categories as Prisma Cloud and Sysdig Secure (misconfiguration, CVEs, runtime threats, compliance), but runs entirely on your own infrastructure under an Apache 2.0 license. Commercial platforms include managed dashboards, vendor support, and enterprise integrations that Kubescape does not provide out of the box. The right choice depends on whether your team needs a managed service with SLA support or prefers to own the full scanning pipeline.
Yes. `kubescape scan /path/to/helm/chart/` scans Helm chart directories directly. Kubescape also scans Git repository URLs (`kubescape scan https://github.com/your-org/your-repo`) and Kustomize directories. GitHub Actions and GitLab CI integrations are available for embedding scans into pull request workflows, with SARIF output for GitHub Code Scanning annotations on individual findings.