Skip to content

scan

Runs every check against the target URL: TLS/transport, HTTP security headers, client-IP/header trust boundaries, and information disclosure via exposed management interfaces.

Terminal window
proxyaudit scan <url>
FlagDescription
--aggressiveEnable Agg-tier checks. No effect in v0.1 — no Agg-tier checks exist yet — but wired through so later milestones don’t require a CLI change.
--engine stringHint the fronting proxy engine: nginx, traefik, envoy, caddy, or haproxy. Optional, overrides auto-detection.
--format stringTerminal display format (default terminal).
--no-colorDisable ANSI colors in terminal output.
--output stringFile path to additionally write the report to.
--output-format stringFormat for --output (default json).
--quietSuppress terminal display of the report.
--report-url stringHTTP endpoint to POST the report to.
--report-header key=valueAdditional HTTP headers for the report transport (repeatable).
--report-format stringFormat for --report-url (default json).
--show-all-findingsShow every finding on stdout, not just vulnerable ones. Other outputs (--output, --report-url) always include every finding.

Supported formats: terminal, json, yaml, jsonl, sarif, markdown, html.

CodeMeaning
0No findings.
1Findings present.
2Runtime/connection error (target unreachable, TLS handshake failure, reporting error).

This makes proxyaudit scan safe to use directly as a CI gate — a non-zero exit fails the step.

Terminal window
proxyaudit scan https://proxy.example.com
Terminal window
proxyaudit scan https://proxy.example.com --engine traefik --output report.json
Terminal window
proxyaudit scan https://proxy.example.com --format json --quiet