From 5737cb2843ca1d45163cfd490c5e51a506f1828b Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Tue, 16 Aug 2022 16:10:27 +0000 Subject: [PATCH] jenkins again --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,