trivy-vulnerability-scanning
Trivy Vulnerability Scanning
Purpose
Trivy (Aqua Security) is a single, self-contained binary that scans five
distinct target types — container images, filesystems/repositories, git
repos over the network, Kubernetes clusters, and Infrastructure-as-Code
(IaC) source — for four distinct finding classes: known CVEs in OS
packages and language dependencies, misconfigurations in IaC/manifests,
hardcoded secrets, and license issues. Its value operationally is
consolidation: a team that would otherwise run a separate dependency
scanner, a separate Dockerfile/Kubernetes linter, and a separate secret
scanner can often cover the first pass of all three with one pinned
binary, one output format, and one severity model. This skill goes deep
on Trivy's specific scan modes, flags, exit-code semantics, and
.trivyignore/trivy-config-ignore syntax — for the general concept of
scanning dependencies for known vulnerabilities (tool selection,
remediation SLAs, SBOM relationship), see
software-composition-analysis-sca.