logical.importZapfunctionno test imports itfunction importZap(file: string, text: string): ImportedThe findings of a ZAP JSON report.
OWASP ZAP: the JSON report (-J, or the traditional JSON report). Every alert of every site is one finding (the instances of an alert are one finding with the first place and how many there were), with the risk code as the severity (3 high, 2 medium, 1 low, 0 informational: ZAP has no critical), the CWE from cweid and the asset the origin of the site. The request, the response and the evidence of an instance are cut short and redacted.
import { importZap } from "./zap.ts";
importZap("zap.json", JSON.stringify({ site: [] })).findings; // []logical.importZapfunctionno test imports itfunction importZap(file: string, text: string): ImportedThe findings of a ZAP JSON report.
importZapfunctionfunction importZap(file: string, text: string): ImportedThe findings of a ZAP JSON report.