Client

  1. NAME:
  2. trivy client - client mode
  3. USAGE:
  4. trivy client [command options] image_name
  5. OPTIONS:
  6. --template value, -t value output template [$TRIVY_TEMPLATE]
  7. --format value, -f value format (table, json, template) (default: "table") [$TRIVY_FORMAT]
  8. --input value, -i value input file path instead of image name [$TRIVY_INPUT]
  9. --severity value, -s value severities of vulnerabilities to be displayed (comma separated) (default: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL") [$TRIVY_SEVERITY]
  10. --output value, -o value output file name [$TRIVY_OUTPUT]
  11. --exit-code value Exit code when vulnerabilities were found (default: 0) [$TRIVY_EXIT_CODE]
  12. --clear-cache, -c clear image caches without scanning (default: false) [$TRIVY_CLEAR_CACHE]
  13. --ignore-unfixed display only fixed vulnerabilities (default: false) [$TRIVY_IGNORE_UNFIXED]
  14. --removed-pkgs detect vulnerabilities of removed packages (only for Alpine) (default: false) [$TRIVY_REMOVED_PKGS]
  15. --vuln-type value comma-separated list of vulnerability types (os,library) (default: "os,library") [$TRIVY_VULN_TYPE]
  16. --ignorefile value specify .trivyignore file (default: ".trivyignore") [$TRIVY_IGNOREFILE]
  17. --timeout value timeout (default: 5m0s) [$TRIVY_TIMEOUT]
  18. --ignore-policy value specify the Rego file to evaluate each vulnerability [$TRIVY_IGNORE_POLICY]
  19. --list-all-pkgs enabling the option will output all packages regardless of vulnerability (default: false) [$TRIVY_LIST_ALL_PKGS]
  20. --offline-scan do not issue API requests to identify dependencies (default: false) [$TRIVY_OFFLINE_SCAN]
  21. --token value for authentication [$TRIVY_TOKEN]
  22. --token-header value specify a header name for token (default: "Trivy-Token") [$TRIVY_TOKEN_HEADER]
  23. --remote value server address (default: "http://localhost:4954") [$TRIVY_REMOTE]
  24. --custom-headers value custom headers [$TRIVY_CUSTOM_HEADERS]
  25. --help, -h show help (default: false)