maartenjan.dev

Hi! I'm Maarten-Jan, a Software Engineer focused on Java, Kotlin, Event Sourcing, Kubernetes and of course Bash! I sometimes write down what I do.

Trivy Cluster Operator

With regard to application life cycle management, vulnerability scanning is important. There are many vulnerability scanning tools, but a tool I came into contact a while back that can do this is Trivy. Other tools are probably excellent as well, but what I like about Trivy is that it can be run as an operator in your Kubernetes cluster, and scan every workload you run (in your test environment for example). I prefer this setupas opposed to to running vulnerability scans during builds for several reasons:

So how to set this up? What we've done myself, in general terms:

For detailed instructions, one should visit the Trivy website. All in all, the Trivy Cluster operator can be a helpful tool in your life cycle management flow. I recommend it!