diff --git a/scripts/generateAndCheckSBOM.js b/scripts/generateAndCheckSBOM.js index 060d9aa15..f84e9e5e2 100755 --- a/scripts/generateAndCheckSBOM.js +++ b/scripts/generateAndCheckSBOM.js @@ -513,7 +513,7 @@ async function main() { // https://github.com/jeremylong/DependencyCheck/issues/4293 // https://github.com/jeremylong/DependencyCheck/issues/1947 fs.existsSync('package-lock.json') && fs.unlinkSync('package-lock.json') - !cmd.quick && await run('mvn org.owasp:dependency-check-maven:check -Dformat=JSON -q', { throw: false }); + !cmd.quick && await run('mvn org.owasp:dependency-check-maven:8.4.2:check -Dformat=JSON -q', { throw: false }); sumarizeOWASP('target/dependency-check-report.json', vulnerabilities); }