Expand description
Output formatters for parlov: terminal table, structured JSON, and SARIF v2.1.0.
Modules§
- wire
- Helpers for building
--verboseProbeContext/ExchangeContextbundles.
Structs§
- Body
Samples Bundle - Per-side body samples, UTF-8-safe truncated to 256 bytes with a
(truncated, total Nb)marker when over cap, or<N bytes, non-text>when not valid UTF-8. - Chain
Provenance - Provenance for Phase 2 chain-derived
ProbeSpecs. - Exchange
Context - Always-present block: response status codes;
--verboseadds headers and body samples. - Headers
Bundle - Per-side header sets, filtered to a security-relevant allowlist.
- Probe
Context - Always-present block: what was actually sent on the wire.
- Repro
Info - Reproducible
curlcommands for the baseline and probe requests of a finding. - Scan
Finding - A single finding from a scan run – one strategy applied to one method.
Functions§
- build_
curl - Builds a multi-line curl command from a
ProbeDefinition. - render_
endpoint_ verdict_ json - Renders a scan result with endpoint-level verdict as nested JSON.
- render_
endpoint_ verdict_ sarif - Renders scan findings with endpoint-level verdict as SARIF v2.1.0.
- render_
endpoint_ verdict_ table - Renders an endpoint-level verdict summary followed by per-strategy detail rows.
- render_
json - Renders a single
OracleResultas the v1.2.0 nested JSON schema. - render_
sarif - Renders a single
OracleResultas a SARIF v2.1.0 JSON string. - render_
scan_ json - Renders a slice of scan findings as the v1.2.0 nested JSON schema.
- render_
scan_ sarif - Renders a slice of
ScanFindings as SARIF v2.1.0. - render_
scan_ table - Renders a slice of scan findings as a summary terminal table.
- render_
table - Renders an
OracleResultas a human-readable terminal table.