browseDownload binary →
trivy/Trivy
Aqua SecurityComprehensive security scanner for vulnerabilities, misconfigurations, and secrets in containers, code, and cloud.
Security & IdentityJSON
01Install
brew install trivy02Global Flags
| Flag | Type | Description |
|---|---|---|
--format/-f | enum [table, json, sarif, cyclonedx, spdx-json, template] | Output format |
--severity | string | Comma-separated severity levels (UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL) |
--quiet | boolean | Suppress progress bar and log output |
--exit-code | integer | Exit code when vulnerabilities are found |
03Authentication
Methods
environment-variables
Env vars
TRIVY_USERNAMETRIVY_PASSWORDTRIVY_TOKEN04Capabilities
Reference
binary
trivycheck
trivy --versionauth
environment-variablesformats
table, sarif, cyclonedx, spdx-json, templatejson flag
--format json