Class MixAuditProcessor

java.lang.Object
org.owasp.dependencycheck.utils.processing.Processor<InputStream>
org.owasp.dependencycheck.processing.MixAuditProcessor
All Implemented Interfaces:
AutoCloseable, Runnable

public class MixAuditProcessor extends Processor<InputStream>
Processor for the output of `mix_audit`.
Author:
Jeremy Long
  • Constructor Details

    • MixAuditProcessor

      public MixAuditProcessor(Dependency mixDependency, Engine engine)
      Constructs a new processor to consume the output of `mix_audit`.
      Parameters:
      mixDependency - a reference to `mix.lock` dependency
      engine - a reference to the dependency-check engine
  • Method Details

    • run

      public void run()
    • close

      public void close() throws IOException, AnalysisException, us.springett.parsers.cpe.exceptions.CpeValidationException
      Throws any exceptions that occurred during processing.
      Throws:
      IOException - thrown if there was an error reading from the process
      AnalysisException - thrown if an analysis error occurred
      us.springett.parsers.cpe.exceptions.CpeValidationException - if there is an error building the CPE/VulnerableSoftware object