Freedom251 › Container Image Scanning Tools
Trivy

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 vulnerabilities, infrastructure-as-code misconfigurations, 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. Supported ecosystems include Ruby, Python, PHP, Node.js, .NET, Java, Go, Rust, C/C++, Elixir, Dart, Swift, Julia, and operating-system packages. Built-in configuration checks cover Docker, Kubernetes, Terraform, and CloudFormation files, with custom checks also supported. Trivy 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; the ecosystem also 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. 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 developers and security teams scanning software artifacts, repositories, or Kubernetes environments, including teams integrating checks into CI/CD. It also fits users who need air-gapped operation or SBOM generation.
What it does well
- Scans vulnerabilities, misconfigurations, secrets, and licenses.
- Generates software bills of materials.
- Supports custom infrastructure-as-code checks.
- Runs in air-gapped environments.
- Exports results as JUnit XML, SARIF, and ASFF.
What to know first
- Does not support third-party or self-compiled packages and binaries.
- May skip third-party packages.
- Public plugins are not audited for security.
- Plugins run with user permissions and are not sandboxed.
Limits
The vulnerability scanner does not support third-party or self-compiled packages and binaries, and it may skip third-party packages. The free Trivy plan is listed as free.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Trivy | Apache-2.0 licensed open-source scanner | Free |
As trivy.dev lists them, read 4 Oct 2026. The maker's own page has the final word.
Getting started
- Visit the Trivy website.
- Choose an installation route such as a container image, release binary, package repository, Homebrew, or Windows download.
- Install Trivy on Linux, macOS, Windows, or as a self-hosted deployment.
- Connect it to a CI/CD pipeline using the official Azure DevOps or GitHub Actions integration, if needed.
- Run scans and choose an available output format such as JUnit XML, SARIF, or ASFF.
Trivy is a free, open-source scanner for vulnerabilities, secrets, licenses and infrastructure misconfigurations across software and Kubernetes. It suits teams that want security checks in development pipelines or self-hosted environments. Its range of scan types and deployment options is useful, but package blind spots and plugin risks make careful configuration important.
Overview
Trivy covers repositories, binary artifacts, container images and Kubernetes clusters, and can generate software bills of materials. Its vulnerability scanner detects known issues in operating-system and language packages, some non-packaged software, and Kubernetes components. That breadth makes it relevant beyond container scanning, though it is not a complete inventory of every binary: third-party and self-compiled packages and binaries are unsupported, and third-party packages may be skipped.
The Go project uses the Apache-2.0 license. Trivy maintains the security databases it needs by fetching them automatically. It can run as a CI/CD binary without middleware or database dependencies and supports air-gapped environments, which suits teams with isolated infrastructure or a preference for a lightweight self-hosted deployment.
Key features
Multiple scanner types
Alongside vulnerability scanning, Trivy includes secret, license and infrastructure-as-code scanners. Built-in configuration checks cover Docker, Kubernetes, Terraform and CloudFormation files, and teams can write custom checks. This gives development and security teams several kinds of checks in one tool; package coverage remains the important caveat for vulnerability findings.
Reporting and integrations
Trivy generates SBOMs and can export results in formats including JUnit XML, SARIF and AWS Security Finding Format. Those formats can fit existing reporting and security workflows. Official pipeline integrations include a GitHub Action and Azure DevOps Pipelines Task, while the ecosystem also includes a VS Code plugin. The documentation distinguishes core-team-supported official integrations from community integrations, whose security and maintenance are not guaranteed.
Trivy Operator can be installed in a Kubernetes cluster to scan workloads and the cluster continuously. That is a useful option for teams managing Kubernetes in-cluster, rather than a substitute for checking software outside that environment.
Installation and security trade-offs
Official installation options include container images, release binaries, package repositories, Homebrew and Windows downloads. Supported platforms include Linux, macOS, Windows and FreeBSD, alongside self-hosted deployment. The broad choice makes it practical to fit into varied environments. Plugins need more caution: they run with the user's permissions, are not sandboxed, and publicly available plugins are not audited for security.
Pricing
Trivy's plan costs free. It is an Apache-2.0-licensed open-source scanner, with no paid tier or free trial. That makes it a strong fit for teams seeking scanning without a software fee, especially those able to operate it themselves. There are no published seat or scan quotas to weigh, but the free plan does not remove the need to account for its package-coverage limits or evaluate third-party plugins carefully.
Platforms
Trivy supports Linux, macOS, Windows and FreeBSD, and is also distributed as an official container image. It can be deployed self-hosted as a binary or in a Kubernetes cluster through Trivy Operator. This range is useful for teams spanning developer machines, build pipelines and Kubernetes, while air-gapped support accommodates isolated environments.
Who it's for
Trivy is a good choice for development and security teams that want one free tool for vulnerability, secret, license and configuration checks, SBOM generation, and pipeline integration. It is particularly suitable when self-hosted operation, air-gapped use or Kubernetes scanning matters. Teams whose software depends on third-party or self-compiled packages should not treat its vulnerability results as comprehensive. Those considering plugins should also account for the fact that they run unsandboxed with user permissions.
Pros and cons
- Pros: Free and Apache-2.0 licensed, with vulnerability, secret, license and misconfiguration scanning plus SBOM generation in one tool.
- Pros: Runs without middleware or database dependencies, supports air-gapped environments, and offers official integrations for GitHub Actions and Azure DevOps Pipelines.
- Pros: Trivy Operator supports automatic, continuous scanning of Kubernetes workloads and the cluster.
- Cons: Third-party and self-compiled packages and binaries are unsupported, and third-party packages may be skipped, limiting vulnerability coverage.
- Cons: Plugins are not sandboxed, inherit user permissions and are not audited for security.
- Cons: Community integrations are not guaranteed to be secure or maintained.
Alternatives
Grype is another free, Apache-2.0-licensed open-source vulnerability scanner; choose it if you want a focused vulnerability-scanning alternative to Trivy's broader scanner set.
Kubescape offers an Apache 2.0-licensed, self-hosted open-source option with a CLI and Kubernetes operator; consider it when those are the capabilities you want to compare.
Intruder has a free plan capped at five infrastructure targets, excludes web apps, and includes weekly external scans and one connected cloud account; choose it if those limits and its infrastructure focus suit your needs.
Mondoo CSPM has free open-source tools for cloud, Kubernetes, OS, SaaS and API scanning, with a Kubernetes operator and extensible provider system; consider it for that broader stated scan scope.
Prowler Cloud offers a 15-day free trial with no cloud account limit and access to every check and compliance framework; it may suit a time-limited evaluation of those capabilities.
Cy5 Cloud-Native Vulnerability Management is an alternative with web access and three named plans.
Qualys TotalCloud offers a free license with limited API calls for control evaluation; consider it if that evaluation use is the priority.
RapidFort offers five curated near-zero-CVE images from a limited catalog, with daily rebuilds and patching; choose it if ready-to-use container images are your focus rather than broad scanning.
Compare more options in Cloud Vulnerability Scanners, Container Image Scanning Tools, Container Security Software, Infrastructure as Code Security Software and Software Composition Analysis Software.
Verdict
Choose Trivy if you want a free, self-hosted scanner that spans several security checks, generates SBOMs and can fit into CI/CD or Kubernetes workflows. Its strongest case is breadth without a software fee or infrastructure dependencies. Look elsewhere, or supplement its coverage, if you need dependable vulnerability detection for third-party or self-compiled packages; use plugins only when you accept their unsandboxed security model.
Verdict
Trivy combines several scanner types with broad installation and integration options, and it can generate SBOMs. Its documented package-coverage and plugin-security limitations matter when deciding what to scan and which integrations to use.
Questions
Is Trivy free?
Yes. Its listed plan is free, and it is licensed under Apache-2.0.
What does Trivy scan?
It scans code repositories, binary artifacts, container images, and Kubernetes clusters for security issues.
Which platforms can run Trivy?
Listed platforms include Linux, macOS, Windows, and self-hosted deployments. Official installation options also include FreeBSD and a container image.
Can Trivy generate an SBOM?
Yes. Trivy supports generating software bills of materials.
Which CI integrations are official?
The official integrations include an Azure DevOps Pipelines Task and a GitHub Action.
What is Trivy's vulnerability coverage limit?
The scanner does not support third-party or self-compiled packages and binaries, and it may skip third-party packages.
Facts from Trivy's own pages
- Air-gapped use
- Aqua says Trivy can run in air-gapped environments. · aquasec.com, 4 Oct 2026
- CI/CD integrations
- The ecosystem documentation lists an official Azure DevOps Pipelines Task and an official GitHub Action for integrating Trivy into pipelines. · trivy.dev, 4 Oct 2026
- CI integrations
- The docs list official Azure DevOps and GitHub Actions integrations, alongside community integrations for other CI systems. · trivy.dev, 4 Oct 2026
- Company
- Aqua says it was founded in 2015 and is headquartered in Boston and Ramat Gan, Israel. · aquasec.com, 4 Oct 2026
- Coverage limit
- The vulnerability scanner documentation says Trivy does not support third-party or self-compiled packages and binaries. · trivy.dev, 4 Oct 2026
- Database handling
- Trivy automatically fetches and maintains the security databases it needs for scans. · trivy.dev, 4 Oct 2026
- Deployment
- Aqua says Trivy can be installed as a binary for CI/CD and does not require middleware or database dependencies. · aquasec.com, 4 Oct 2026
- Founded
- 2015 · trivy.dev, 28 Sept 2026
- Headquarters
- Boston, Massachusetts, and Ramat Gan, Israel · trivy.dev, 28 Sept 2026
- IaC checks
- Built-in misconfiguration checks cover files such as Docker, Kubernetes, Terraform, and CloudFormation, and users can write custom checks. · trivy.dev, 4 Oct 2026
- IaC scanning
- Trivy provides infrastructure-as-code misconfiguration scanning. · aquasec.com, 4 Oct 2026
- IDE integrations
- The integrations documentation lists official plugins for VS Code and JetBrains IDEs. · trivy.dev, 4 Oct 2026
- Install options
- Official installation options include container images, GitHub release binaries, package repositories, Homebrew, and Windows downloads. · trivy.dev, 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. · trivy.dev, 4 Oct 2026
- License
- The Trivy homepage identifies the project as Go software under the Apache-2.0 License. · trivy.dev, 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. · trivy.dev, 4 Oct 2026
- Output formats
- Aqua says Trivy can export results in formats including JUnit XML, SARIF, and AWS Security Finding Format (ASFF). · aquasec.com, 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. · trivy.dev, 4 Oct 2026
- Purpose
- Trivy scans code repositories, binary artifacts, container images, and Kubernetes clusters for vulnerabilities and misconfigurations. · trivy.dev, 4 Oct 2026
- SBOM
- Trivy supports SBOM output, which its documentation describes as an output format rather than a scanner. · trivy.dev, 4 Oct 2026
- Scanner types
- Trivy has vulnerability, misconfiguration, secret, and license scanners. · trivy.dev, 4 Oct 2026
- Secrets scanning
- Trivy includes a secret scanner. · trivy.dev, 4 Oct 2026
- Supported installation platforms
- Official installation options include Windows, macOS, Linux, and FreeBSD; Trivy is also available as an official container image. · trivy.dev, 4 Oct 2026
- Vulnerability coverage
- It detects known vulnerabilities in operating-system packages, language-specific packages, some non-packaged software, and Kubernetes components. · trivy.dev, 4 Oct 2026
Where Trivy stands on Freedom251
- Container Image Scanning Tools#8 of 29
- Vulnerability Scanner Software#8 of 29
- Cloud Vulnerability Scanners#10 of 28
- Container Security Software#12 of 26
- Software Composition Analysis Software#32 of 65
- IaC Security Scanners#10 of 16
- Infrastructure as Code Security Software#16 of 22
