From a9df25085ab4a19f9fc4dffa5c2bd2924dbac45b Mon Sep 17 00:00:00 2001 From: "Achim H." Date: Wed, 6 May 2026 08:51:05 +0200 Subject: [PATCH] added Trivy scanners --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6bc1e7c..ed08c13 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,7 @@ pipeline { // --template "@/contrib/html.tpl": Das Standard-Trivy-Layout // Scannt das Dateisystem auf Schwachstellen (NuGet) und Secrets // --exit-code 1 lässt die Pipeline bei kritischen Fehlern abbrechen - sh 'trivy fs --exit-code 1 --severity HIGH,CRITICAL --format template --template "@/contrib/html.tpl" -o reports/trivy-report.html .' + sh 'trivy fs -scanners vuln,secret,misconfig,license --exit-code 1 --severity HIGH,CRITICAL --format template --template "@/contrib/html.tpl" -o reports/trivy-report.html .' } } }