Kubescape — Kubernetes Security Platform from CNCF
Kubescape scans Kubernetes clusters, YAML manifests, and Helm charts against NSA, CIS, and MITRE frameworks. Built by ARMO and a CNCF Sandbox project, it catches misconfigurations and vulnerabilities before they reach production.
Instalación con revisión previa
Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.
npx -y tokrepo@latest install 645c71dd-37c8-11f1-9bc6-00163e2b0d79 --target codexPrimero dry-run, confirma las escrituras y luego ejecuta este comando.
What it is
Kubescape is a Kubernetes security platform that scans clusters, YAML manifests, and Helm charts against established security frameworks including NSA-CISA, CIS Benchmarks, and MITRE ATT&CK. It identifies misconfigurations, excessive permissions, missing network policies, and container vulnerabilities. Kubescape is a CNCF Sandbox project built by ARMO.
Kubescape targets DevOps engineers, security teams, and anyone responsible for Kubernetes cluster security. It catches security issues before they reach production by scanning both live clusters and local manifests during development.
How it saves time or tokens
Kubescape runs comprehensive security checks in a single command. Instead of manually reviewing each deployment against security benchmarks, Kubescape automates the entire audit. It scores your cluster against frameworks, highlights specific failed controls, and provides remediation guidance. CI/CD integration catches security regressions automatically on every commit.
How to use
- Install Kubescape:
curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | bash. - Scan a running cluster:
kubescape scan --enable-host-scan --verbose. - Scan local manifests:
kubescape scan *.yamlor scan Helm charts before deployment.
Example
# Install
curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | bash
# Scan running cluster
kubescape scan --enable-host-scan --verbose
# Scan local manifests
kubescape scan deployment.yaml service.yaml
# Scan against specific framework
kubescape scan framework nsa --exclude-namespaces kube-system
# Scan Helm chart
kubescape scan helm-chart ./my-chart
# CI/CD mode with exit code
kubescape scan --fail-threshold 50
Related on TokRepo
- Security Tools — Security scanning and audit tools
- DevOps Tools — Kubernetes operations tools
Common pitfalls
- Not all failed controls require immediate action. Some security recommendations (like restricting root containers) may conflict with legitimate workload requirements. Prioritize based on risk.
- Host scanning (
--enable-host-scan) requires access to cluster nodes. In managed Kubernetes (GKE, EKS), you may not have node-level access for all checks. - Kubescape scans are point-in-time. For continuous security monitoring, integrate Kubescape into your CI/CD pipeline and use the ARMO platform for runtime monitoring.
Preguntas frecuentes
Kubescape supports NSA-CISA Kubernetes Hardening Guide, CIS Kubernetes Benchmarks, MITRE ATT&CK for Containers, and custom frameworks. You can also create your own framework with specific controls.
Yes. Kubescape scans YAML manifests and Helm charts locally without a running cluster. This shift-left approach catches misconfigurations during development and in CI/CD pipelines.
Kubescape identifies issues and provides remediation guidance but does not automatically modify your manifests. You apply fixes based on the recommendations. Some controls include suggested YAML patches.
Run kubescape scan in your CI pipeline with --fail-threshold to fail builds when the security score drops below a threshold. Kubescape outputs JSON for integration with other tools and dashboards.
Yes. The CLI and open-source scanning engine are free. ARMO offers a commercial platform with continuous monitoring, multi-cluster management, and team collaboration features.
Referencias (3)
- Kubescape GitHub— Kubescape scans Kubernetes against NSA, CIS, and MITRE frameworks
- Kubescape Documentation— CNCF Sandbox project for Kubernetes security
- NSA Cybersecurity— NSA-CISA Kubernetes Hardening Guide
Relacionados en TokRepo
Discusión
Activos relacionados
Hubble — Network Observability for Kubernetes via eBPF
A CNCF observability tool built on Cilium that provides deep visibility into network traffic, service dependencies, and security policies in Kubernetes clusters.
kube-hunter — Kubernetes Security Testing from an Attacker Perspective
kube-hunter is an open-source tool by Aqua Security that hunts for security weaknesses in Kubernetes clusters by simulating an attacker's discovery and exploitation process.
Kubernetes — Production-Grade Container Orchestration
Kubernetes (K8s) is the open-source platform for automating deployment, scaling, and management of containerized applications. Originally designed by Google and now maintained by the CNCF, it is the industry standard for running containers in production.
TheHive — Open Source Security Incident Response Platform
TheHive is a scalable, open-source security incident response platform that helps SOC teams investigate alerts, collaborate on cases, and automate response workflows.