Back to library
Defensive Beginner Free

Scan a container image for vulnerabilities.

Scan a container image for vulnerabilities.

Trivy / Vulnerability Management

Log in to save

Command

trivy image nginx:1.23

Syntax

trivy image nginx:1.23

Use case

Use during authorized defensive operations, lab simulations, or audit preparation to understand expected telemetry and command structure.

Explanation

Scan a container image for vulnerabilities. This reference is stored in the database and rendered dynamically for safe education, audit, and simulation workflows.

Example output

SIMULATED OUTPUT
status=ok
records=12
note="Database seeded command reference."

More examples

Expanded library example

trivy image nginx:1.23

Scan a container image for vulnerabilities.

linux macos windows trivy vulnerability-management expanded-library

Related

Defensive Beginner Free

Scan filesystem for vulnerabilities and misconfiguration.

Scan filesystem for vulnerabilities and misconfiguration.

trivy fs --security-checks vuln,config .
trivy vulnerability-management expanded-library
Trivy / Vulnerability Management Open
Defensive Beginner Free

Scan IaC configuration.

Scan IaC configuration.

trivy config ./terraform
trivy vulnerability-management expanded-library
Trivy / Vulnerability Management Open
Defensive Beginner Free

Filter image scan to high and critical issues.

Filter image scan to high and critical issues.

trivy image --severity HIGH,CRITICAL app:latest
trivy vulnerability-management expanded-library
Trivy / Vulnerability Management Open