Trivy

Trivy

What is

Trivy

?

Trivy is an open-source security scanner that finds known vulnerabilities, misconfigurations, secrets, software licenses and dependency inventories in container images, filesystems, Git repositories, virtual machine images and Kubernetes.

At a glance

Attribute

Value

Primary use case

Security scanning of container images, filesystems, Git repositories, VM images and Kubernetes

Deployment type

Self-managed CLI (binary, Homebrew, Docker image)

Pricing model

Free, open source

Supported integrations

Including GitHub Actions, Kubernetes operator, VS Code plugin

Source type

Open

AEP branch

Tooling

AEP category

Security Plane

AEP subcategory

Scanning & Suites

Profile

Trivy is a command-line tool organised around targets, meaning what it scans, and scanners, meaning what it looks for. A user picks a target subcommand such as image, fs or k8s and can choose which scanners to run in one pass, for example vulnerabilities, secrets and misconfigurations together.

Focus

Teams use Trivy to catch security issues in code repositories, binary artifacts, container images and Kubernetes clusters, on a workstation or inside CI pipelines.

Background

Trivy is an Aqua Security open source project released under the Apache-2.0 license. It is managed as an independent open source project within the aquasecurity GitHub organization.

Features

Vulnerability scanning

Detects known vulnerabilities (CVEs) in OS packages and software dependencies, so teams can find exposed components before shipping.

IaC misconfiguration checks

Flags infrastructure as code issues and misconfigurations, helping teams fix insecure settings before they are deployed.

Secret detection

Finds sensitive information and secrets in scanned targets, reducing the risk of leaked credentials in code or images.

SBOM generation

Identifies the OS packages and software dependencies in use and produces a software bill of materials for inventory and audit.

License scanning

Reports software licenses found in dependencies, supporting license compliance reviews.

Kubernetes cluster scanning

Scans a running Kubernetes cluster for security issues, giving a view of risk across workloads rather than one image at a time.

Pros and cons

Pros

  • One scanner covers vulnerabilities, misconfigurations, secrets, licenses and SBOMs across images, code, VMs and clusters.

  • Apache-2.0 license makes it free to use, modify and embed in internal tooling.

  • Fits into existing workflows through CI actions, a Kubernetes operator and an editor plugin.

Cons

  • Self-managed: the team runs, updates and wires the scanner into its own pipelines and clusters.

  • Further capabilities for complete security management come from Aqua's separate commercial product built on top of Trivy, not from Trivy itself.

FAQs

What is Trivy?

Trivy is a security scanner that looks for vulnerabilities, misconfigurations, secrets, licenses and package inventories across several kinds of targets, from container images to Kubernetes clusters.

How much does Trivy cost?

Trivy is open source under the Apache-2.0 license, so it can be used and modified without charge. Aqua Security offers a separate commercial product that builds on Trivy.

How is Trivy deployed?

Teams run Trivy themselves. It can be installed with Homebrew, run as the aquasec/trivy Docker image or downloaded as a binary, and then used on a workstation or in CI.

What can Trivy scan, and which languages does it cover?

Trivy scans container images, filesystems, remote Git repositories, virtual machine images and Kubernetes. Its coverage extends to most popular programming languages, operating systems and platforms.

Which tools does Trivy integrate with?

Popular integrations include GitHub Actions, a Kubernetes operator and a VS Code plugin, alongside many other platforms and applications.

Who maintains Trivy?

Aqua Security backs Trivy, which runs as its own independent open source project inside Aqua's GitHub organization.

Table of contents

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.