Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. DevSecOps
  3. Kubectrl Kubesec

Kubectrl Kubesec

Apache-2.0Gov1.1.0

A kubectl plugin for security risk analysis of Kubernetes resources like pods, deployments, daemonsets, and statefulsets.

Visit WebsiteGitHubGitHub
517 stars36 forks0 contributors

What is Kubectrl Kubesec?

kubectl-kubesec is a kubectl plugin that performs security risk analysis on Kubernetes resources. It scans pods, deployments, daemonsets, and statefulsets to identify security misconfigurations and provides actionable recommendations to improve security posture. The plugin integrates with the kubesec.io service to analyze resources and assign security scores.

Target Audience

Kubernetes administrators, DevOps engineers, and security teams who need to identify and fix security issues in their Kubernetes workloads before deployment.

Value Proposition

Developers choose kubectl-kubesec because it provides specific, actionable security advice directly within their kubectl workflow, supports both cloud and self-hosted scanning options, and helps prevent common security misconfigurations in Kubernetes resources.

Overview

Security risk analysis for Kubernetes resources

Use Cases

Best For

  • Scanning Kubernetes deployments for security vulnerabilities before applying them
  • Identifying security misconfigurations in production pods and daemonsets
  • Implementing DevSecOps practices in Kubernetes CI/CD pipelines
  • Self-hosting security scanning tools for air-gapped or private environments
  • Getting actionable security recommendations for hardening Kubernetes workloads
  • Integrating security analysis into existing kubectl workflows

Not Ideal For

  • Organizations requiring real-time, continuous security monitoring and alerting systems
  • Teams that need to scan all Kubernetes resource types, not just pods, deployments, daemonsets, and statefulsets
  • Environments with strict data privacy policies where even self-hosting is not feasible due to compliance constraints

Pros & Cons

Pros

Actionable Security Advice

Provides specific, actionable recommendations like enforcing runAsNonRoot and dropping capabilities, directly helping users fix security misconfigurations based on scan outputs.

Seamless Kubectl Integration

Installs as a kubectl plugin via krew or curl, allowing scans to be performed with familiar kubectl commands without leaving the CLI workflow.

Self-Hosted Option

Supports running kubesec locally with Docker, enabling use in air-gapped or private networks where cloud services are prohibited, as shown in the README examples.

Clear Risk Scoring

Assigns a numerical security score to each resource, making it easy to prioritize fixes based on the severity of issues identified, such as critical vs. advisory items.

Cons

Limited Resource Support

Only scans pods, deployments, daemonsets, and statefulsets, omitting other critical resources like services or configmaps that might have security implications.

Cloud Service Dependency

By default, sends scan data to the hosted kubesec.io service, which could raise privacy, security, and availability concerns for sensitive workloads unless self-hosted.

Manual and Ad-Hoc Nature

Requires manual execution for each scan, lacking built-in automation for continuous monitoring or seamless integration into existing security pipelines without additional scripting.

Frequently Asked Questions

Quick Stats

Stars517
Forks36
Contributors0
Open Issues3
Last commit1 year ago
CreatedSince 2018

Tags

#container-security#risk-analysis#kubernetes#security-scanning#devsecops#self-hosted

Links & Resources

Website

Included in

DevSecOps1.7k
Auto-fetched 8 hours ago

Related Projects

Kube-ScoreKube-Score

Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.

Stars3,105
Forks205
Last commit5 months ago
KubescapeKubescape

Cloud Native Computing Foundation - An open-source Kubernetes security platform for your IDE, CI/CD pipelines, and clusters

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub