Class GrypeParser

All Implemented Interfaces:
Serializable

public class GrypeParser extends JsonIssueParser
JSON report parser for grype (https://plugins.jenkins.io/grypescanner/ / https://github.com/anchore/grype).
See Also:
  • Constructor Details

    • GrypeParser

      public GrypeParser()
  • 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