Trivy Operator is a Kubernetes Operator for scheduled scans of images and an Admission Control.
1M+
Trivy Operator is a Kubernetes Operator for scheduled scans of images and an Admission Control
Inspirated by knqyf263's trivy-enforcer and fleeto's trivy-scanner.
Dockerfile linksSee Github Repo
Default every 5 minutes execute a scan script. It will get image list from all namespaces with the label trivy-scan=true, and then scan these images with trivy. Finally we will get metrics on http://[pod-ip]:9115/metrics
The admission controller function can be configured as a ValidatingWebhook in a k8s cluster. Kubernetes will send requests to the admission server when a Pod creation is initiated. The admission controller checks the image using trivy if it is in a namespace with the label trivy-operator-validation=true.
Content type
Image
Digest
sha256:d470374df…
Size
348 MB
Last updated
over 3 years ago
docker pull devopstales/trivy-operator:2.4