Trivy
Trivy¶
Vulnerability scanner for containers/images. Installs CLI for SBOM and vuln. checks.
Lab Environment Only
This tool is intended for ephemeral, short-lived lab environments and is not hardened for production use.
System Requirements
This script is designed for Ubuntu LTS and derivatives (Linux Mint, Pop!_OS). Other distributions (RHEL, Fedora, Debian, ARM) are not supported.
Installation Command¶
curl -sL https://raw.githubusercontent.com/ibtisam-iq/infra-bootstrap/main/scripts/components/trivy-setup.sh | sudo bash
What It Installs¶
- Trivy CLI (latest).
- Binary in PATH.
Verify¶
trivy version # e.g., Version: 0.48.x
trivy image alpine:latest # Test scan
Post-Installation Verification
After installation completes, it is recommended to:
- Validate the installed version
- Ensure the service is running (if applicable)
- Confirm CLI availability
- Run a basic operational command
Official Docs: aquasecurity.github.io/trivy
Last update: January 21, 2026 11:27:57 PM