Config

  1. NAME:
  2. trivy config - scan config files
  3. USAGE:
  4. trivy config [command options] dir
  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. --severity value, -s value severities of vulnerabilities to be displayed (comma separated) (default: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL") [$TRIVY_SEVERITY]
  9. --output value, -o value output file name [$TRIVY_OUTPUT]
  10. --exit-code value Exit code when vulnerabilities were found (default: 0) [$TRIVY_EXIT_CODE]
  11. --skip-policy-update skip updating built-in policies (default: false) [$TRIVY_SKIP_POLICY_UPDATE]
  12. --reset remove all caches and database (default: false) [$TRIVY_RESET]
  13. --clear-cache, -c clear image caches without scanning (default: false) [$TRIVY_CLEAR_CACHE]
  14. --ignorefile value specify .trivyignore file (default: ".trivyignore") [$TRIVY_IGNOREFILE]
  15. --timeout value timeout (default: 5m0s) [$TRIVY_TIMEOUT]
  16. --skip-files value specify the file paths to skip traversal [$TRIVY_SKIP_FILES]
  17. --skip-dirs value specify the directories where the traversal is skipped [$TRIVY_SKIP_DIRS]
  18. --policy value, --config-policy value specify paths to the Rego policy files directory, applying config files [$TRIVY_POLICY]
  19. --data value, --config-data value specify paths from which data for the Rego policies will be recursively loaded [$TRIVY_DATA]
  20. --policy-namespaces value, --namespaces value Rego namespaces (default: "users") [$TRIVY_POLICY_NAMESPACES]
  21. --file-patterns value specify file patterns [$TRIVY_FILE_PATTERNS]
  22. --include-successes include successes of misconfigurations (default: false) [$TRIVY_INCLUDE_SUCCESSES]
  23. --help, -h show help (default: false)