Class ClairParser

All Implemented Interfaces:
Serializable

public class ClairParser extends JsonIssueParser
A parser for clair scanner json output.
Author:
Andreas Mandel
See Also:
  • Constructor Details

    • ClairParser

      public ClairParser()
  • Method Details

    • parseJsonObject

      protected void parseJsonObject(Report report, org.json.JSONObject jsonReport, IssueBuilder issueBuilder)
      Description copied from class: JsonIssueParser
      Parses the specified JSON object and populates the provided report with all issues.
      Overrides:
      parseJsonObject in class JsonIssueParser
      Parameters:
      report - the report to fill
      jsonReport - the input JSON report given as JSON object
      issueBuilder - build to be used to create issues