Trivy

Trivy

Comprehensive open-source security scanner for CVEs, IaC misconfigurations, secrets, and SBOMs across containers, Kubernetes, and Git.

★ 39.8K

Scan Containers, Kubernetes, and Code for Security Risks in One Command With Trivy

Juggling separate security tools for Docker images, Terraform files, OS packages, language dependencies, and leaked secrets creates blind spots in every CI/CD pipeline. Trivy by Aqua Security consolidates all of those checks into a single, zero-config Go binary. Backed by 39.8K GitHub stars and nearly 1,000 forks under the Apache-2.0 license, Trivy is one of the most widely deployed vulnerability scanners in cloud-native DevSecOps.

Why DevSecOps Teams Standardize on Trivy

  • Five Scanners in One Binary: Detects OS and library CVEs, IaC misconfigurations (Terraform, Dockerfile, Helm, CloudFormation), hardcoded secrets, software licenses, and generates CycloneDX/SPDX SBOMs.
  • Scans Every Target: Point `trivy` at local or remote container images, filesystems, Git repositories, virtual machine images, or live Kubernetes clusters.
  • Frictionless CI/CD Integration: Drops into GitHub Actions, GitLab CI, VS Code, and Kubernetes via the official Trivy Operator in minutes.
  • Fast Offline-Capable Caching: Downloads a compact vulnerability database once and scans cached container layers rapidly without re-pulling unchanged blobs.

Honest Caveats

Scanning massive base images (like full Ubuntu or Debian builds) will surface dozens of low-severity upstream OS CVEs; use `–severity HIGH,CRITICAL` and `–ignore-unfixed` to keep developer alerts actionable. Air-gapped environments also need a scheduled job to mirror Trivy’s vulnerability database.

Quick Takeaway

If you want one fast, Apache-2.0 CLI tool to audit containers, Kubernetes manifests, and Git repos before every deployment, Trivy is the gold standard.

Ready to try Trivy?

Experience the full capabilities on their official website.

Visit Official Website