Dependencycheck: Error from GrokAssembly:

Created on 11 Jan 2021  路  1Comment  路  Source: jeremylong/DependencyCheck

Hello,

May I ask what is the right place for GrokAssembly.zip in dependency-check cli? When I run dependency-check.bat in my .NET project I see warning "Error from GrokAssembly: null". I downloaded the GrokAssembly repository build and publish it and finally made a zip file. I placed zip into plugin folder in cli but still I see warning. I tried many places but with same result.

CLI Command: dependency-check.bat --proxyserver localhost --proxyport 3128 --scan . --log run.log
OS: Windows 10 1909
OWASP Dependency checker: 6.04
.NET Core: Both 2.X and 3.X installed.

Thank you

bug

Most helpful comment

You can ignore the warning. The issue is due to a typo:

-                if (Strings.isNullOrEmpty(errorOutput)) {
+                if (!Strings.isNullOrEmpty(errorOutput)) {
                     LOGGER.warn("Error from GrokAssembly: {}", errorOutput);

The fix will be included in the next release.

>All comments

You can ignore the warning. The issue is due to a typo:

-                if (Strings.isNullOrEmpty(errorOutput)) {
+                if (!Strings.isNullOrEmpty(errorOutput)) {
                     LOGGER.warn("Error from GrokAssembly: {}", errorOutput);

The fix will be included in the next release.

Was this page helpful?
0 / 5 - 0 ratings