Sign inSign up

devopstales/trivy-operator

By devopstales

Updated over 3 years ago

Trivy Operator is a Kubernetes Operator for scheduled scans of images and an Admission Control.

Image
1

1M+

devopstales/trivy-operator repository overview

Trivy Operator

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.

See Github Repo

Simple Tags

Schefuled Image scans

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

Trivy Image Validator

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.

Tag summary

Content type

Image

Digest

sha256:d470374df

Size

348 MB

Last updated

over 3 years ago

docker pull devopstales/trivy-operator:2.4