Class PnpmAuditParser

All Implemented Interfaces:
Serializable

public class PnpmAuditParser extends JsonIssueParser

Parser for reports of pnpm audit scans.

Usage: pnpm audit --json > pnpm-audit.json

Author:
Fabian Kaupp - kauppfbi@gmail.com
See Also:
  • Constructor Details

    • PnpmAuditParser

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