A Kubernetes admission controller to integrate container image signature verification and trust pinning into a cluster.
👉 The full documentation is available here 📖
👉 Feel free to reach out via GitHub Discussions 💬
Connaisseur ensures integrity and provenance of container images in a Kubernetes cluster. To do so, it intercepts resource creation or update requests sent to the Kubernetes cluster, identifies all container images and verifies their signatures against pre-configured public keys. Based on the result, it either accepts or denies those requests.
Connaisseur is developed under three core values: Security, Usability, Compatibility. It is built to be extendable and currently aims to support the following signing solutions:
- Notary V1 / Docker Content Trust
- Sigstore / Cosign
- Notary V2 (PLANNED)
It provides several additional features:
- Detection Mode: warn but do not block invalid images
- Namespaced Validation: restrict validation to dedicated namespaces
- Alerting: send alerts based on verification result
- Automatic Child Approval: configure approval of Kubernetes child resources
Getting started to verify image signatures is only a matter of minutes:
⚠️ Only try this out on a test cluster as deployments with unsigned images will be blocked.⚠️
Connaisseur comes pre-configured with public keys for its own repository and Docker's official images (official images can be found here).
It can be fully configured via helm/values.yaml
.
For a quick start, clone the Connaisseur repository:
git clone https://github.com/sse-secure-systems/connaisseur.git
Next, install Connaisseur via Helm:
helm install connaisseur helm --atomic --create-namespace --namespace connaisseur
Once installation has finished, you are good to go.
Successful verification can be tested via official Docker images like hello-world
:
kubectl run hello-world --image=docker.io/hello-world
Or our signed testimage
:
kubectl run demo --image=docker.io/securesystemsengineering/testimage:signed
Both will return pod/<name> created
. However, when trying to deploy an unsigned image:
kubectl run demo --image=docker.io/securesystemsengineering/testimage:unsigned
Connaisseur denies the request and returns an error (...) Unable to find signed digest (...)
. Since the images above are signed using Docker Content Trust, you can inspect the trust data using docker trust inspect --pretty <image-name>
.
To uninstall Connaisseur use:
helm uninstall connaisseur --namespace connaisseur
Congrats 🎉 you just validated the first images in your cluster! To get started configuring and verifying your own images and signatures, please follow our setup guide.
We hope to steer development of Connaisseur from demand of the community, are excited about your feedback and happy to help if you need support! So feel free to connect with us via GitHub Discussions.
We are always excited about direct contributions to improve the tool! Please refer to our contributing guide to learn how to contribute to Connaisseur.
We are grateful for any community support reporting vulnerabilities! How to submit a report is described in our Security Policy.
Thanks to all the fine people directly contributing commits/PRs to Connaisseur:
Big shout-out also to all who support the project via issues, discussions and feature requests 🙏
You can reach us via email under [email protected].