https://github.com/kubewarden/policy-sdk-dotnet
Kubewarden Policy SDK for the .NET platform
https://github.com/kubewarden/policy-sdk-dotnet
csharp dotnet hacktoberfest kubernetes kubernetes-security kubewarden-policy-sdk policy-as-code webassembly
Last synced: 11 months ago
JSON representation
Kubewarden Policy SDK for the .NET platform
- Host: GitHub
- URL: https://github.com/kubewarden/policy-sdk-dotnet
- Owner: kubewarden
- License: apache-2.0
- Created: 2022-07-04T11:45:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-12T12:29:41.000Z (about 1 year ago)
- Last Synced: 2025-06-12T13:39:33.429Z (about 1 year ago)
- Topics: csharp, dotnet, hacktoberfest, kubernetes, kubernetes-security, kubewarden-policy-sdk, policy-as-code, webassembly
- Language: C#
- Homepage: https://kubewarden.io
- Size: 127 KB
- Stars: 9
- Watchers: 6
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/kubewarden/community/blob/main/REPOSITORIES.md#incubating)
# Kubewarden .NET Policy SDK
>⚠️ **Warning: experimental** ⚠️
>
> This code leverages [`dot-net-wasi-sdk`](https://github.com/SteveSandersonMS/dotnet-wasi-sdk),
> which is currently marked as experimental.
This repository provides a SDK that can be used to write [Kubewarden Policies](https://kubewarden.io)
using the C# programming language.
## Requirements
The code requires .NET 7.
## Repository layout
The repository contains the following resources:
* `src`: contains the source code of the waPC guest library
* `examples`: contains a demo program and a waPC runtime to run it
## Contribute
The author of this code is not a .NET expert, patches are welcome to improve the
code quality and to make it more idiomatic.