You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not work and causes the pipeline to fail with "Unrecognized option: --disableOssIndex"
Searching for left over lock files...
found no left over lock files, continuing...
/home/vsts/work/_tasks/dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72/6.3.0/dependency-check/bin/dependency-check.sh --project XXXXXX --out /home/vsts/work/1/TestResults/dependency-check/XXXXXX-dependency-check-report.html --scan /home/vsts/work/1/s/XXXXX --format HTML --failOnCVSS 11 --log /home/vsts/work/1/TestResults/dependency-check/log --nvdApiKey XXXXXXXX --exclude /.nuget/ --data /home/vsts/work/1/nvd-data --disableOssIndex) Unrecognized option: --disableOssIndex)
To Reproduce
Add --disableOssIndex to your additionalArguments
Expected behavior
Dependency Check work
Logs
Searching for left over lock files...
found no left over lock files, continuing...
/home/vsts/work/_tasks/dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72/6.3.0/dependency-check/bin/dependency-check.sh --project XXXXXX --out /home/vsts/work/1/TestResults/dependency-check/XXXXXX-dependency-check-report.html --scan /home/vsts/work/1/s/XXXXX --format HTML --failOnCVSS 11 --log /home/vsts/work/1/TestResults/dependency-check/log --nvdApiKey XXXXXXXX --exclude /.nuget/ --data /home/vsts/work/1/nvd-data --disableOssIndex) Unrecognized option: --disableOssIndex)
Activity
chadlwilson commentedon Aug 4, 2026
Probably using an old ODC version (not the plugin version) and need to update.