diff --git a/vars/audit.groovy b/vars/audit.groovy index 9c2447b..4c68e34 100644 --- a/vars/audit.groovy +++ b/vars/audit.groovy @@ -102,12 +102,12 @@ def call() { script { def totalMediumVulnerabilities = sh( - script: "grep 'MEDIUM' report.html | wc -l", + script: "grep 'MEDIUM' reports/report.html | wc -l", returnStdout: true ).toInteger() def totalHighVulnerabilities = sh( - script: "grep 'HIGH' report.html | wc -l", + script: "grep 'HIGH' reports/report.html | wc -l", returnStdout: true ).toInteger()