logical.importNmapfunctionno test imports itfunction importNmap(file: string, xml: string): ImportedThe findings of an nmap XML report.
Nmap: the XML of -oX. Every open port of every host is an informational finding (the rule is open-port, the title says the port and the service), with the host name (or the address) as the asset, the port and protocol as the place, and the product and version the scan read from the service. Ports that are closed or filtered are not findings. What an open port means is the passive checks' to say, over the endpoints the estate holds: this importer only says what is open.
import { importNmap } from "./nmap.ts";
importNmap("n.xml", "<nmaprun/>").findings; // []logical.importNmapfunctionno test imports itfunction importNmap(file: string, xml: string): ImportedThe findings of an nmap XML report.
importNmapfunctionfunction importNmap(file: string, xml: string): ImportedThe findings of an nmap XML report.