-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't disable MSBuild Analyzer from CLI #3035
Comments
Thanks for pointing out the miss when the MSBuild Analyzer was added. You can disable via JAVA_OPTS: export JAVA_OPTS='-Danalyzer.msbuildproject.enabled=false' |
That works great for now, thanks! |
This will be included in the next release. |
hi @jeremylong, |
I use the new version dependency-check(6.0.5), but there is other issue. Could you help me to see how to solve it? #3090 |
This was referenced Mar 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
There's no CLI option that disables the MSBuild Analyzer, the only way to do so is with a
.properties
file.If I understand it correctly, there should be a
disableMsBuild
option in https://github.com/jeremylong/DependencyCheck/blob/main/cli/src/main/java/org/owasp/dependencycheck/CliParser.java and then it needs to be used in https://github.com/jeremylong/DependencyCheck/blob/main/cli/src/main/java/org/owasp/dependencycheck/App.javapopulateSettings
to overwriteANALYZER_MSBUILD_PROJECT_ENABLED
.Version of dependency-check used
The problem occurs using version 6.0.3 of the cli
The text was updated successfully, but these errors were encountered: