I am implementing Trivy as part of my DevSecOps process in the CSCD pipelines to scan my container applications and container images.
Trivy is an open-source security tool known for its seamless integration with CI/CD pipelines and support for systems like Kubernetes and Docker, focusing on detecting vulnerabilities, secrets, and misconfigurations.

| Author info | Rating | Review Summary |
|---|---|---|
| Senior Engineering Manager at Ninjacart | 4.5 | I use Trivy in my DevSecOps process to scan container applications and images in Kubernetes, identifying vulnerabilities and expired libraries. While integrated with Grafana for metrics, I also use ClamAV for malware detection, wishing for a single-tool solution. |

I am implementing Trivy as part of my DevSecOps process in the CSCD pipelines to scan my container applications and container images.
I can see vulnerabilities in the images of any applications deployed in the Kubernetes environment or as container applications.
Prior to deploying to production, I can identify the vulnerabilities and find ways to fix them. I can check for any libraries that are expired, and it also performs dependency checks, allowing me to fix these issues before making my production system vulnerable.
I have integrated this with Grafana as part of my observability stack. I use Grafana as an observability stack and have integrated this report with it. I am able to see those metrics from there.
For malware detection, I need to use two tools: Trivy as my anomaly scanner and ClamAV. I am integrating these two tools into the CI pipeline. If both malware and anomaly detection could be managed by one tool, I would not need to depend on two tools. That would be my suggestion.
I have been using Trivy for one year.
The solution is stable.
I have multiple pods, and an auto-scaler is enabled.
Internally, we have a cybersecurity specialization team in my office. I don't see much critical difference as they are aware of these things.
Positive
Previously, I used Trivy and OpenVAS.
I didn't encounter any issues since Trivy is open-source and provided all-in-one packages like Helm charts and supported documentation. It was straightforward for me. I spent time understanding the industry and completed my cybersecurity certification from IIM, where I learned about using Trivy and OpenVAS. This experience helped me become familiar with Trivy. I didn't face many challenges since I have a solid understanding of Kubernetes and authorization.
I considered OpenVAS, which is user-friendly for container applications. However, OpenVAS is primarily based on virtual machines, designed mainly for virtual missions and on-premises setups.
I definitely recommend Trivy. Many companies are migrating to container platforms. It integrates well with observability stacks like ELK or Grafana Datadog. I advise using these tools for observability integration. I'd rate the solution nine out of ten.
| Product | Mindshare (%) |
|---|---|
| Trivy | 2.2% |
| Wiz | 8.7% |
| Prisma Cloud by Palo Alto Networks | 7.5% |
| Other | 81.6% |
| Company Size | Count |
|---|---|
| Small Company | 3 |
| Midsize Company | 1 |
| Large Company | 8 |
| Company Size | Count |
|---|---|
| Small Company | 252 |
| Midsize Company | 147 |
| Large Company | 501 |
Trivy offers extensive scanning capabilities, setting up easily with minimal configuration. It keeps users updated with real-time database updates and supports multi-output structures for comprehensive security testing. It complies with standards like NIST, enhancing reliability by detecting security issues that manual checks might miss. Challenges include the customization of reporting, scan speed for layered images, and the need for dynamic runtime scanning. It's noted for lacking PDF export and integration with AWS and GCP, and users seek enhanced database support to address GitHub-related issues.
What are Trivy's key features?Trivy is predominantly used by IT teams in industries focusing on Docker image and container security, integrated within CI/CD pipelines and Kubernetes environments. Within DevSecOps processes, it aids in infrastructure scanning, identifying CVEs, malware, and open secrets, while visualization on platforms like Grafana helps maintain visibility over software environments.