IF Commons GitHub

logical/nessus

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0003-findings-importers FR-004

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; // []

Source: commons/findings/src/logical/nessus.ts

1 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

logical.importNessusfunctionno test imports it
function importNessus(file: string, xml: string): Imported

The findings of a Nessus export.

importNessusfunction
function importNessus(file: string, xml: string): Imported

The findings of a Nessus export.

Imported by 8 tests of the run (8 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.