Skip to content

Kubewarden is a policy engine for Kubernetes. It helps with keeping your Kubernetes clusters secure 🔐 and compliant ✔.

Kubewarden policies can be written using regular programming languages or Domain Specific Languages (DSL).

Policies are compiled into WebAssembly modules that are then distributed using traditional container registries.

Getting Started 📚

Check our first-stop kubewarden/community 👋 repository for information about the organization of the project.

Take a look at our documentation 📖 Stay up to date by reading our official blog 📣 and by following us on Bluesky or Mastodon.

Get in touch with us on Slack: join the kubewarden channel hosted by the official Kubernetes workspace 👨‍💻 💬 👩‍💻

Enforcing Policies 🔒

Discover ready to use policies by visiting ArtifactHub 📦

Don't forget to take a look at kwctl, our handy multi-purpose tool for managing policies 🛠️ 🧰

Writing policies 📝

Interested in writing a new policy?

Kubewarden allows you to write policies using a variety of programming languages, including Rust, Go, Rego, CEL and others.

These are some useful resources to get you started:

Useful GitHub tags :octocat: 🏷️

Use these tags to find repositories over all GitHub 🗺️ 🌌

Purpose Tag
Policy Template kubewarden-policy-template
Policy kubewarden-policy
Policy SDK kubewarden-policy-sdk

Contributing 🙌

That's fantastic news! 🥳

Check our general CONTRIBUTING.md docs.

Quick links to "core" projects:

Project Scope Language
kubewarden-controller Kubernetes integration point Go
policy-server Run Kubewarden policies Rust
kwctl Kubewarden policy multi-purpose cli tool Rust

Pinned Loading

  1. kwctl Public

    Go-to CLI tool for Kubewarden users

    Rust 82 21

  2. policy-server Public

    Webhook server that evaluates WebAssembly policies to validate Kubernetes requests

    Rust 146 20

  3. kubewarden-controller Public

    Manage admission policies in your Kubernetes cluster with ease

    Go 209 37

  4. rust-policy-template Public

    A Kubewarden rust policy template to be used with cargo-generate

    Rust 9 8

  5. go-policy-template Public template

    A template repository to quickly scaffold a Kubewarden policy written with Go language

    Go 11 16

  6. swift-policy-template Public template

    A template repository to quickly scaffold a Kubewarden policy written with Swift language

    Swift 1 1

Repositories

Showing 10 of 101 repositories
  • policy-evaluator Public

    Crate used by Kubewarden that is able to evaluate policies with a given input, request to evaluate and settings.

    Rust 17 Apache-2.0 10 23 1 Updated May 20, 2025
  • kwctl Public

    Go-to CLI tool for Kubewarden users

    Rust 82 Apache-2.0 21 16 1 Updated May 20, 2025
  • docs Public

    Kubewarden's documentation

    JavaScript 13 CC-BY-4.0 25 24 0 Updated May 20, 2025
  • audit-scanner Public

    Reports evaluation of existing Kubernetes resources with your already deployed Kubewarden policies.

    Go 8 Apache-2.0 9 10 0 Updated May 20, 2025
  • Go 1 Apache-2.0 3 2 0 Updated May 20, 2025
  • kubewarden-controller Public

    Manage admission policies in your Kubernetes cluster with ease

    Go 209 Apache-2.0 37 68 0 Updated May 20, 2025
  • policy-sdk-dotnet Public

    Kubewarden Policy SDK for the .NET platform

    C# 9 Apache-2.0 3 3 3 Updated May 20, 2025
  • unique-ingress-policy Public

    Prevent the creation of Ingress resources with duplicated hosts

    Open Policy Agent 0 Apache-2.0 2 1 0 Updated May 20, 2025
  • ingress-policy Public

    Policy to enforce requirements on Kubernetes Ingress resources.

    Go 4 Apache-2.0 3 1 1 Updated May 20, 2025
  • allowed-proc-mount-types-psp-policy Public

    Replacement for the Kubernetes Pod Security Policy that controls the usage of /proc mount types

    Rust 7 Apache-2.0 5 3 (2 issues need help) 1 Updated May 20, 2025