No entries match these filters. Clear filters
Trivy adds a full cryptographic asset scanning subsystem to the image command with CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. output, ML-DSA ML-DSA NIST's main post-quantum digital signature standard (FIPS 204), formerly Dilithium. It is the planned replacement for RSA and ECDSA signatures on certificates and code. support, and client/server transfer.
Adds a cryptographic asset scanner to the image command, surfacing keys, certificates, and signature algorithms in scan results. Not checked yet Outputs cryptographic assets in CycloneDX SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. format. Not checked yet Supports ML-DSA keys and signature algorithms in the crypto analyzer. Not checked yet Transfers cryptographic assets in client/server mode. Not checked yet Allows disabling configuration files by setting their path to an empty string. Not checked yet
+1 more
show less
Reports unparsable license names with UNKNOWN severity instead of silently dropping them. Not checked yet
6 details in Everything
Trivy gains a cryptographic asset scanner with CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. output, ML-DSA ML-DSA NIST's main post-quantum digital signature standard (FIPS 204), formerly Dilithium. It is the planned replacement for RSA and ECDSA signatures on certificates and code. key support, and uv workspace lockfile parsing.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄
Adds a cryptographic asset model, parser, and analyzer that scans images and passes discovered assets to the scan report via the image command.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄ Not checked yet Outputs cryptographic assets in CycloneDX format and transfers them in client/server mode. Not checked yet Supports ML-DSA keys and signature algorithms in cryptographic asset descriptions. Not checked yet Adds vulnerability detection for Echo-patched Python packages. Not checked yet Supports uv workspace lockfiles. Not checked yet
+3 more
show less
Allows disabling configuration files with empty paths. Not checked yet Reports unparsable license names with UNKNOWN severity. Not checked yet Classifies julia, bottlerocket, and centos stream packages. Not checked yet
Adds a cryptographic asset model, parser, and analyzer that scans images and passes discovered assets to the scan report via the image command.︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄ Not checked yet Outputs cryptographic assets in CycloneDX format and transfers them in client/server mode. Not checked yet Supports ML-DSA keys and signature algorithms in cryptographic asset descriptions. Not checked yet Supports uv workspace lockfiles. Not checked yet
4 more in Everything
Trivy 0.75.0 adds cryptographic asset scanning to image commands with CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. output support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.75.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.75.0
└──▷ TRY IT
Scan an image for cryptographic assets like ML-DSA ML-DSA NIST's main post-quantum digital signature standard (FIPS 204), formerly Dilithium. It is the planned replacement for RSA and ECDSA signatures on certificates and code. keys and export the findings.
copy
$ trivy image --format cyclonedx --scan-crypto <image_name>
Run a scan without loading any configuration files by specifying empty paths.
copy
$ trivy image --config "" --policy "" <image_name>
image command now scans for cryptographic assets using a new crypto scanner engine Not checked yet Cryptographic assets are parsed and passed to the scan report Not checked yet Cryptographic assets can be described as ML-DSA keys and signature algorithms Not checked yet Cryptographic assets can be transferred in client/server mode Not checked yet Output of cryptographic assets is now supported in CycloneDX format Not checked yet
+1 more
show less
Configuration files can be disabled by passing empty paths via CLI Not checked yet
6 details in Everything
└──▷ BREAKING ON UPGRADE
! The getHostByName function has been removed from templates
Trivy v0.72.0 adds Bottlerocket scanning, OpenAI/GitHub App secret rules, .NET self-contained runtime detection, and JAR license extraction.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.72.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.72.0
└──▷ TRY IT
Scan a Bottlerocket-based container image for OS-level CVEs — now matched against the Bottlerocket advisory database.
copy
$ trivy image --scanners vuln <bottlerocket-based-image>
Audit a self-contained .NET binary or publish directory for vulnerabilities in the bundled runtime, not just your app dependencies.
copy
$ trivy fs --scanners vuln <path/to/self-contained-dotnet-publish/>
Scan a codebase for leaked OpenAI API keys and the new stateless GitHub App installation token format alongside other secrets.
copy
$ trivy fs --scanners secret <your-repo-path/>
Adds vulnerability matching for Bottlerocket OS images. Not checked yet Detects bundled .NET runtime in self-contained deployments, enabling CVE scanning of apps that ship their own runtime. Not checked yet Adds OpenAI secret detection rules to the secrets scanner. Not checked yet Adds detection of the new stateless format for GitHub App installation tokens in secrets scanning. Not checked yet Extracts JAR licenses from embedded pom.xml files for more complete Java license inventory. Not checked yet
+2 more
show less
Extracts JAR licenses from packaged LICENSE files inside JARs. Not checked yet Extends AVD-AWS-0010 misconfiguration check to cover CloudFront standard logging v2. Not checked yet
7 details in Everything
advisory CVE-2026-55092
Jun 15, 2026
·
issue 070
CVE-2026-55092: Path traversal via a crafted vulnerability database or other downloaded artifacts (CVSS CVSS Common Vulnerability Scoring System, a method for describing a vulnerability's characteristics and severity. Its score is not the probability that attackers will exploit it. 7.5, affects <0.71.1)︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄ Not checked yet
Trivy v0.71.0 adds CycloneDX 1.7 CycloneDX 1.7 An OWASP-maintained Software Bill of Materials standard and schema; version 1.7 adds attestations and evidence fields, giving cyber tools a richer, machine-readable format for expressing supply-chain trust claims. , Azure secret rules, Maven secret detection, customizable secret scan skip lists, and Ubuntu 26.04 support.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.71.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.71.0
└──▷ TRY IT
Generate a CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. 1.7 SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. from a container image to take advantage of the latest spec features.
copy
$ trivy image --format cyclonedx --output sbom.cdx.json python:3.12-slim
Scan a project for secrets while skipping a custom secrets config file, vendor directories, and specific extensions you know are safe.
copy
$ trivy fs --scanners secret myproject/
Supports CycloneDX 1.7 SBOM format for both input and output. Not checked yet Adds SHA-512 SHA-512 A cryptographic hash function in the SHA-2 family, standardized by NIST, that produces a 512-bit digest. Cyber tools use it for integrity verification and password hashing where collision resistance matters. hash algorithm support to the SPDX SPDX An open standard for describing software components, licenses and their relationships. Its documents let different tools exchange a software bill of materials without inventing a new format. serializer. Not checked yet New Azure secret detection rules covering Azure credentials and tokens. Not checked yet New Maven secret detection rules for passwords and passphrases in settings.xml and settings-security.xml. Not checked yet Enables customization of folders, files, and extensions skipped during secret scanning secret scanning Checking files, code or other data for exposed credentials such as passwords, API keys and tokens. Findings help teams remove the secret and revoke or rotate it. . Not checked yet
+3 more
show less
Supports Maven <mirrors> configuration from settings.xml when scanning pom.xml dependencies. Not checked yet Detects Ubuntu 26.04 LTS as a recognized OS target. Not checked yet Adds vendor directory support for language file detection in SEAL scanning. Not checked yet
8 details in Everything
Trivy 0.71.0 adds secret scan customization, CycloneDX 1.7 CycloneDX 1.7 An OWASP-maintained Software Bill of Materials standard and schema; version 1.7 adds attestations and evidence fields, giving cyber tools a richer, machine-readable format for expressing supply-chain trust claims. , Ubuntu 26.04 detection and language file seal support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.71.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.71.0
Adds WithDriver and WithProvider options to the ospkg detector for custom operating system package sources Not checked yet Supports <mirrors> directives from Maven settings.xml during Java dependency scanning Not checked yet Enables CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. 1.7 format output in SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. generation Not checked yet Adds vendor support for language file detection within the seal subsystem Not checked yet Allows customization of skipped folders, files, and extensions in secret scanning secret scanning Checking files, code or other data for exposed credentials such as passwords, API keys and tokens. Findings help teams remove the secret and revoke or rotate it. via new configuration options Not checked yet
+4 more
show less
Adds Azure-specific secret detection rules to the secret scanner engine Not checked yet Adds Maven-specific rules to detect passwords and passphrases in settings.xml and settings-security.xml Not checked yet Adds SHA-512 SHA-512 A cryptographic hash function in the SHA-2 family, standardized by NIST, that produces a 512-bit digest. Cyber tools use it for integrity verification and password hashing where collision resistance matters. hash algorithm support to the SPDX SPDX An open standard for describing software components, licenses and their relationships. Its documents let different tools exchange a software bill of materials without inventing a new format. serializer output format Not checked yet Adds detection capability for Ubuntu 26.04 LTS operating system Not checked yet
9 details in Everything
Trivy 0.70.0 adds pylock.toml parsing, ARM ARM A family of RISC processor architectures designed by Arm Holdings and licensed to chip makers worldwide; tools target it to run natively on mobile, embedded, and increasingly server and desktop hardware. K8s K8s Shorthand for Kubernetes, the open-source container orchestration system originally from Google; cyber tools use it to deploy, scale, and manage containerized workloads across clusters. misconf support, and server version in JSON output
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.70.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.70.0
Add pylock.toml (PEP 751 PEP 751 A draft Python packaging standard that defines a lock file format for recording exact dependency versions, giving cyber tools a reproducible, machine-readable way to pin their dependency trees. ) parser for Python dependency resolution Not checked yet Detect Go version from ELF ELF The standard binary format for executables, shared libraries, and object files on Linux and most Unix-like systems, giving cyber tools a predictable structure to parse, instrument, or analyze compiled code. symbol table for binaries built with -trimpath Not checked yet Include server version info in JSON output for client/server mode Not checked yet Support azurerm_network_interface_security_group_association in misconf scanning Not checked yet Adapt misconf rules for ARM-based Kubernetes clusters Not checked yet
5 details in Everything
Trivy 0.69.0 adds Julia scanning, Ansible misconf support, AnalyzedBy JSON field, and more
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.69.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.69.0
Adds initial ansible scanning support for infrastructure-as-code misconfigurations Not checked yet Enables vulnerability scanning for the Julia language ecosystem Not checked yet Adds support for ActiveState images Not checked yet Adds AnalyzedBy field to track which analyzer detected packages Not checked yet Adds JSON Schema for trivy.yaml configuration file via the flag feature Not checked yet
+3 more
show less
Adds sslCertDir parameter to helm subcommand for custom certificate directories Not checked yet Enables modular package vulnerability detection for rocky Linux Not checked yet Supports per-repo TLS configuration for VEX VEX A machine-readable statement from a vendor saying whether a CVE in a component actually affects their product. It is how a scanner is told to stop flagging a vulnerability that is not reachable. sources Not checked yet
8 details in Everything
└──▷ BREAKING ON UPGRADE
! misconf: providers mapping now uses ID instead of AVDID
Trivy 0.68.0 adds trivy cloud subcommand, --cacert flag, and unique ID fields to scan targets and reports.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.68.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.68.0
└──▷ TRY IT
Use a custom CA certificate to scan an environment requiring trusted private CAs
copy
$ trivy image --cacert /path/to/custom-ca.pem myimage:tag
trivy cloud subcommand is available for scanning cloud environments Not checked yet Add ArtifactID field to uniquely identify scan targets in reports Not checked yet Add ReportID field to scan reports (switched from UUIDv4 to UUIDv7) Not checked yet Add --cacert flag to configure custom CA certificates for TLS verification Not checked yet Enable concurrent access to the vulnerability database for performance improvement Not checked yet
5 details in Everything
Trivy 0.67.0 adds seal support, OS-level vulnerability updates via OS release detection, and CoreOS SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.67.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.67.0
Adds seal support for cryptographically verifying the integrity of Trivy scan results Not checked yet Adds os-release detection for RHEL RHEL Red Hat Enterprise Linux, a commercially supported Linux distribution maintained by Red Hat, chosen by cyber tools for its long support lifecycle, certified hardware compatibility, and enterprise deployment prevalence. -based images in the vulnerability scanner to improve package identification accuracy Not checked yet Adds CoreOS platform support in the SBOM generator via sbom subsystem Not checked yet Changes default value of --list-all-pkgs CLI flag to true in cloudformation scanning mode Not checked yet Preserves CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. SBOM structure during vulnerability updates when scanning existing SBOM files Not checked yet
5 details in Everything
Trivy 0.66.0 adds streaming secret scanning secret scanning Checking files, code or other data for exposed credentials such as passwords, API keys and tokens. Findings help teams remove the secret and revoke or rotate it. , .terraform remote module caching, misconf audit configs, and cache timeouts.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.66.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.66.0
misconf: added audit config attribute Not checked yet use .terraform cache for remote modules in plan scanning Not checked yet secret: implement streaming secret scanner with byte offset tracking Not checked yet add timeout handling for cache database operations Not checked yet
4 details in Everything
Trivy v0.65.0 adds HTTP tracing, AlmaLinux 10 support, Git repo metadata in reports, and SARIF SARIF Static Analysis Results Interchange Format, a standard for sharing code-analysis findings, including locations and rule details. It lets scanners report results to a common review interface. CVSS CVSS Common Vulnerability Scoring System, a method for describing a vulnerability's characteristics and severity. Its score is not the probability that attackers will exploit it. vectors.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.65.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.65.0
image section gains Docker context resolution to handle image references via Docker context Not checked yet license scanner observes pkg_type option to filter by package type Not checked yet Git repository metadata is now included in Trivy scan reports Not checked yet SARIF report output now includes CVSS vectors for findings Not checked yet CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. generation supports SHA-512 SHA-512 A cryptographic hash function in the SHA-2 family, standardized by NIST, that produces a 512-bit digest. Cyber tools use it for integrity verification and password hashing where collision resistance matters. hashes Not checked yet
+2 more
show less
misconf rules added for GCP private IP access attribute in subnetworks and GCS bucket logging/versioning Not checked yet AlmaLinux 10 is supported as a new platform for vulnerability scanning Not checked yet
7 details in Everything
Trivy 0.64.0 adds Root.io container scanning, OpenTofu OpenTofu An open-source fork of Terraform, maintained by the Linux Foundation, that provisions and manages infrastructure as code; tools use it to automate cloud or on-premises environment setup without vendor lock-in. support, CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. metadata, and Terraform partial evaluation
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.64.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.64.0
Add Root.io support for container image scanning Not checked yet Add OpenTofu file extension support in misconf scanning Not checked yet Add partial evaluation for policy templates in Terraform Not checked yet Dereference all Maven settings.xml environment placeholders Not checked yet Add manufacturer field to CycloneDX tools metadata in SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. output Not checked yet
5 details in Everything
Trivy 0.63.0 adds Bottlerocket and MinimOS support, bun.lock analysis, license scanning enhancements, and JUnit location exports.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.63.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.63.0
Add Bottlerocket OS package analyzer Not checked yet Support license scanning in both GOPATH and vendor directories for Go projects Not checked yet Add a Bun lock file analyzer for Node.js dependencies Not checked yet Scan the vendor directory for licenses associated with go.mod files Not checked yet Support compound licenses using SPDX SPDX An open standard for describing software components, licenses and their relationships. Its documents let different tools exchange a software bill of materials without inventing a new format. operators Not checked yet
+5 more
show less
Extract maintainer field for Alpine APK packages Not checked yet Export raw Terraform data to Rego for misconfiguration scanning Not checked yet Add minimum Trivy version requirement support for misconfiguration rules Not checked yet Include misconfiguration location information in JUnit output templates Not checked yet Set the current working directory for the Terraform parser Not checked yet
10 details in Everything
Trivy 0.62 adds layer metadata to image reports, custom Rego for misconfig scanning, and improved yarn/cargo workspace support
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.62.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.62.0
image: saves layer metadata into the scan report (e.g., SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. or vulnerability output) Not checked yet misconf: allows passing a custom Rego scanner instance to the IaC IaC Infrastructure as Code: the practice of defining and provisioning compute infrastructure through machine-readable config files rather than manual processes, giving cyber tools repeatable, version-controlled environment setup. scanner via the API/config Not checked yet misconf: converts AWS managed policies directly into IAM IAM Identity and Access Management — a framework of policies and services for controlling who can authenticate to systems and what resources they are authorized to use, letting cyber tools enforce least-privilege and audit access. documents for scanning Not checked yet misconf: adds support for auto_provisioning_defaults in google_container_cluster misconfig checks Not checked yet nodejs: recognizes root and workspace dependencies for yarn lockfiles Not checked yet
+1 more
show less
rust: recognizes root and workspace relationships/package metadata for cargo lockfiles Not checked yet
6 details in Everything
Trivy 0.61.0 adds k8s controller scanning, aws_ami misconf support, and WebAssembly WebAssembly A binary instruction format that runs in browsers and server runtimes at near-native speed, letting developers compile C, Rust, or other languages into a portable, sandboxed module any compliant host can execute. rebuild.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.61.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.61.0
k8s: add support for controllers Not checked yet
1 detail in Everything
Trivy 0.60.0 adds --vuln-severity-source CLI flag and external VEX VEX A machine-readable statement from a vendor saying whether a CVE in a component actually affects their product. It is how a scanner is told to stop flagging a vulnerability that is not reachable. file loading for CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. SBOMs SBOMs A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. .
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.60.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.60.0
Adds --vuln-severity-source flag to control which vulnerability severity source is used in scans Not checked yet Add initial support for loading external VEX files from SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. references in CycloneDX reports Not checked yet
2 details in Everything
Trivy 0.59.0 adds --distro flag, registry mirrors, and support for ignoring misconf violations in Dockerfile and Helm via inline comments.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.59.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.59.0
└──▷ TRY IT
Scan a container image while forcing the vulnerability database to treat it as Debian Bookworm, regardless of the base image metadata.
copy
$ trivy image --distro debian:bookworm myimage:latest
Ignore specific misconfiguration warnings in a Dockerfile by adding inline comments.
📍 # Run trivy config on a Dockerfile
# Inside the Dockerfile, add: RUN apt-get update # trivy:ignore=CVS-2024-XXXX
Ignore specific misconfiguration warnings in a Helm chart by adding inline comments.
📍 # Run trivy config on a Helm chart
# Inside values.yaml or templates, add: # trivy:ignore=CVS-2024-XXXX
Adds --distro flag to manually specify OS distribution for vulnerability scanning Not checked yet Add a examples field to check metadata Not checked yet
2 details in Everything
Trivy 0.58.0 adds workspaceRelationship to scan responses, CVSS CVSS Common Vulnerability Scoring System, a method for describing a vulnerability's characteristics and severity. Its score is not the probability that attackers will exploit it. v4 support, and Private Packagist secrets detection.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.58.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.58.0
Add workspaceRelationship to scan response JSON structure Not checked yet Include CVSS v4 scores and vectors in scan results when available Not checked yet Add built-in secrets detection rules for Private Packagist sources Not checked yet Construct Go module dependencies directly in the parser for better accuracy Not checked yet
4 details in Everything
Trivy 0.57 adds trivy registry CLI command and misconfig reporting enhancements
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.57.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.57.0
Adds trivy registry subcommand for managing cloud registry authentication profiles Not checked yet Supports multi-container Kubernetes scans with accurate per-container misconfiguration reporting Not checked yet
2 details in Everything
└──▷ BREAKING ON UPGRADE
! The trivy auth subcommand has been renamed to trivy registry.
Trivy 0.56.0 adds support for multiple DB repositories, SUSE Linux Enterprise Micro, RPM archive scanning, and misconfig check disabling.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.56.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.56.0
Adds support for multiple vulnerability and Java database repositories via --db-repo Not checked yet Enables misconf checks to be disabled by ID using the new --skip-check flag Not checked yet Extends --skip-* flags (e.g., --skip-vuln-db) to all included modules in misconfig scanning Not checked yet Adds scanning support for RPM archives Not checked yet Adds SUSE Linux Enterprise Micro as a supported platform for vulnerability detection Not checked yet
5 details in Everything
Trivy 0.55.0 adds --detection-priority tuning, --path-prefix for server mode, misconf scanning for YAML/JSON, and new VM filesystem support.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.55.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.55.0
└──▷ USE IT
Scan a container image or filesystem while tuning false positive rates by setting detection priority.
shell
copy
trivy --detection-priority high target-image
Configure Trivy Server to run behind a reverse proxy with a path prefix.
shell
copy
trivy server --path-prefix /trivy
Scan a local YAML or JSON configuration file for misconfigurations.
shell
copy
trivy config path/to/config.yaml
Adds --detection-priority flag to tune vulnerability detection accuracy Not checked yet Adds internal --path-prefix flag for Trivy Server client/server mode Not checked yet Adds Ext2/Ext3 filesystem support in VM scanning module Not checked yet Adds direct filesystem support in VM scanning module Not checked yet Adds test scope support for Java pom.xml files Not checked yet
+10 more
show less
Adds support for ignoring checks by nested attributes in misconf Not checked yet Adds variable support for Terraform Plan in misconf Not checked yet Adds support for policy and bucket grants in misconf Not checked yet Adds iterator argument support for dynamic blocks in misconf Not checked yet Adds port and protocol support for EC2 EC2 Amazon's cloud virtual-machine service, letting tools run on-demand servers without managing physical hardware. networks in misconf Not checked yet Adds support for using spec from on-disk bundle in misconf Not checked yet Exports modified findings in JSON reports Not checked yet Uses toolchain as stdlib version for go.mod files Not checked yet Sets User-Agent header on requests to Rekor for SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. module Not checked yet Makes Trivy Server Multiplexer exported Not checked yet
15 details in Everything
Trivy 0.54.0 adds VEX VEX A machine-readable statement from a vendor saying whether a CVE in a component actually affects their product. It is how a scanner is told to stop flagging a vulnerability that is not reachable. Repository support, Azure Linux scanning, and --pkg-types/--pkg-relationships flags.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.54.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.54.0
log.FilePath() function for logger Not checked yet openSUSE tumbleweed detection and scanning Not checked yet --pkg-types flag (replaces --vuln-type) to control package types scanned Not checked yet Azure Linux support in Mariner database Not checked yet China configuration for ACRs misconf scanning Not checked yet
+6 more
show less
license parser to pnpm analyser for nodejs Not checked yet image labels into SPDXSPDX An open standard for describing software components, licenses and their relationships. Its documents let different tools exchange a software bill of materials without inventing a new format. and CycloneDXCycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. reports Not checked yet vulnerability support for SPDX formats Not checked yet --pkg-relationships flag to include package dependency relationships in vulnerability reports Not checked yet share build-in rules Not checked yet retrieve VEX attestations from OCI OCI Open Container Initiative standard, maintained by the Linux Foundation, defining the image format and runtime spec that container tools share so images built once run anywhere OCI-compliant. registries Not checked yet
11 details in Everything
Trivy 0.53.0 adds clean subcommand, local ImageID in SARIF SARIF Static Analysis Results Interchange Format, a standard for sharing code-analysis findings, including locations and rule details. It lets scanners report results to a common review interface. , and memory cache backend. Removes aws subcommand.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.53.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.53.0
└──▷ TRY IT
Remove Trivy cache and temporary files to free disk space on CI/CD runners after scans.
Scan a container image and output SARIF results with local ImageID for tracking in vulnerability management tools.
copy
$ trivy image --format sarif --output result.sarif myimage:latest
Configure Trivy to use memory-based caching for faster subsequent scans without disk I/O overhead.
copy
$ trivy image --cache-backend memory myimage:latest
Add clean subcommand to remove Trivy data files (cache, images, metadata) and free disk space Not checked yet Add local ImageID to SARIF metadata for better correlation of scanned container images in SAST SAST Static application security testing, analyzing source code or compiled code for vulnerabilities without running the application. It helps developers find problems before deployment. /SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. workflows Not checked yet Add memory cache backend to improve performance and reduce disk I/O overhead during scans Not checked yet Add conda license support for environment.yml files to detect dependencies licenses in Conda environments Not checked yet Add Dart dependency resolution using first version of constraint for SDK version dependencies Not checked yet
+10 more
show less
Set User-Agent header for Trivy container registry requests to improve tracking and access control compliance Not checked yet Add Java support for maven-metadata.xml files in remote snapshot repositories for accurate version resolution Not checked yet Add sbt project support via sbt-dependency-lock for dependency lock file parsing in Scala projects Not checked yet Add misconf metadata to Cloud schema for enhanced cloud security posture analysis details Not checked yet Add AWS CloudFormation AWS CloudFormation An AWS service for declaring cloud infrastructure as code in JSON or YAML templates, letting cyber tools provision and tear down entire environments reproducibly without manual console steps. support for AWS::EC2::SecurityGroupIngress/Egress resources in misconfiguration scanning Not checked yet Add API Gateway V1 support for CloudFormation CloudFormation An AWS service that lets you describe and provision cloud infrastructure as declarative YAML or JSON templates, so a cyber tool can reproducibly spin up or tear down its entire AWS environment with a single API call. templates in infrastructure-as-code scanning Not checked yet Add Rego selector support for all providers to enable fine-grained policy application across cloud environments Not checked yet Add PHP installed.json file support for dependency resolution in Composer-based projects Not checked yet Add plugin nested archive support for handling complex plugin packaging structures Not checked yet Migrate SBOM output format to CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. v1.6 standard for improved interoperability Not checked yet
15 details in Everything
Trivy v0.52.0 adds Julia analyzer, plugin index support, and misconfig check deprecation.
└──▷ GET THIS VERSION
copy
$ git clone --branch 0.52.0 https://github.com/aquasecurity/trivy.git
$ git checkout 0.52.0
Adds Julia language analyzer support Not checked yet Adds support for a plugin index to discover and install plugins Not checked yet Adds misconf capability to deprecate specific checks via Rego policy Not checked yet Expands Terraform schema to recognize the removed block Not checked yet Registers builtin Rego functions from the trivy-checks repository for custom policies Not checked yet
+10 more
show less
Enables resolving Terraform modules from OpenTofu OpenTofu An open-source fork of Terraform, maintained by the Linux Foundation, that provisions and manages infrastructure as code; tools use it to automate cloud or on-premises environment setup without vendor lock-in. compatible registries in misconfig scanning Not checked yet Adds support for VPC VPC A logically isolated virtual network inside a public cloud provider's infrastructure, letting tools deploy resources with private addressing, controlled routing, and firewall rules without managing physical hardware. resource types in inbound/outbound rule checks Not checked yet Allows Trivy to follow symlinks inside Helm archives during scanning Not checked yet Adds v9 pnpm lock file parser support for Node.js dependency analysis Not checked yet Adds ability to specify a concrete version when installing or referencing plugins Not checked yet Extracts license information from requirements.txt files in Python analyses Not checked yet Extracts line number data for each entry in requirements.txt during Python scanning Not checked yet Includes filtered licenses and secrets in the ModifiedFindings field of reports when Rego filtering is active Not checked yet Improves CSAF CSAF An OASIS open standard for distributing machine-readable vulnerability advisories, letting cyber tools automate ingestion and correlation of vendor-issued security disclosures at scale. VEX VEX A machine-readable statement from a vendor saying whether a CVE in a component actually affects their product. It is how a scanner is told to stop flagging a vulnerability that is not reachable. format support for dependency relationship modeling Not checked yet Supports non-root components mapping to products in OpenVEX OpenVEX An open specification and Go library, maintained by the OpenVEX community, for expressing VEX (Vulnerability Exploitability eXchange) statements in a standard JSON format so cyber tools can automate vulnerability triage. generation Not checked yet
15 details in Everything
Trivy v0.26.0 adds support for Alpine apk repositories and Go.mod in Go 1.17+
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.26.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.26.0
Adds feat(alpine): support apk repositories to allow scanning of packages from custom or version-mixed Alpine mirrors Not checked yet Adds support for go.mod files generated by Go 1.17+ runtime environments Not checked yet
2 details in Everything
Trivy v0.25.4 adds PkgPath to table results and --db-repository flag for SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. database selection.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.25.4 https://github.com/aquasecurity/trivy.git
$ git checkout v0.25.4
Adds PkgPath field to the --format table output Not checked yet Introduces --db-repository flag for custom SBOM vulnerability database mirrors Not checked yet
2 details in Everything
v0.25.3: Allow setting Maven Central URL via environment variable for JAR scanning
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.25.3 https://github.com/aquasecurity/trivy.git
$ git checkout v0.25.3
└──▷ USE IT
Scan a JAR file using a custom or corporate Maven mirror instead of the default central repo.
shell
copy
TRIVY_MAVEN_URL=https://internal-mirror.example.com/repository/maven-public trivy fs --image my-app.jar
TRIVY_MAVEN_URL (or similar env var context) enables configuring the Maven Central repository URL for JAR dependency scans Not checked yet
1 detail in Everything
Trivy v0.25.1 adds --db-repository flag to pull the advisory database directly from an OCI OCI Open Container Initiative standard, maintained by the Linux Foundation, defining the image format and runtime spec that container tools share so images built once run anywhere OCI-compliant. registry.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.25.1 https://github.com/aquasecurity/trivy.git
$ git checkout v0.25.1
└──▷ TRY IT
Pull the latest vulnerability definitions from a private OCI registry instead of the default public one.
copy
$ trivy image --db-repository my-registry.internal/trivy-db alpine:latest
Adds a dedicated sbom command for SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. generation and enhances cyclonedx export with vulnerability data.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.25.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.25.0
Adds the trivy sbom subcommand as a dedicated way to generate Software Bill of Materials Software Bill of Materials A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. outputs Not checked yet Enables --format cyclonedx exports to include vulnerability details within the CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. JSON output Not checked yet Allows misconfigurations to be included in GitLab Codequality report formats via template support Not checked yet Extends trivy filesystem scan to operate in client/server mode for distributed scanning workflows Not checked yet
4 details in Everything
Trivy v0.24.3 adds configurable helm service name and server token support
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.24.3 https://github.com/aquasecurity/trivy.git
$ git checkout v0.24.3
└──▷ USE IT
Deploy a custom Nginx service name for Trivy scanning in a Helm chart.
shell
copy
trivy image --format table --helm.service-name "trivy-scanner" myapp:latest
Scan a private Helm repository requiring authentication.
shell
copy
trivy image --format json --helm.server-token "${HELM_SERVER_TOKEN}" oci://private-registry.io/chart-repo/mychart:1.0.0
Adds --helm.service-name flag to the Helm scan command to allow configuring the Trivy service name Not checked yet Adds --helm.server-token flag to authenticate Helm repository access during scans Not checked yet
2 details in Everything
Trivy v0.24.1 adds support for custom labels in Helm chart scanning via --helm-set
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.24.1 https://github.com/aquasecurity/trivy.git
$ git checkout v0.24.1
Trivy v0.24.0 adds CycloneDX CycloneDX An open standard for describing software components and their dependencies, vulnerabilities and other supply-chain information. Tools use it to exchange bills of materials and related evidence. and JUnit misconfig report formats, CBL-Mariner 2.0 support, TLS InsecureSkipVerify config, purl utilities, and s390x images.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.24.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.24.0
└──▷ USE IT
Export vulnerabilities in CycloneDX format for SBOM SBOM A software bill of materials, an inventory of the components and versions inside an application. It helps teams find affected software when a dependency has a vulnerability or licensing issue. integration
shell
copy
trivy image --format cyclonedx --output sbom.json aquasec/your-image:tag
Disable TLS verification when scanning against a local registry with a self-signed cert
shell
copy
trivy image --tls-insecure-skip-verify localhost:5000/myimage:v1
Adds --format cyclonedx to export findings in CycloneDX format Not checked yet Adds misconfigurations to JUnit XML JUnit XML A widely adopted test-report file format, originally from the Java JUnit framework, that records test suite results as XML; cyber tools emit it so their output plugs into CI systems like Jenkins or GitLab without custom parsers. report output (--format junit) with new <testcase> elements for each finding Not checked yet Adds CBL-Mariner 2.0 support as a recognized OS type for vulnerability scanning Not checked yet Adds --tls-insecure-skip-verify flag to the client/server connection to disable TLS certificate validation Not checked yet Adds purl package utilities (generate purl package utilities) for converting packages to Package URL Package URL A standardized string format for uniquely identifying software packages across ecosystems (npm, PyPI, Maven, etc.), letting cyber tools reference and correlate dependency data without ecosystem-specific logic. format Not checked yet
+1 more
show less
Adds s390x container images for scanning on IBM Z architecture Not checked yet
6 details in Everything
Trivy v0.23.0 adds ACR, single-file scanning, custom detectors, and TLS cache
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.23.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.23.0
└──▷ USE IT
Scan a single application binary file instead of a directory or image.
shell
copy
trivy fs ./path/to/myapp.bin --security-checks vuln
Enable TLS for the Trivy cache to connect to a secured Redis instance.
shell
copy
export TRIVY_CACHE_REDIS_TLS_CERT=/path/to/cert.pem
export TRIVY_CACHE_REDIS_TLS_KEY=/path/to/key.pem
export TRIVY_CACHE_REDIS_TLS_CA=/path/to/ca.pem
trivy image --cache-dir /tmp/trivy-cache myimage:latest
Supports scanning a single file via the filesystem target (fs subcommand with path argument). Not checked yet Adds support for custom detectors via DetectorConfig struct and CustomDetectors field. Not checked yet Enables Redis TLS for the cache backend by setting TRIVY_CACHE_REDIS_TLS_* environment variables. Not checked yet Adds Azure ACR registry support (--security-checks config,secret,vuln with --remote flag pointing to an ACR image). Not checked yet Adds data sources for operating system packages (OS-PKG) and language-specific packages (LANG-PKG). Not checked yet
+7 more
show less
Supports CBL-Mariner OS in vulnerability detection. Not checked yet Adds support for building RHEL RHEL Red Hat Enterprise Linux, a commercially supported Linux distribution maintained by Red Hat, chosen by cyber tools for its long support lifecycle, certified hardware compatibility, and enterprise deployment prevalence. images with build info. Not checked yet Supports Rocky Linux OS in vulnerability detection. Not checked yet Adds Photon OS EOL dates check in vulnerability detection. Not checked yet Supports AlmaLinux OS in vulnerability detection. Not checked yet Supports PAR files in Java language-specific package scanning. Not checked yet Logs ignored vulnerabilities when debug logging is enabled. Not checked yet
12 details in Everything
└──▷ BREAKING ON UPGRADE
! The root command was removed; you must now use subcommands like trivy image or trivy fs explicitly.! The SARIF SARIF Static Analysis Results Interchange Format, a standard for sharing code-analysis findings, including locations and rule details. It lets scanners report results to a common review interface. template format changed from Rego-based to Go-code-based generation; existing custom SARIF templates will no longer work and must be rewritten for the new Go code structure.! The Trivy DB is now fetched from GHCR GHCR GitHub Container Registry, GitHub's hosted service for storing and distributing OCI-compatible container images, giving cyber tools a versioned, access-controlled image store tied directly to a GitHub repository. (ghcr.io) by default instead of the previous source.
Trivy v0.22.0 adds --offline-scan support, pom.xml scanning, and NDB rpm updates
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.22.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.22.0
└──▷ USE IT
Perform a fully offline scan on a local directory for air-gapped environments.
shell
copy
trivy fs --offline-scan ./my-project
Adds the --offline-scan flag to enable scanning without network access. Not checked yet Adds pom.xml file detection support for Java applications. Not checked yet Adds NDB package database format support for RPM packages. Not checked yet Adds a new misconfiguration field exposed in HTML report templates (html.tpl). Not checked yet
4 details in Everything
└──▷ BREAKING ON UPGRADE
! JAR detection is now disabled by default during filesystem and repository scanning.
Trivy v0.21.3 adds plugin management subcommands and env var externalization for Helm.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.21.3 https://github.com/aquasecurity/trivy.git
$ git checkout v0.21.3
└──▷ TRY IT
List all currently installed Trivy plugins.
View detailed metadata for a specific installed plugin.
copy
$ trivy plugin info <plugin-name>
Adds plugin list and plugin info subcommands to manage installed plugins Not checked yet Adds the ability to update installed plugins via a new option Not checked yet Externalizes environment variables in Helm chart to ConfigMap Not checked yet
3 details in Everything
Trivy v0.21.2 adds support for Alpine Linux 3.15 in misconfiguration scanning
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.21.2 https://github.com/aquasecurity/trivy.git
$ git checkout v0.21.2
Adds alpine 3.15 version support for misconfiguration detection Not checked yet Updates fanal dependency to include latest cfsec version updates Not checked yet
2 details in Everything
Trivy v0.21.0 adds IaC IaC Infrastructure as Code: the practice of defining and provisioning compute infrastructure through machine-readable config files rather than manual processes, giving cyber tools repeatable, version-controlled environment setup. line numbers, cfsec engine support, and SARIF SARIF Static Analysis Results Interchange Format, a standard for sharing code-analysis findings, including locations and rule details. It lets scanners report results to a common review interface. identifier stability
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.21.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.21.0
feat(iac) : Add line number information to IaC scan output for better remediation guidance. Not checked yet feat(cloudformation) : Add support for cfsec as an IaC scanning engine alongside existing backends. Not checked yet SARIF identifiers are now generated using a stable algorithm rather than random strings, improving deduplication. Not checked yet
3 details in Everything
Trivy v0.20.2 adds new networking API features to Ingress support.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.20.2 https://github.com/aquasecurity/trivy.git
$ git checkout v0.20.2
Trivy v0.20.1 adds npm driver for JavaScript packages and extends custom-forward advisory data
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.20.1 https://github.com/aquasecurity/trivy.git
$ git checkout v0.20.1
└──▷ USE IT
Forward scan results to a custom endpoint while ensuring extended advisory data is included.
shell
copy
trivy fs --format json --output - . | jq -c '.Results' | http POST https://example.com/webhook custom-forward
Adds javascript package type support via a new npm driver for scanning JavaScript dependencies Not checked yet Enhances the custom-forward integration to include extended advisory data in forwarded outputs Not checked yet
2 details in Everything
Trivy v0.20.0 adds rootfs scanning, new package detection hooks, and improved reporting fields.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.20.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.20.0
Adds rootfs subcommand to scan a local filesystem directory directly Not checked yet Migrates JSON report schema to the new format in --format json output Not checked yet Adds OS metadata field EndOfServiceLife to report packages for EOL status Not checked yet Adds image configuration details (tags, digests) to package scan reports Not checked yet Adds support for scanning requirements.txt, gemspec, packages.config, and package.json files Not checked yet
5 details in Everything
└──▷ BREAKING ON UPGRADE
! The JSON report schema has changed; existing parsers relying on the previous structure will break.
Trivy v0.19.0 adds config scanning, Aqua plugin support, and Google Artifact Repository integration.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.19.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.19.0
└──▷ USE IT
Enable verbose trace logging for debugging misconfiguration scans
shell
copy
trivy config --trace ./path/to/configs
Scan a local directory for IaC IaC Infrastructure as Code: the practice of defining and provisioning compute infrastructure through machine-readable config files rather than manual processes, giving cyber tools repeatable, version-controlled environment setup. issues using the new config scanning capability
shell
copy
trivy config ./infrastructure/terraform
Adds --trace flag to enable trace-level logging Not checked yet Supports scanning configuration files (config scanning) in addition to containers Not checked yet Adds new aqua plugin for extensible detection logic Not checked yet Adds support for Google Artifact Repository as a remote registry source Not checked yet Updates JSON report schema to include artifact metadata and version tracking Not checked yet
5 details in Everything
└──▷ BREAKING ON UPGRADE
! The internal JSON schema structure has changed; existing parsers expecting the v0.18.x schema may fail or miss fields.
Trivy v0.18.0 adds a gomod analyzer for Go dependencies.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.18.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.18.0
Trivy v0.17.0 adds binary and plugin support with versioned cache and disabled analyzers.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.17.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.17.0
Adds feat(go): support binary scan to enable scanning of compiled Go binaries directly Not checked yet Adds feat: support plugins to allow loading external Trivy plugins at runtime Not checked yet Adds feat(cache): introduce versioned cache to manage cache versions explicitly Not checked yet Adds feat: disable analyzers via flag or config to selectively turn off specific analyzers Not checked yet Adds support for GitLab Advisory Database in Java scanning (feat(java): support GitLab Advisory Database) and jar/war/ear file types Not checked yet
+1 more
show less
Changes skip flags to use StringSliceFlag syntax: --skip-dirs and --skip-files now accept comma-separated lists Not checked yet
6 details in Everything
└──▷ BREAKING ON UPGRADE
! --skip-dirs and --skip-files flags now require a list format (comma-separated) instead of being repeatable flags
Adds Podman image scanning support, Redis cache config options in Helm chart, and modular package scanning for RHEL RHEL Red Hat Enterprise Linux, a commercially supported Linux distribution maintained by Red Hat, chosen by cyber tools for its long support lifecycle, certified hardware compatibility, and enterprise deployment prevalence. /CentOS 8.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.16.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.16.0
└──▷ USE IT
Scan an image built with Podman locally.
shell
copy
trivy image localhost/test:latest
Configure Redis cache in a Helm chart values file for Trivy.
yaml
copy
redis:
enabled: true
url: "redis://redis-master:6379"
Scan local Podman images (>=2.0) with trivy image Not checked yet Add redis cache backend configuration options in the Helm chart Not checked yet Support modular packages in RHEL 8/CentOS 8 for more accurate scanning Not checked yet
3 details in Everything
Trivy v0.15.0 adds NuGet NuGet Microsoft's package manager for .NET, hosting a public registry of reusable libraries so tools can pull in dependencies without bundling or manually maintaining third-party code. lock file scanning, Redis cache backend, HTML report templates, and a Helm chart.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.15.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.15.0
└──▷ TRY IT
Configure Trivy server to use a running Redis instance for faster cache lookups.
copy
$ trivy server --cache-backend redis://localhost:6379
Generate an HTML vulnerability report from a Docker image scan.
copy
$ trivy image -f template --template '@contrib/html.tpl' -o report.html alpine:3.12
Adds support for scanning NuGet packages.lock.json files Not checked yet Adds --cache-backend flag to configure Redis as the image/dictionary cache backend Not checked yet Adds template output format via -f template with @contrib/html.tpl for HTML report generation Not checked yet Releases Helm chart at helm/trivy for installing Trivy server mode Not checked yet
4 details in Everything
Trivy v0.14.0 adds PrimaryURL to JSON output and removes rpm dependency for scanning RHEL RHEL Red Hat Enterprise Linux, a commercially supported Linux distribution maintained by Red Hat, chosen by cyber tools for its long support lifecycle, certified hardware compatibility, and enterprise deployment prevalence. images
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.14.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.14.0
└──▷ USE IT
Extract the direct advisory link for a specific CVE from Trivy's JSON scan results.
shell
copy
trivy image --format json alpine:3.10 | jq -r '.[0].Vulnerabilities[].PrimaryURL'
Adds PrimaryURL field to the JSON output format for vulnerability entries Not checked yet
1 detail in Everything
Trivy v0.13.0 adds ppc64le and FreeBSD/OpenBSD binary support with a local DB download cache.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.13.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.13.0
Adds ppc64le architecture support via dedicated binaries Not checked yet
1 detail in Everything
Trivy v0.12.0 adds --skip-files, health endpoint, and CWE CWE Common Weakness Enumeration, a catalog of recurring software and hardware weakness types. It describes classes of mistakes, such as injection, rather than individual vulnerability instances. -ID support
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.12.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.12.0
└──▷ USE IT
Exclude specific lock files during image scanning to avoid false positives from unmanaged dependencies.
shell
copy
trivy image --skip-files "/Gemfile.lock,/app/Pipfile.lock" quay.io/fluentd_elasticsearch/fluentd:v2.9.0
Check the health status of a running Trivy server instance.
shell
copy
curl http://127.0.0.1:4954/healthz
Skip database updates during filesystem scanning for faster execution in offline or cached environments.
shell
copy
trivy fs --skip-update /path/to/project
--skip-files flag added to trivy image to exclude specific lock files from traversal Not checked yet Health check endpoint added to Trivy server at /healthz Not checked yet --skip-update flag added to fs and repo subcommands to skip database updates Not checked yet Official Docker images now published to GitHub Container Registry (ghcr.io/aquasecurity/trivy) alongside Docker Hub Not checked yet Trivy server scan results now include CWE-ID field Not checked yet
5 details in Everything
Trivy v0.11.0 adds AWS Security Hub integration and --skip-dirs CLI flag
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.11.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.11.0
--skip-dirs flag on trivy image to exclude specific directories from vulnerability scanning traversal Not checked yet AWS Security Hub integration via the security-hub output format for Trivy results Not checked yet
2 details in Everything
Trivy v0.10.0 adds OPA OPA Open Policy Agent, a CNCF-graduated policy engine that evaluates rules written in the Rego language against JSON-structured data, letting tools enforce authorization and compliance decisions without hardcoding logic. filtering via --policy, CWE CWE Common Weakness Enumeration, a catalog of recurring software and hardware weakness types. It describes classes of mistakes, such as injection, rather than individual vulnerability instances. -ID in JSON, --list-all-pkgs, and SARIF SARIF Static Analysis Results Interchange Format, a standard for sharing code-analysis findings, including locations and rule details. It lets scanners report results to a common review interface. output
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.10.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.10.0
└──▷ USE IT
Filter container image vulnerabilities using a custom OPA policy to ignore specific rules.
shell
copy
trivy image --policy ./mypolicy.rego alpine:3.10
Export all installed packages in SARIF format for integration with code scanning platforms.
shell
copy
trivy image -f sarif --list-all-pkgs centos:7
--policy flag enables filtering vulnerabilities with an Open Policy Agent (OPA) Rego file Not checked yet JSON output now includes CweIDs for each vulnerability entry Not checked yet --list-all-pkgs option outputs all installed packages even if they have no vulnerabilities Not checked yet SARIF output format is now supported via -f sarif Not checked yet
4 details in Everything
Trivy v0.9.2 adds JUnit XML JUnit XML A widely adopted test-report file format, originally from the Java JUnit framework, that records test suite results as XML; cyber tools emit it so their output plugs into CI systems like Jenkins or GitLab without custom parsers. output format and CVSS CVSS Common Vulnerability Scoring System, a method for describing a vulnerability's characteristics and severity. Its score is not the probability that attackers will exploit it. score details in scan results
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.9.2 https://github.com/aquasecurity/trivy.git
$ git checkout v0.9.2
Adds junit-xml to supported --format values for CI dashboard compatibility Not checked yet Includes CVSS vector strings and scores (NVD NVD The National Vulnerability Database, maintained by NIST, is the U.S. government repository of CVE records enriched with CVSS scores and metadata; cyber tools query it to drive vulnerability prioritization. , RedHat) in JSON output Not checked yet
2 details in Everything
Trivy v0.9.0 adds fs and repo subcommands for scanning local filesystems and Git repositories.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.9.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.9.0
└──▷ TRY IT
Scan a local project directory for known vulnerabilities using lock files.
copy
$ trivy fs /path/to/my/project
Check a public GitHub repository for dependencies with known vulnerabilities.
copy
$ trivy repo https://github.com/example-org/public-repo
Adds the fs subcommand to scan a local path (e.g., /path/to/project) by detecting vulnerabilities based on lock files like Gemfile.lock and package-lock.json Not checked yet Adds the repo subcommand to scan remote public Git repositories (e.g., https://github.com/aquasecurity/trivy-ci-test") Not checked yet Supports the GitHub Advisory Database as a data source to improve detection accuracy for programming language libraries Not checked yet
3 details in Everything
Trivy v0.8.0 adds image subcommand, CVSS CVSS Common Vulnerability Scoring System, a method for describing a vulnerability's characteristics and severity. Its score is not the probability that attackers will exploit it. vectors in JSON output, and registry token auth
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.8.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.8.0
└──▷ USE IT
Scan a container image using the new explicit subcommand syntax.
shell
copy
trivy image alpine:3.11
Adds image subcommand to explicitly scan container images (replaces deprecated direct IMAGE_NAME argument) Not checked yet Adds VendorVectors field to JSON output containing raw CVSS v2/v3 strings for NVD NVD The National Vulnerability Database, maintained by NIST, is the U.S. government repository of CVE records enriched with CVSS scores and metadata; cyber tools query it to drive vulnerability prioritization. and RedHat vendors Not checked yet Supports TRIVY_REGISTRY_TOKEN environment variable for authenticating to private registries without username/password Not checked yet
3 details in Everything
Trivy v0.7.0 adds OCI OCI Open Container Initiative standard, maintained by the Linux Foundation, defining the image format and runtime spec that container tools share so images built once run anywhere OCI-compliant. image layout support via --input and uses vendor severity by default
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.7.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.7.0
└──▷ TRY IT
Scan a local OCI image layout exported by Buildah or Skopeo
copy
$ trivy --input /path/to/oci/image/layout
Adds --input flag to scan an OCI Image Layout directory directly Not checked yet Changes default severity source from NVD NVD The National Vulnerability Database, maintained by NIST, is the U.S. government repository of CVE records enriched with CVSS scores and metadata; cyber tools query it to drive vulnerability prioritization. to vendor scores (e.g., Red Hat, Debian) Not checked yet
2 details in Everything
└──▷ BREAKING ON UPGRADE
! Vulnerability severities now use vendor scores instead of NVD; filtering with --severity may yield different results than in previous versions
Trivy v0.5.3 adds --version output, shows vulnerable layer origin, and fixes Windows path handling
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.5.3 https://github.com/aquasecurity/trivy.git
$ git checkout v0.5.3
Add --version flag to display Trivy and VulnDB versions in the CLI output Not checked yet Display the origin layer for each vulnerability in scan results Not checked yet
2 details in Everything
Trivy v0.5.0 adds LayerID to vulnerability detection and switches cache format to JSON
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.5.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.5.0
Adds LayerID field to vulnerability detection output for precise OS layer tracking Not checked yet Changes internal cache storage to use a JSON-based format Not checked yet
2 details in Everything
└──▷ BREAKING ON UPGRADE
! Dropped support for BSD platforms (temporarily removed)
Trivy v0.4.4 adds a GitLab CI template for container scanning integration
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.4.4 https://github.com/aquasecurity/trivy.git
$ git checkout v0.4.4
└──▷ USE IT
Use the new default Docker image which now includes the GitLab CI template to enable container scanning without manual artifact injection.
shell
copy
docker pull docker.io/aquasec/trivy:0.4.4
Trivy v0.4.3 adds a --template flag to render scan results using custom Go templates
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.4.3 https://github.com/aquasecurity/trivy.git
$ git checkout v0.4.3
└──▷ USE IT
Render vulnerability reports as HTML emails for automated notification pipelines.
shell
copy
trivy --format template --template "@/path/to/template" golang:1.12-alpine
Adds --format template and --template flags to control result output via custom Go templates Not checked yet
1 detail in Everything
Trivy v0.4.0 adds Photon OS and SUSE support, configurable cache dir, custom token headers, and DB download progress.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.4.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.4.0
└──▷ TRY IT
Store the vulnerability database and image cache in a persistent or non-default location for faster subsequent scans.
copy
$ trivy --cache-dir /var/trivy/cache alpine:3.10
Use a custom header name for token authentication when connecting to a Trivy server that expects a non-standard header.
copy
$ trivy server --token my-secret --token-header x-custom-token
Scan a Photon OS container image for vulnerabilities.
Scan an openSUSE Leap container image for vulnerabilities.
copy
$ trivy opensuse/leap:15.0
--cache-dir flag to specify the directory for storing image cache Not checked yet --token-header flag to customize the authentication header name (default is Trivy-Token ) Not checked yet --token flag for passing authentication tokens to server/client Not checked yet Progress bar during vulnerability database download Not checked yet Photon OS image scanning support (e.g., trivy photon:3.0) Not checked yet
+1 more
show less
SUSE Enterprise Linux and openSUSE image scanning support (e.g., trivy opensuse/leap:15.0) Not checked yet
6 details in Everything
Adds trivy server and trivy client commands to enable client/server architecture.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.3.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.3.0
trivy server is available as a new subcommand Not checked yet trivy client is available as a new subcommand Not checked yet Oracle Linux support added Not checked yet
3 details in Everything
Adds GITHUB_TOKEN support for rate limiting bypass
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.2.1 https://github.com/aquasecurity/trivy.git
$ git checkout v0.2.1
GITHUB_TOKEN environment variable is now respected to bypass GitHub API rate limits Not checked yet
1 detail in Everything
Trivy v0.2.0 adds --light and --download-db-only flags plus env var support
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.2.0 https://github.com/aquasecurity/trivy.git
$ git checkout v0.2.0
└──▷ USE IT
Run a fast CI/CD scan where download speed matters more than detail granularity.
shell
copy
trivy --light alpine:3.10
Pre-download the DB to disk so scans can start immediately without waiting for network I/O.
shell
copy
trivy --download-db-only
Configure Trivy via environment variables to integrate with shell pipelines or CI configs.
shell
copy
TRIVY_EXIT_CODE=1 trivy alpine:3.10
--light flag downloads a lightweight DB without vulnerability details for faster CI/CD scans Not checked yet --download-db-only flag retrieves the vulnerability database without scanning any targets Not checked yet Environment variables can now specify Trivy options (e.g. TRIVY_EXIT_CODE) alongside CLI flags Not checked yet
3 details in Everything
Trivy v0.1.7 adds Amazon Linux/Distroless support, Kaniko builds, and --ignorefile/--timeout/--template flags.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.1.7 https://github.com/aquasecurity/trivy.git
$ git checkout v0.1.7
Support for scanning Amazon Linux and Google Distroless OS images Not checked yet Support for Kaniko build tool outputs Not checked yet New --ignorefile flag to specify a .trivyignore path Not checked yet New --timeout flag to set the scanning timeout duration Not checked yet New --template flag to export results using a custom template Not checked yet
5 details in Everything
Trivy v0.1.5 adds OS EOL warnings, data source integration, and re-implements --cache-dir for configuration control.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.1.5 https://github.com/aquasecurity/trivy.git
$ git checkout v0.1.5
└──▷ USE IT
Store the vulnerability database in a specific local directory for faster subsequent scans.
shell
copy
trivy image --cache-dir /tmp/trivy-cache alpine:latest
Displays a warning when scanning an OS that has reached End of Life (EOL) Not checked yet Re-implements the --cache-dir flag to allow specifying a custom cache directory path Not checked yet
2 details in Everything
Trivy v0.1.3 adds vulnerability type filter via --skip-vulnerability-type flag
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.1.3 https://github.com/aquasecurity/trivy.git
$ git checkout v0.1.3
feat: add vulnerability type filter to get only os or packages vulnerabilities (--skip-vulnerability-type) Not checked yet
1 detail in Everything
Trivy v0.1.2 adds private Docker registry auth via ENV vars, alpine DB support, --only-update flag, and git clone depth option.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.1.2 https://github.com/aquasecurity/trivy.git
$ git checkout v0.1.2
--depth argument passed to git clone allows shallow clones for faster repository scanning. Not checked yet Authentication for private Docker registries is supported using environment variables. Not checked yet Alpine Linux packages are now available in the vulnerability database (dbnames). Not checked yet --only-update flag added to update only the existing vulnerability database without running a scan. Not checked yet
4 details in Everything
Trivy v0.0.14 allows clearing cache and refreshing without specifying an image name.
└──▷ GET THIS VERSION
copy
$ git clone --branch v0.0.14 https://github.com/aquasecurity/trivy.git
$ git checkout v0.0.14
└──▷ TRY IT
Clear the global Trivy cache without targeting a specific image.
copy
$ trivy --clear-cache
Specify a custom directory for Trivy to store its scan cache data.
copy
$ trivy --cache-dir /tmp/trivy-cache ...
Enables --clear-cache and --refresh flags to be used without providing an image name Not checked yet Allows user-specified cache directory via command-line option Not checked yet
2 details in Everything