IF Commons GitHub

logical/nuclei

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

Nuclei: the JSON lines of -jsonl. Every line is a finding with the template as the rule, the severity the template gives (info, low, medium, high, critical), the host as the asset (the origin of the address), the address it matched as the place, and the CVE and CWE of the template's classification. The request, the response and the command line to repeat it (which hold what was sent) are never read; what the template extracted is cut short and redacted.

import { importNuclei } from "./nuclei.ts";
importNuclei("n.jsonl", "").findings; // []

Source: commons/findings/src/logical/nuclei.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.importNucleifunctionno test imports it
function importNuclei(file: string, text: string): Imported

The findings of nuclei's JSON lines.

importNucleifunction
function importNuclei(file: string, text: string): Imported

The findings of nuclei's JSON lines.

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

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