Trivy Container Scanning

Trivy is the fastest way to scan images.

Step 1: Install

brew install trivy or curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh

Step 2: Scan an image

Step 3: Read the report

The report is structured noise until you triage by severity and fixability; do that and it becomes a backlog.

Step 4: CI integration

Scanning is only useful if it gates the pipeline. Wire it into CI so a critical CVE blocks the build, not a Slack message.

Antipatterns

What to do this week

Three moves. (1) Run the tutorial end-to-end on your own laptop / sandbox. (2) Apply the pattern to one production workload. (3) Document the variations you needed; share with the team.