ojob.io/sec/trivy

Usage

ojob ojob.io/sec/trivy path=aFolder/somewhere image=opeanf/oaf options=--insecure dockerOptions="-v trivy:/root/.cache/trivy" localdocker=true nodocker=true noparse=true report=true 

Description

Execute trivy to scan for vunerabilities

Expects

Name Description
path Scan the provided path (defaults to .)
image Scan the provided image
options Extra options to provide to trivy
dockerOptions Changes the docker options used from the default "-v trivy-db:/root/.cache/trivy"
localdocker Boolean to indicate if the local docker registry should be used by trivy
nodocker Don't use trivy through docker (defaults to false)
noparse Don't parse trivy result (defaults to false)
report If report=true will add extra options & set noparse=true to produce a HTML report