parlov-output 0.7.0

Output formatters for parlov: SARIF, terminal table, and raw JSON.
Documentation

parlov-output

Output formatters for parlov. Renders oracle results as terminal tables, structured JSON, or SARIF v2.1.0.

table

use parlov_output::render_table;

let output = render_table(&result);
println!("{output}");

ANSI-colored by verdict (red = Confirmed, yellow = Likely, green = NotPresent) and severity (red = High, yellow = Medium, cyan = Low). Shows confidence score and impact class. Label, Leaks, and RFC Basis rows appear when the classifier provides metadata; omitted for NotPresent results.

json

use parlov_output::render_json;

let json = render_json(target_url, &result, strategy_id, strategy_name, method)?;

v1.0.0 schema with nested groups: finding (containing finding_id, strategy, result, technique, matched_pattern, evidence). Deterministic finding IDs for cross-run deduplication.

scan json

use parlov_output::render_scan_json;

let json = render_scan_json(target_url, &findings)?;

findings array variant of the same schema.

sarif

use parlov_output::render_sarif;

let sarif = render_sarif(target_url, &result, strategy_id, method)?;

SARIF v2.1.0 with one rule per technique, security-severity derived from confidence, signals as relatedLocations, and deterministic fingerprints for cross-run deduplication.

license

MIT OR Apache-2.0