Class GoModProcessor
java.lang.Object
org.owasp.dependencycheck.utils.processing.Processor<InputStream>
org.owasp.dependencycheck.processing.GoModProcessor
- All Implemented Interfaces:
AutoCloseable, Runnable
Processor for the output of `go list -m -json all`.
- Author:
- Jeremy Long
-
Constructor Summary
ConstructorsConstructorDescriptionGoModProcessor(Dependency goDependency, Engine engine) Constructs a new processor to consume the output of `go list -m -json all`. -
Method Summary
Methods inherited from class Processor
addSuppressedExceptions, getInput, setInput
-
Constructor Details
-
GoModProcessor
Constructs a new processor to consume the output of `go list -m -json all`.- Parameters:
goDependency- a reference to `go.mod` dependencyengine- a reference to the dependency-check engine
-
-
Method Details
-
run
public void run() -
close
Throws any exceptions that occurred during processing.- Throws:
AnalysisException- thrown if an AnalysisException occurred
-