Forrest logo
back to context overview

trivy

List of commands for trivy:

  • trivy:tldr:42990 trivy: Generate output with a SARIF template.
    $ trivy image --format ${template} --template ${"@sarif-tpl"} -o ${path-to-report-sarif} ${image:tag}
    try on your machine
    explain this command
  • trivy:tldr:bc301 trivy: Scan the filesystem for vulnerabilities and misconfigurations.
    $ trivy fs --security-checks ${vuln,config} ${path-to-project_directory}
    try on your machine
    explain this command
  • trivy:tldr:d9e07 trivy: Scan an image.
    $ trivy image ${image:tag}
    try on your machine
    explain this command
  • trivy:tldr:ed724 trivy: Scan a directory for misconfigurations.
    $ trivy config ${path-to-iac_directory}
    try on your machine
    explain this command
back to context overview