I'm using the OWASP Dependency Check and the project is Java
but .NET Assembly Analyzer could not be initialized and at least one'exe' or'dll' was scanned. The'dotnet' executable could not be found on the path; I was in trouble with the error "either disable the Assembly Analyzer or configure the path dotnet core.
.
So, disable the .Net
family of Assembly Analyzer.
You can do this by disabling ʻassemblyAnalyzerEnabled,
nugetconfAnalyzerEnabledand
nuspecAnalyzerEnabled` as follows:
<!--abridgement-->
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>5.0.0</version>
<configuration>
<!-- .Disable Net content-->
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<nugetconfAnalyzerEnabled>false</nugetconfAnalyzerEnabled>
<nuspecAnalyzerEnabled>false</nuspecAnalyzerEnabled>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!--abridgement-->
See the official documentation below for what can be disabled.
If it is Java
, it may be okay to cut off the contents related to Golang
.
Recommended Posts