changed back to "@/contrib/html.tpl"
All checks were successful
Tests / Declarative: Post Actions No test results found
csharp-secdevops-pipeline-pod/pipeline/head This commit looks good

This commit is contained in:
2026-05-13 10:14:55 +02:00
parent ebd021eeb7
commit 3e752c909b

4
Jenkinsfile vendored
View File

@@ -59,7 +59,7 @@ pipeline {
// Ausführen des Scans hinsichtlich Vulnerabilities, Miskonfigurationen, Secrets und Licences im Jenkins Arbeitsverzeichnis
// Abbruch bei bei kritischen Fehlern (--exit-code 1 --severity HIGH,CRITICAL)
sh 'trivy fs --scanners vuln,misconfig,secret,license --exit-code 1 --severity HIGH,CRITICAL --format template --template "html" -o reports/trivy-fs-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 .'
}
}
}
@@ -148,7 +148,7 @@ pipeline {
trivy image --insecure \
--severity HIGH,CRITICAL \
--format template \
--template "html" \
--template "@/contrib/html.tpl" \
--exit-code 1 \
-o reports/trivy-image-report.html \
130.61.26.230:30080/dev-master/secdevops-csharp-app:latest