logical.importNessusfunctionno test imports itfunction importNessus(file: string, xml: string): ImportedThe findings of a Nessus export.
Nessus: the .nessus XML export (NessusClientData_v2). Each report item of each host is a finding with the severity Nessus gives it (4 critical, 3 high, 2 medium, 1 low, 0 informational), the host as the asset, the port and protocol as the place, the plugin as the rule, the CVEs and the CWE it names, and the synopsis, description and solution. What a plugin printed (plugin_output) is cut short and redacted, and the properties of the host (its credentials and its operating system) are not read.
import { importNessus } from "./nessus.ts";
importNessus("a.nessus", "<NessusClientData_v2><Report name=\"r\"/></NessusClientData_v2>").findings; // []logical.importNessusfunctionno test imports itfunction importNessus(file: string, xml: string): ImportedThe findings of a Nessus export.
importNessusfunctionfunction importNessus(file: string, xml: string): ImportedThe findings of a Nessus export.