awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Kubernetes Policy Enforcement Engines

Ranking updated Jun 30, 2026

For a policy-as-code engine for Kubernetes, the first results are kyverno/kyverno, datreeio/datree (Datree is a Kubernetes policy enforcement framework that validates resource configurations via admission webhooks and CLI scanning using Rego, CEL, or JSON Schema, fitting the policy-engine category, though it lacks mutation support and explicit constraint template constructs) and open-policy-agent/gatekeeper (Gatekeeper is a policy controller for Kubernetes that enforces OPA-based policies via admission control, supports constraint templates, audit, and mutation, making it a comprehensive solution for your search). kubescape/kubescape and sigstore/policy-controller round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Automated tools that validate and enforce security or compliance policies across your Kubernetes cluster resources.

Kubernetes Policy Enforcement Engines

Find the best repos with AI.We'll search the best matching repositories with AI.
  • kyverno/kyvernokyverno avatar

    kyverno/kyverno

    7,841View on GitHub↗

    Kyverno is a Kubernetes policy engine and cloud native governance tool. It functions as a policy-as-code framework that validates, mutates, and generates resources to enforce security and governance standards within a cluster. The project distinguishes itself through a declarative policy model that utilizes native Kubernetes custom resource definitions, allowing policies to be managed as standard cluster objects without custom code. It provides specific security capabilities for container image verification and signature validation to ensure only trusted images are deployed. Its broader capa

    Kyverno is a Kubernetes-native policy engine that validates, mutates, and generates resources via admission control, using declarative policy-as-code with Custom Resource Definitions — it directly meets the search for a Kubernetes policy engine with support for enforcement, mutation, and compliance features.

    GoPolicy-As-Code Engines
    View on GitHub↗7,841
  • datreeio/datreedatreeio avatar

    datreeio/datree

    6,339View on GitHub↗

    Datree is a policy enforcement framework for Kubernetes that validates configurations against rules written in Rego, JSON Schema, or CEL. It operates as both a command-line tool for pre-deployment scanning and as a cluster-side admission webhook for real-time enforcement, integrating with CI/CD pipelines and continuous delivery tools like ArgoCD and FluxCD. The framework supports namespace-scoped policy mapping, allowing different policies to apply to different namespaces, and provides a skip annotation mechanism for selectively bypassing rules on individual resources or entire namespaces. It

    Datree is a Kubernetes policy enforcement framework that validates resource configurations via admission webhooks and CLI scanning using Rego, CEL, or JSON Schema, fitting the policy-engine category, though it lacks mutation support and explicit constraint template constructs.

    GoPolicy-As-Code EnginesRego Rule AuthorsAdmission Webhooks
    View on GitHub↗6,339
  • open-policy-agent/gatekeeperopen-policy-agent avatar

    open-policy-agent/gatekeeper

    4,228View on GitHub↗

    Gatekeeper is a Kubernetes admission control and policy enforcement engine used to ensure cluster resources comply with organizational security and configuration standards. It intercepts API requests to validate or reject non-compliant resources before they are persisted in the cluster. The project uses a parameterized policy library and custom resource definitions to create reusable templates and enforcement rules. It distinguishes itself through a hub-and-spoke management model, allowing a controller in a management cluster to enforce policies across separate target clusters. Beyond admiss

    Gatekeeper is a policy controller for Kubernetes that enforces OPA-based policies via admission control, supports constraint templates, audit, and mutation, making it a comprehensive solution for your search.

    GoKubernetes Resource ValidationAdmission WebhooksKubernetes Admission Webhook Filters
    View on GitHub↗4,228
  • kubescape/kubescapekubescape avatar

    kubescape/kubescape

    11,489View on GitHub↗

    Kubescape is a Kubernetes security posture management platform designed to scan clusters, manifests, and images for misconfigurations, vulnerabilities, and compliance risks. It functions as a comprehensive security suite incorporating a compliance scanner, a container image vulnerability scanner, an admission controller for policy enforcement, and a runtime security monitor. The platform distinguishes itself through runtime-aware vulnerability filtering, which maps libraries loaded in memory to determine if vulnerabilities are actually reachable. It also integrates with AI assistants via a Mo

    Kubescape includes an admission controller for policy enforcement and compliance scanning, so it can define and enforce governance policies on Kubernetes, though its broader security‑posture scope goes beyond a dedicated policy engine.

    GoAdmission Webhooks
    View on GitHub↗11,489
  • sigstore/policy-controllersigstore avatar

    sigstore/policy-controller

    175View on GitHub↗

    Sigstore Policy Controller - an admission controller that can be used to enforce policy on a Kubernetes cluster based on verifiable supply-chain metadata from cosign

    Sigstore Policy Controller is an admission controller that enforces policy on Kubernetes clusters using verifiable supply-chain metadata from cosign, making it a valid but specialized Kubernetes policy engine focused on image supply-chain security rather than general governance.

    GoImage Scanning and SBOM
    View on GitHub↗175
  • open-policy-agent/conftestopen-policy-agent avatar

    open-policy-agent/conftest

    3,128View on GitHub↗

    Conftest is a suite of tools designed for validating structured configurations, testing policy logic, and generating policy documentation. It serves as a configuration file validator that checks YAML, JSON, and Helm charts for security violations and compliance issues using declarative rules. The project functions as an Open Policy Agent testing tool, allowing structured configuration files to be validated against custom policies written in Rego. It includes a policy-as-code testing framework to ensure policy logic is correct and a utility to extract metadata from Rego code to create static m

    Conftest is a CLI tool for offline validation of Kubernetes manifests and config files against Rego policies, but it does not run as an admission controller or enforce rules in real time on a cluster, which means it is a complementary policy-testing tool rather than a full Kubernetes policy engine.

    GoPolicy-As-Code Engines
    View on GitHub↗3,128
  • tenable/terrascantenable avatar

    tenable/terrascan

    5,210View on GitHub↗

    Terrascan is a static analysis tool designed to evaluate infrastructure-as-code configuration files for security vulnerabilities and compliance violations. By parsing these files into an intermediate representation, it identifies risks before cloud resources are provisioned, serving as a compliance auditor for cloud-native environments. The tool functions as a policy-as-code engine, allowing users to define and enforce custom security rules and industry benchmarks using a specialized query language. It distinguishes itself through its ability to integrate directly into development and deploym

    Terrascan is a static analysis tool for infrastructure-as-code files that enforces security and compliance policies, but it checks configurations before deployment rather than governing running Kubernetes resources through admission control, so it's a neighbouring category rather than the Kubernetes-native policy engine you're looking for.

    GoPolicy-As-Code Engines
    View on GitHub↗5,210
  • open-policy-agent/opaopen-policy-agent avatar

    open-policy-agent/opa

    11,860View on GitHub↗

    This project is a unified, cloud-native policy engine designed to decouple authorization and security logic from application codebases. It functions as a centralized authorization service that evaluates structured input data against declarative rules, enabling consistent policy enforcement across microservices, infrastructure, and continuous integration pipelines. The engine utilizes a specialized logic programming language to express complex constraints, which are compiled into an optimized intermediate representation for high-performance evaluation. By supporting both sidecar-based deployme

    OPA is a general-purpose policy engine that can be used for Kubernetes admission control through integrations like Gatekeeper, but it is not a Kubernetes-specific policy engine itself — the visitor likely wants a tool purpose-built for cluster resource enforcement, such as Gatekeeper or Kyverno.

    GoPolicy-As-Code Engines
    View on GitHub↗11,860
  • google/cel-specgoogle avatar

    google/cel-spec

    3,673View on GitHub↗

    The Common Expression Language specification is a formal standard for a non-Turing-complete expression language designed for safe, portable, and fast logic evaluation. It serves as a cross-language logic standard and a declarative policy language, providing a consistent semantic framework for executing boolean expressions and data transformations across different programming environments. This specification acts as an embedded expression engine that allows applications to integrate portable logic for evaluating user-defined configurations. It is specifically designed to enable safe user-defin

    This repository defines the Common Expression Language (CEL) specification — a portable expression language used in policy engines — but it is not itself a tool that enforces governance or compliance policies on Kubernetes resources via admission control.

    StarlarkPolicy Definition Languages
    View on GitHub↗3,673
  • ory/ketoory avatar

    ory/keto

    5,270View on GitHub↗

    Ory Keto is an open-source authorization server that implements Google Zanzibar’s relationship-based access control model. It stores every access relationship as a tuple in a SQL database and exposes a declarative TypeScript-like namespace language for defining object types, relations, and permissions. The service provides bidirectional permission resolution, configurable consistency levels for checks, and dual gRPC and REST APIs for broad integration. Keto extends the Zanzibar model with edge enforcement of access policies, structured compliance auditing of permission decisions, and infrastr

    Ory Keto is a general-purpose authorization server based on Google Zanzibar, not a Kubernetes-specific policy engine — it handles access control for any application but lacks admission control or integration with Kubernetes resources, which is what this search is after.

    GoPolicy-as-Code DefinitionsPolicy Definition Languages
    View on GitHub↗5,270
  • kubernetes-sigs/kubebuilderkubernetes-sigs avatar

    kubernetes-sigs/kubebuilder

    8,992View on GitHub↗

    Kubebuilder is a framework and set of scaffolding tools used to build Kubernetes APIs and controllers. It functions as an operator framework that provides generators for custom resource definitions, admission webhooks, and RBAC manifests to extend cluster functionality. The project distinguishes itself through marker-based code generation, which parses source code comments to automatically produce Kubernetes manifests and boilerplate logic. It employs a hub-and-spoke versioning model to translate data between multiple API versions and uses a three-way merge strategy to automate project migrat

    Kubebuilder is a framework for building Kubernetes operators and controllers, including admission webhooks, but it is not a policy engine itself—it is a tool to create custom extensions, not a ready-to-use policy enforcement system with rule sets, constraint templates, and audit reporting.

    GoKubernetes Resource ValidationAdmission Webhooks
    View on GitHub↗8,992
  • hashicorp/terraformhashicorp avatar

    hashicorp/terraform

    48,720View on GitHub↗

    Terraform is a declarative infrastructure-as-code tool designed to manage the lifecycle of cloud and on-premises resources. It functions as a workflow engine that reconciles a defined desired state against real-world infrastructure, using a persistent state-tracking layer to maintain consistency and visibility across distributed environments. By mapping infrastructure components into a directed acyclic graph, the system calculates the optimal order for provisioning, updating, or destroying resources. The platform is distinguished by its extensible plugin-based architecture, which decouples co

    Terraform is an infrastructure-as-code tool for managing cloud resources, not a Kubernetes-native policy engine; while it can enforce some policies via integrations, it does not perform admission control on Kubernetes resources as its core purpose.

    GoPolicy-As-Code Engines
    View on GitHub↗48,720
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
kyverno/kyverno7.8KGoApache-2.0Jun 17, 2026
datreeio/datree6.3KGoApache-2.0Apr 23, 2024
open-policy-agent/gatekeeper
4.2K
Go
Apache-2.0
Jun 17, 2026
kubescape/kubescape11.5KGoApache-2.0Jun 22, 2026
sigstore/policy-controller175GoNOASSERTIONJun 8, 2026
open-policy-agent/conftest3.1KGootherFeb 18, 2026
tenable/terrascan5.2KGoApache-2.0Nov 20, 2025
open-policy-agent/opa11.9KGoApache-2.0Jun 16, 2026
google/cel-spec3.7KStarlarkapache-2.0Feb 3, 2026
ory/keto5.3KGoapache-2.0Feb 20, 2026

Related searches

  • a policy-as-code authorization engine
  • a Kubernetes config auditing tool
  • a security scanner for Kubernetes clusters
  • a Terraform policy and compliance checker
  • a framework for writing Kubernetes operators
  • a container orchestration platform for clusters
  • a tool for finding stale Kubernetes objects
  • a progressive delivery controller for Kubernetes