diff --git a/Jenkinsfile b/Jenkinsfile index 3e2d608..0658947 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,7 +61,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 --scanners vuln,misconfig,secret,license --exit-code 1 --severity HIGH,CRITICAL --format template --template "@/contrib/html.tpl" -o reports/trivy-report.html .' + sh 'trivy fs --scanners vuln,misconfig,secret,license --exit-code 1 --severity HIGH,CRITICAL --format template --template "@/contrib/html.tpl" -o reports/trivy-fs-report.html .' } } } @@ -158,7 +158,7 @@ pipeline { alwaysLinkToLastBuild: true, keepAll: true, reportDir: 'reports', - reportFiles: 'trivy-report.html', + reportFiles: 'trivy-fs-report.html','trivy-image-report.html' reportName: 'Trivy Security Report' ])