Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
open sourceApache-2.0self-hostablefree
Trivy is a security scanner from Aqua Security. It scans container images, filesystems, remote git repositories, VM images and Kubernetes clusters for known vulnerabilities (CVEs) in OS packages and dependencies, infrastructure-as-code misconfigurations, secrets and software licences, and generates SBOMs. Its misconfiguration scanning (trivy config) took over from Aqua's tfsec in 2023, and Aqua asks tfsec users to move to it. It runs as one binary locally or in CI and is Apache-2.0 licensed.
Ways to install
Package managers
Problems it solves
- scan our Docker images for known vulnerabilities before deploying
- fail the CI build when a dependency has a critical CVE
- find misconfigurations in our Terraform and Kubernetes YAML
- generate an SBOM for our container for a customer's security review
- check a repo for committed secrets and risky licences
- free open source alternative to Snyk for container scanning
- scan the images running in our Kubernetes cluster
- tfsec is no longer developed: what should I scan our Terraform code for misconfigurations with now
Features
- vulnerability scanning
- misconfiguration scanning
- secret scanning
- licence scanning
- SBOM generation
- container images, filesystems, git repos, VM images and Kubernetes
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Trivy does.
- Grype A vulnerability scanner for container images and filesystems.
- Clair Vulnerability Static Analysis for Containers
- bundler-audit Patch-level verification for Bundler
- Docker Scout Finds vulnerabilities, outdated packages and compliance problems in container images
- Snyk Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
- KICS Keeping Infrastructure as Code Secure
