Kubescape
$ kubescape Foundation Low Riskkubescape scans live Kubernetes clusters, local YAML manifests, Helm charts, and container images against NSA, MITRE, and CIS frameworks. It supports --format json, --output, namespace scoping, and offline framework execution.
brew install kubescape kubescape scan writes structured --format json compliance reports directly from local files or kubeconfig without MCP overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format json, --output <file>, and namespace filters, though raw JSON reports can be large and default scans download frameworks unless cached.
kubescape scan --format json --output- Namespace filters
--include-namespaces/--exclude-namespaces
Read-only by default for both manifest and API scans; only --enable-host-scan or --submit creates temporary cluster DaemonSets or sends data externally.
- Read-only manifest and API server scanning by default
--enable-host-scandeploys a temporary cluster DaemonSet
Single static Go binary via Homebrew or GitHub Releases on macOS, Linux, and Windows.
- Cross-platform binary via
brew install kubescape
Combines posture misconfiguration scanning, RBAC graph checks, and image CVE scanning in one tool.
- NSA/MITRE/CIS posture + RBAC + image vulnerability scanning
CNCF incubating project (kubescape/kubescape) licensed under Apache-2.0.
- CNCF
kubescape/kubescaperepository
Detailed CLI reference in repo (docs/cli-reference.md) and kubescape.io/docs/.
- Official docs and CLI reference markdown
Security, Auth & Guardrails
Needs no auth for local YAML/image scans; reads ~/.kube/config (--kube-context) for cluster scans and stores downloaded artifacts in ~/.kubescape/.
CLI is free (Apache-2.0); optional ARMO cloud submission is not required.
# Kubescape Agent Rules - Always pass `--format json --output <file>.json` so verbose ASCII tables do not flood context. - Scope live cluster scans with `--include-namespaces` and `--kube-context`. - Avoid `--enable-host-scan` unless explicitly approved, as it deploys a temporary DaemonSet into the cluster.
Agent-Ready Command Recipes
Safe Read-Only Queries
kubescape scan framework nsa ./manifests --format json --output nsa-report.json
Scans local YAML files offline and saves a machine-readable JSON compliance report.
kubescape scan --include-namespaces production --format json --output prod-scan.json
Audits live resources in one namespace in read-only mode without deploying host-scanner pods.
Strengths for Agents
- + Supports
--format jsonand--outputfor both local manifest and live cluster scans. - + Read-only API scanning without requiring in-cluster installation by default.
- + Covers NSA, CIS, MITRE, RBAC, and image CVEs in one CNCF tool.
Caveats & Pitfalls
- ! Full cluster JSON reports can be huge; redirect to
--output <file>.jsonand query withjq. - ! Passing
--enable-host-scandeploys a DaemonSet onto cluster nodes, and--submituploads results to external SaaS.