Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Kubescape

$ kubescape Foundation Low Risk
ARMO / CNCF · Cloud & Infra · Apache-2.0 · macos / linux / windows

kubescape 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.

FCRS-1.0 Score
86 /100
Good
Medium Confidence
Zero-Friction Install
brew install kubescape
CLI vs MCP Decision CLI Preferred vs MCP

kubescape scan writes structured --format json compliance reports directly from local files or kubeconfig without MCP overhead.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

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
Trust & Safety 21 / 25

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-scan deploys a temporary cluster DaemonSet
Setup & Portability 14 / 15

Single static Go binary via Homebrew or GitHub Releases on macOS, Linux, and Windows.

  • Cross-platform binary via brew install kubescape
Utility & Efficiency 13 / 15

Combines posture misconfiguration scanning, RBAC graph checks, and image CVE scanning in one tool.

  • NSA/MITRE/CIS posture + RBAC + image vulnerability scanning
Maintenance & Lineage 9 / 10

CNCF incubating project (kubescape/kubescape) licensed under Apache-2.0.

  • CNCF kubescape/kubescape repository
Docs & Verifiability 8 / 10

Detailed CLI reference in repo (docs/cli-reference.md) and kubescape.io/docs/.

  • Official docs and CLI reference markdown

Security, Auth & Guardrails

Auth Modes
No Auth Config File Env API Key
Credential Storage

Needs no auth for local YAML/image scans; reads ~/.kube/config (--kube-context) for cluster scans and stores downloaded artifacts in ~/.kubescape/.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

CLI is free (Apache-2.0); optional ARMO cloud submission is not required.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Scan local Kubernetes manifests against NSA framework in JSON
kubescape scan framework nsa ./manifests --format json --output nsa-report.json

Scans local YAML files offline and saves a machine-readable JSON compliance report.

Scan a single live namespace
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 json and --output for 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>.json and query with jq.
  • ! Passing --enable-host-scan deploys a DaemonSet onto cluster nodes, and --submit uploads results to external SaaS.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI