use zap2docker-weekly
@@ -129,7 +129,7 @@ pipeline {
sh "docker system prune -a -f"
sh "mkdir ${WORKSPACE}/zap-reports"
sh "chmod 777 ${WORKSPACE}/zap-reports"
- sh "docker run -v ${WORKSPACE}/zap-reports:/zap/wrk/:rw owasp/zap2docker-stable zap-full-scan.py -t https://192.168.1.4:28443 -a -j -J baseline-scan-report.json -x baseline-scan-report.xml -r baseline-scan-report.html || true"
+ sh "docker run -v ${WORKSPACE}/zap-reports:/zap/wrk/:rw owasp/zap2docker-weekly zap-full-scan.py -t https://192.168.1.4:28443 -a -j -J baseline-scan-report.json -x baseline-scan-report.xml -r baseline-scan-report.html || true"
archiveArtifacts "**/baseline-scan-report.*"
}
}
