[FileSystem]
$ trivy fs .                                                                # to scan all files in current folder/directory
$ trivy fs . > scan                                                         # to scan all files and saving the output into a file in current folder/directory
$ trivy fs FOLDER_NAME/                                                     # to scan all files in a given name of folder/directory
$ trivy fs FOLDER_NAME/ > scan                                              # to scan all files in a given name of folder/directory and saving the output into a file in current folder/directory
$ trivy fs --format table -o report.html .
$ trivy fs --security-checks vuln,config /var/lib/jenkins/workspace/JOB_FOLDER_NAME

[Git Repository]
$ trivy repo https://github.com/knqyf263/trivy-ci-test
$ trivy repo https://github.com/knqyf263/trivy-ci-test.git
$ trivy repo https://github.com/knqyf263/trivy-ci-test.git > scan

[Docker]
$ trivy i nginx
$ trivy i -f json -o results.json nginx
$ trivy image nginx
$ trivy image nginx:1.14.2
$ trivy image linuxacademycontent/kubeserve:v1
$ trivy image linuxacademycontent/kubeserve:v1 > scan.txt
$ trivy image --severity HIGH,CRITICAL nginx
$ trivy image --severity HIGH,CRITICAL ruby:2.4.0
$ trivy image --severity HIGH,CRITICAL jenkins/jenkins
$ trivy image -f json -o results.json nginx
$ trivy image -f json -o results.json betterdoc/templater-service
$ trivy image --format json -o report.json adijaiswal/valentine:v1
$ trivy image --format table -o report.html adijaiswal/board:latest

[Kubernetes]
$ trivy k8s --kubeconfig ~/.kube/config2

[Misconfiguration]
$ trivy config --tf-vars terraform.tfvars .
$ trivy config --tf-vars terraform.tfvars ./
