parlov-output
Output formatters for parlov. Renders oracle results as terminal tables, structured JSON, or SARIF v2.1.0.
table
use render_table;
let output = render_table;
println!;
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 render_json;
let json = render_json?;
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 render_scan_json;
let json = render_scan_json?;
findings array variant of the same schema.
sarif
use render_sarif;
let sarif = render_sarif?;
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