Trivy
trivy.dev
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What Trivy is
Trivy is a free, Apache-2.0-licensed scanner for code repositories, binary artifacts, container images, and Kubernetes clusters. It checks for known vulnerabilities, configuration problems, exposed secrets, and license issues, and it can generate software bills of materials. Vulnerability checks cover operating-system and language-specific packages, some non-packaged software, and Kubernetes components. Infrastructure-as-code checks include Docker, Kubernetes, Terraform, and CloudFormation files, and users can write custom checks. Trivy supports ecosystems including Ruby, Python, PHP, Node.js, .NET, Java, Go, Rust, C/C++, Elixir, Dart, Swift, Julia, and operating-system packages. It can run as a binary in CI/CD without middleware or database dependencies, and it can operate in air-gapped environments. Official integrations include Azure DevOps Pipelines and GitHub Actions; an ecosystem listing also includes a VS Code plugin. Results can be exported in formats including JUnit XML, SARIF, and ASFF. Official installation options include Windows, macOS, Linux, FreeBSD, and a container image. Its vulnerability scanner does not support third-party or self-compiled packages and binaries, and may skip third-party packages.
Who it suits
Trivy suits development and security teams that need to scan repositories, images, artifacts, or Kubernetes environments, including in air-gapped settings. Its CI/CD integrations can suit teams using Azure DevOps or GitHub Actions.
Good to know, and what to watch
- Scans vulnerabilities, misconfigurations, secrets, and licenses.
- Generates software bills of materials.
- Runs in air-gapped environments.
- No middleware or database dependencies for binary CI/CD use.
- Does not support third-party or self-compiled packages and binaries.
- May skip third-party packages.
- Public plugins are not sandboxed or audited for security.
Plans
Every plan and priceTrivy
Free plan
Getting started
- Visit trivy.dev.
- Choose an official installation route such as a container image, GitHub release binary, package repository, Homebrew or Windows download.
- Install it on Windows, macOS, Linux or FreeBSD, or use the official container image.
- Add the official Azure DevOps Pipelines Task or GitHub Action to a pipeline if needed.
- Run scans and export results in a supported format such as JUnit XML, SARIF or ASFF.
Limits to check
The vulnerability scanner does not support third-party or self-compiled packages and binaries, and may skip third-party packages. Publicly available plugins are not audited for security and run with the user's permissions without sandboxing.
The verdict
Trivy covers several security scan types and deployment targets without requiring middleware or database dependencies for binary CI/CD use. Its package coverage limits and plugin security caveats are worth considering before adoption.
Questions people ask
How much does Trivy cost?
Trivy is free at no cost and is licensed under Apache-2.0.
What does Trivy scan?
It scans code repositories, binary artifacts, container images and Kubernetes clusters for vulnerabilities and misconfigurations. It also scans for secrets and license issues.
Can Trivy generate an SBOM?
Yes. Trivy supports generating software bills of materials.
Which platforms can I install it on?
Official installation options cover Windows, macOS, Linux and FreeBSD. Trivy is also available as an official container image.
Does it integrate with CI/CD tools?
Official integrations include an Azure DevOps Pipelines Task and a GitHub Action. The ecosystem documentation also lists community integrations and a VS Code plugin.
Is Trivy open source?
Yes. The Trivy homepage identifies it as Go software under the Apache-2.0 License.
What the maker publishes
- Air-gapped use
- Aqua says Trivy can run in air-gapped environments. source
- CI/CD integrations
- The ecosystem documentation lists an official Azure DevOps Pipelines Task and an official GitHub Action for integrating Trivy into pipelines. source
- CI integrations
- The docs list official Azure DevOps and GitHub Actions integrations, alongside community integrations for other CI systems. source
- Company
- Aqua Security says it was founded in 2015 and is headquartered in Boston and Ramat Gan, Israel. source
- Company
- Aqua says it was founded in 2015 and is headquartered in Boston and Ramat Gan, Israel. source
- Coverage limit
- The vulnerability scanner documentation says Trivy does not support third-party or self-compiled packages and binaries. source
- Database handling
- Trivy automatically fetches and maintains the security databases it needs for scans. source
- Deployment
- Aqua says Trivy can be installed as a binary for CI/CD and does not require middleware or database dependencies. source
- Founded
- 2015 source
- Headquarters
- Boston, Massachusetts, and Ramat Gan, Israel source
- IaC checks
- Built-in misconfiguration checks cover files such as Docker, Kubernetes, Terraform, and CloudFormation, and users can write custom checks. source
- IaC scanning
- Trivy provides infrastructure-as-code misconfiguration scanning. source
- IDE integrations
- The ecosystem docs list a VS Code plugin among Trivy integrations. source
- IDE integrations
- The integrations documentation lists official plugins for VS Code and JetBrains IDEs. source
- Install options
- Official installation options include container images, GitHub release binaries, package repositories, Homebrew, and Windows downloads. source
- Kubernetes integration
- Trivy Operator can be installed in a Kubernetes cluster to automatically and continuously scan workloads and the cluster for security issues. source
- License
- The Trivy homepage identifies the project as Go software under the Apache-2.0 License. source
- Maintainer support distinction
- The documentation says official integrations are developed and supported by the core Trivy team, while community integrations are not guaranteed to be secure or maintained. source
- Output formats
- Aqua says Trivy can export results in formats including JUnit XML, SARIF, and AWS Security Finding Format (ASFF). source
- Plugin security
- Trivy plugins run with the user's permissions and are not sandboxed; publicly available plugins are not audited for security. source
- Purpose
- Trivy scans code repositories, binary artifacts, container images, and Kubernetes clusters for vulnerabilities and misconfigurations. source
- SBOM
- Trivy supports generating software bills of materials (SBOMs). source
- SBOM
- Trivy supports SBOM output, which its documentation describes as an output format rather than a scanner. source
- Scanner types
- Trivy has vulnerability, misconfiguration, secret, and license scanners. source
Checked against the maker's pages on 4 Oct 2026.