Output formats

--format picks the output: text for people, and JSON, JSONL, or SARIF for machines. -o writes it to a file.

Format Use
text (default) Reading. Colored in a terminal, plain when piped or written to a file, or with NO_COLOR set.
json The full report, written when the scan ends.
jsonl One event per line as the scan runs: for long scans, and for tools that act on partial results.
sarif SARIF 2.1.0, for GitHub code scanning and other tools that read it.

The JSON report

{
  "schema_version": "1.4.0",
  "tool": {"name": "yawast", "version": "0.14.0"},
  "target": "https://staging.example.com/",
  "started_at": "2026-12-05T07:40:27Z",
  "finished_at": "2026-12-05T07:41:40Z",
  "findings": [ … ],
  "observations": [ … ],
  "checks": [ … ],
  "stats": {"requests": 1392, "findings_by_severity": {"high": 22, "medium": 15}},
  "rules": [ … ],
  "data_sources": [ … ]
}
  • findings: each has a rule_id, title, severity, confidence, check_id, location (url, method, parameter, parameter_in), evidence (the HTTP request and response, payload, highlight, and data), and a stable fingerprint.
  • observations: facts that are not problems, by kind (such as technology, tls.certificate, mail.spf), with a subject, value, items, and data.
  • checks: every check’s status (ok, error, or skipped with the reason), the notes it recorded about what limited its coverage, and, in mail scans, the target it ran against.
  • rules: the catalog entry for each rule in findings, so the report describes itself.
  • data_sources: the third-party data the scan used, with versions, so results can be reproduced.
  • incomplete: set, with the reason, when the scan stopped early.

schema_version changes whenever the report does. So far each change has only added fields (observations in 1.3.0, checks[].target in 1.4.0).

JSONL events

Each line is one event: scan.start, check.start, check.done, finding, observation, or scan.done (with the stats).

{"type":"finding","time":"2026-12-05T07:40:31Z","finding":{"rule_id":"http.files.git","severity":"high", … }}