
Trivy
Trivy is a free, Apache-2.0-licensed scanner for code repositories, binary artifacts, container images, and Kubernetes clusters.
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 errors, secrets, and license issues, and can generate software bills of materials. Vulnerability checks cover operating-system packages, language-specific packages, some non-packaged software, and Kubernetes components. Its supported ecosystems include Ruby, Python, PHP, Node.js, .NET, Java, Go, Rust, C/C++, Elixir, Dart, Swift, Julia, and operating-system packages. Configuration checks cover Docker, Kubernetes, Terraform, and CloudFormation files; users can also write custom checks. Trivy can run as a CI/CD binary without middleware or database dependencies, and it supports air-gapped environments. Official integrations include Azure DevOps and GitHub Actions, while the ecosystem documentation lists a VS Code plugin. Results can be exported in formats including JUnit XML, SARIF, and ASFF. Installation options include container images, release binaries, package repositories, Homebrew, and Windows downloads. The vulnerability scanner does not support third-party or self-compiled packages and binaries, and may skip third-party packages.
Good
- Free and licensed under Apache-2.0.
- Scans vulnerabilities, misconfigurations, secrets, and licenses.
- Can generate software bills of materials.
- Supports air-gapped environments.
- Exports results in JUnit XML and SARIF formats.
Watch out
- Does not support third-party or self-compiled packages and binaries.
- May skip third-party packages.
- Public plugins are not audited for security and are not sandboxed.
Who it suits
Trivy suits developers and security teams scanning code, containers, or Kubernetes environments for vulnerabilities and misconfigurations. It also fits teams that need SBOM generation or CI/CD integration.
Verdict
Trivy covers several scan types and deployment contexts, including air-gapped use and CI/CD pipelines. Its stated package coverage limits and plugin security cautions matter when deciding what to include in a scan.
Plans and prices
From Trivy's own pricing page, checked 4 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Trivy | Free | Apache-2.0 licensed open-source scanner |
The facts
Each one read from Trivy's own pages, with the date it was checked.
Where it runs
- Air-gapped use
- Aqua says Trivy can run in air-gapped environments.checked 4 Oct 2026
- Supported installation platforms
- Official installation options include Windows, macOS, Linux, and FreeBSD; Trivy is also available as an official container image.checked 4 Oct 2026
What it does
- CI/CD integrations
- The ecosystem documentation lists an official Azure DevOps Pipelines Task and an official GitHub Action for integrating Trivy into pipelines.checked 4 Oct 2026
- CI integrations
- The docs list official Azure DevOps and GitHub Actions integrations, alongside community integrations for other CI systems.checked 4 Oct 2026
- Coverage limit
- The vulnerability scanner documentation says Trivy does not support third-party or self-compiled packages and binaries.checked 4 Oct 2026
- Database handling
- Trivy automatically fetches and maintains the security databases it needs for scans.checked 4 Oct 2026
- Deployment
- Aqua says Trivy can be installed as a binary for CI/CD and does not require middleware or database dependencies.checked 4 Oct 2026
- IaC checks
- Built-in misconfiguration checks cover files such as Docker, Kubernetes, Terraform, and CloudFormation, and users can write custom checks.checked 4 Oct 2026
- IaC scanning
- Trivy provides infrastructure-as-code misconfiguration scanning.checked 4 Oct 2026
- IDE integrations
- The integrations documentation lists official plugins for VS Code and JetBrains IDEs.checked 4 Oct 2026
- Install options
- Official installation options include container images, GitHub release binaries, package repositories, Homebrew, and Windows downloads.checked 4 Oct 2026
- Kubernetes integration
- Trivy Operator can be installed in a Kubernetes cluster to automatically and continuously scan workloads and the cluster for security issues.checked 4 Oct 2026
- License
- The Trivy homepage identifies the project as Go software under the Apache-2.0 License.checked 4 Oct 2026
- 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.checked 4 Oct 2026
- Output formats
- Aqua says Trivy can export results in formats including JUnit XML, SARIF, and AWS Security Finding Format (ASFF).checked 4 Oct 2026
- Plugin security
- Trivy plugins run with the user's permissions and are not sandboxed; publicly available plugins are not audited for security.checked 4 Oct 2026
- Purpose
- Trivy scans code repositories, binary artifacts, container images, and Kubernetes clusters for vulnerabilities and misconfigurations.checked 4 Oct 2026
- SBOM
- Trivy supports SBOM output, which its documentation describes as an output format rather than a scanner.checked 4 Oct 2026
- Scanner types
- Trivy has vulnerability, misconfiguration, secret, and license scanners.checked 4 Oct 2026
- Secrets scanning
- Trivy includes a secret scanner.checked 4 Oct 2026
- Vulnerability coverage
- It detects known vulnerabilities in operating-system packages, language-specific packages, some non-packaged software, and Kubernetes components.checked 4 Oct 2026
The company
- Company
- Aqua says it was founded in 2015 and is headquartered in Boston and Ramat Gan, Israel.checked 4 Oct 2026
- Founded
- 2015checked 28 Sep 2026
- Headquarters
- Boston, Massachusetts, and Ramat Gan, Israelchecked 28 Sep 2026
The full review of Trivy
Trivy is an open-source security scanner for repositories, artifacts, containers and Kubernetes. It suits teams that want vulnerability and configuration checks in developer workflows or self-hosted environments. Its breadth and zero price are compelling, but package blind spots and plugin risks call for care.
Overview
Trivy combines vulnerability, misconfiguration, secret and license scanning with SBOM generation. It can examine operating-system and language packages, some non-packaged software, Kubernetes components, and infrastructure-as-code files. That range makes it useful across development and deployment, rather than only for container images.
The Apache-2.0-licensed project is Go software. Trivy automatically fetches and maintains the security databases used for scans, and can run as a CI/CD binary without middleware or database dependencies. It also supports air-gapped environments, a practical advantage for isolated networks.
Key features
Scanning and reporting
Built-in IaC checks cover Docker, Kubernetes, Terraform and CloudFormation, and users can write custom checks. Trivy can generate SBOMs and export results in formats such as JUnit XML, SARIF and AWS Security Finding Format. These options suit teams that need findings to feed existing reporting or security processes.
Workflow integrations
Official integrations include a GitHub Action and an Azure DevOps Pipelines Task; the ecosystem also includes a VS Code plugin and community integrations for other CI systems. Trivy Operator can continuously scan Kubernetes workloads and the cluster. The distinction between official and community integrations matters: the core team supports the former, while community integrations are not guaranteed to be maintained or secure.
Coverage and security cautions
Trivy focuses on packages from official operating-system vendors and may skip third-party packages. Its vulnerability scanner does not support third-party or self-compiled packages and binaries, so teams with custom or externally sourced software should not treat a clean scan as complete coverage.
Plugins run with the user's permissions and are not sandboxed, and publicly available plugins are not audited for security. That makes plugin selection a security decision, not a harmless way to add features.
Pricing
Trivy — free. The free plan is the Apache-2.0-licensed open-source scanner, with no free trial. There are no paid tiers or plan quotas in the stated offering. It is a strong fit for teams able to operate and integrate a self-hosted scanner; readers seeking a paid, packaged service should compare commercial alternatives instead.
Platforms
Official installation options cover Linux, macOS, Windows and FreeBSD, with container images, release binaries, package repositories, Homebrew and Windows downloads. Trivy is also available as a self-hosted deployment. That choice of installation route makes it adaptable to developer machines and pipeline environments.
Who it's for
Trivy is best for engineering and security teams that want a broad set of scanners at no license cost, especially those working with containers, Kubernetes, IaC or CI/CD. Its air-gapped support and minimal deployment dependencies suit constrained environments. It is less suitable as the sole vulnerability check where third-party or self-compiled packages are important, or where teams cannot safely assess unsandboxed plugins.
Pros and cons
- Pro: Vulnerability, secret, license and IaC scanning plus SBOM generation cover several security tasks in one open-source tool.
- Pro: CI integrations, Kubernetes Operator support, air-gapped operation and dependency-light binary deployment support varied workflows.
- Pro: The free Apache-2.0 license avoids per-scan charges in the stated plan.
- Con: Unsupported third-party and self-compiled packages can leave meaningful vulnerability coverage gaps.
- Con: Unsandboxed, unaudited public plugins introduce risk when granted the user's permissions.
- Con: Community integrations lack the support and security assurance of official integrations.
Alternatives
Grype is another free, Apache-2.0-licensed vulnerability scanner for Linux, macOS, Windows and self-hosted use. Choose it when you want a free vulnerability-scanning alternative; Trivy is the better fit when its additional scanner types, SBOM generation or listed integrations matter.
Google Artifact Analysis charges $0.26 per scan for automatic scanning, with subsequent scans of the same image free, and $0.26 per scan for on-demand scanning. Consider it when a paid, per-scan model fits better than Trivy's free self-hosted scanner.
Aqua Container Security is a paid option with a free trial and custom pricing. Sonatype Container Scanner is a paid option for Windows and Linux. RapidFort offers a free plan with five curated near-zero-CVE images from a limited catalog, daily rebuilds and patching, and Alpine, Debian, UBI and Ubuntu LTS images. Checkmarx Container Security is a paid web-based option. Alibaba Cloud Container Registry offers free and freemium registry plans. Sysdig Secure is a paid option licensed by host count, or compute instances for CSPM.
For category comparisons, see Container Image Scanning Tools, Container Security Software, Software Composition Analysis Software, Infrastructure as Code Security Software and Cloud Vulnerability Scanners.
Verdict
Choose Trivy if you want a capable, free scanner spanning code, packages, containers, Kubernetes and IaC, with flexible deployment and workflow integrations. Its main trade-off is incomplete coverage for third-party and self-compiled packages; teams exposed to those components should pair it with another check or choose a tool whose coverage meets that need.
Getting started
- Install Trivy using a container image, release binary, package repository, Homebrew, or Windows download
- Run scans against repositories, binaries, container images, or Kubernetes targets
- Enable vulnerability, misconfiguration, secret, or license scanning as needed
- Add the official Azure DevOps task or GitHub Action to a CI/CD pipeline
- Export findings in JUnit XML, SARIF, or ASFF when required
Limits worth knowing
The vulnerability scanner does not support third-party or self-compiled packages and binaries, and it may skip third-party packages. Plugins are not sandboxed and run with the user's permissions.
Questions
Does Trivy cost anything?
No. Trivy is listed as free and is licensed under Apache-2.0.
Which operating systems support Trivy?
Official installation options cover Linux, macOS, Windows, and FreeBSD; self-hosted deployment is also supported.
Can Trivy generate an SBOM?
Yes. Trivy supports software bill of materials generation.
Does Trivy integrate with CI/CD?
Yes. Official integrations include an Azure DevOps Pipelines Task and a GitHub Action.
Can Trivy run without internet access?
Aqua says Trivy can run in air-gapped environments.
Alternatives to Trivy
- 1
DeepFilterNet
Free planOpen sourceAPILinuxmacOSSelf-hosted7.6Free plan - 2

Endor Labs
Free planWebAPIExtensionLinux7.4Free plan - 3
Grype
Free planOpen sourceLinuxmacOSSelf-hostedWindows7.4Free plan - 4

Scantist
Free planWebAPISelf-hosted7.3$200 one-time - 5

Snyk Open Source
Free planWebAPILinuxmacOS7.3From $25 a month - 6

Socket
Free planWebAPIExtensionLinux7.2From $25 a month
