Skip to content
Do you want to pick up from where you left of?
Take me there
Back to the blog

Security Tools · October 31, 2026

Kubescape: NSA-CISA Compliance & Kubernetes Risk Analysis

Evaluate cluster posture against NSA-CISA, MITRE ATT&CK, and CIS frameworks, visualize complex RBAC attack paths, and filter reachable CVEs using VEX.

Kubernetes clusters are complex multi-tenant systems where security misconfigurations in RBAC roles, network policies, or container capabilities can quietly expose workloads to attack. Kubescape (an open-source project by ARMO and part of the CNCF) provides an end-to-end security and compliance platform for Kubernetes.

Kubescape tests running clusters, Helm charts, and CI/CD manifests against major compliance frameworks including NSA-CISA, MITRE ATT&CK®, and CIS Benchmarks, while mapping RBAC attack paths and computing risk scores.

flowchart TD
    subgraph ScanningInputs["Scanning Inputs"]
        LiveCluster["Live Kubernetes API & Objects"]
        GitRepo["Git Repository & Helm Charts"]
        ImageRegistries["Container Registries"]
    end

    subgraph KubescapeEngine["Kubescape Engine"]
        Frameworks["Compliance Frameworks<br/>(NSA-CISA, MITRE, CIS, DevSecOps)"]
        RBACAnalyzer["RBAC Blast Radius Visualizer"]
        VexEngine["Vulnerability & VEX Filter"]
    end

    subgraph SecurityDashboard["Outputs & Reports"]
        Score["Risk Score (0% - 100%)"]
        RemediationPR["Automated Remediation Diff / PR"]
        OperatorReports["In-Cluster WorkloadConfigurationScan CRDs"]
    end

    ScanningInputs --> KubescapeEngine
    Frameworks --> KubescapeEngine
    KubescapeEngine --> SecurityDashboard

Core Differentiators of Kubescape

  1. NSA-CISA Hardening Guidance: Evaluates workloads against the strict security guidance released jointly by the National Security Agency (NSA) and Cybersecurity and Infrastructure Security Agency (CISA).
  2. RBAC Visualizer and Attack Path Mapping: Analyzes complex RoleBindings to detect service accounts with dangerous privilege paths (e.g., impersonation rights, secrets read access, wildcard permissions).
  3. Contextual Vulnerability Filtering (VEX): Filters out unexploitable CVEs when the vulnerable code binary or function is never loaded into memory during execution.
  4. GitOps & Admission Control: Prevents risky Helm charts from ever being merged into Git repositories.

Hands-On: Scanning with the Kubescape CLI

1. Scanning a Live Cluster Against NSA-CISA Framework

# Scan cluster against NSA-CISA framework with detailed results
kubescape scan framework nsa-cisa --submit=false

Example output:

+------------------------------------+------------------+----------------+
| CONTROL NAME                       | FAILED RESOURCES | COMPLIANCE (%) |
+------------------------------------+------------------+----------------+
| Non-root containers                | 8                | 65%            |
| Immutable container filesystem     | 12               | 48%            |
| Privileged container               | 0                | 100%           |
| HostPath volume mount              | 2                | 91%            |
+------------------------------------+------------------+----------------+
Overall Compliance Score: 76%

2. Scanning Helm Charts in CI/CD

Before deploying a third-party Helm chart, evaluate its security posture:

kubescape scan /path/to/helm/chart --format json --output results.json

3. Detecting Dangerous RBAC Roles

Find all service accounts and users that have permissions to create pods with host access or read cluster secrets:

kubescape scan control "Access Kubernetes dashboard" --verbose
kubescape scan control "Exec into container" --verbose

Installing the In-Cluster Kubescape Operator

The Kubescape operator continually assesses in-cluster security posture and exports metrics directly to Prometheus:

helm repo add kubescape https://kubescape.github.io/helm-charts/
helm repo update

helm install kubescape kubescape/kubescape-operator \
  --namespace kubescape \
  --create-namespace \
  --set capabilities.continuousScanning=enable \
  --set capabilities.vulnerabilityScan=enable

Verify the operator's Custom Resources:

kubectl get workloadconfigurationscans -A

Production Recommendations

  • Integrate into Git Pre-Commit Hooks: Catch hardcoded credentials and non-root violations before code is pushed.
  • Prioritize Top 5 Remediations: Kubescape automatically ranks the top 5 changes that yield the greatest percentage increase in compliance score. Address those first to make fast, measurable security progress.
  • Leverage VEX to Mitigate CVE Fatigue: Filter out unreachable CVEs to focus developer attention on genuine, exploitable vulnerabilities.