dependency-check / dependency-check/azuredevops
disableOssIndex not working
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Due to issues with maven and ossindex, I have tried to disable it in the additional arguments:
additionalArguments: '--exclude /.nuget/ --disableOssIndex)'
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**)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.