browse
trivy/

Trivy

Aqua Security

Comprehensive security scanner for vulnerabilities, misconfigurations, and secrets in containers, code, and cloud.

Security & IdentityJSON
01Install
brew install trivy
Download binary →

02Global Flags
FlagTypeDescription
--format/-fenum [table, json, sarif, cyclonedx, spdx-json, template]Output format
--severitystringComma-separated severity levels (UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL)
--quietbooleanSuppress progress bar and log output
--exit-codeintegerExit code when vulnerabilities are found

03Authentication
Methods
environment-variables
Env vars
TRIVY_USERNAMETRIVY_PASSWORDTRIVY_TOKEN

04Capabilities
Reference
binarytrivy
checktrivy --version
authenvironment-variables
formatstable, sarif, cyclonedx, spdx-json, template
json flag--format json