diff --git a/Jenkinsfile b/Jenkinsfile index 18a8e36..356ecd7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -83,7 +83,7 @@ node('docker') { // Scan container for all vulnerability levels sh 'mkdir -p reports' - sh 'trivy image --ignore-unfixed --vuln-type os,library --no-progress --format template --template "@html.tpl" -o reports/container-scan.html ${imagename}:${tag}' + sh "trivy image --ignore-unfixed --vuln-type os,library --no-progress --security-checks vuln --format template --template '@html.tpl' -o reports/container-scan.html ${imagename}:${tag}" publishHTML target : [ allowMissing: true, alwaysLinkToLastBuild: true,