Operator-grade edge diagnostics.
Know your edge before it breaks.
Installation • Usage • Features • Philosophy
Sango (珊瑚, "coral") is a read-only diagnostic CLI that tells you whether a web edge is sane, observable, and survivable. Like coral monitoring the health of a reef, Sango watches over your edge infrastructure.
It performs active but safe diagnostics against a target endpoint and evaluates it against well-known edge invariants. It answers questions, not just metrics.
Edge incidents are rarely caused by a single failure. They emerge from small mismatches:
- TLS that works but is brittle
- HTTP/3 advertised but never negotiated
- Security headers that contradict each other
- Certificates expiring without warning
Operators usually discover these too late.
Sango helps you find these issues before they become incidents.
| Check | What it does |
|---|---|
| TLS | Certificate chain, expiry warnings, cipher suite analysis, ALPN negotiation, TLS version |
| HTTP | HTTP/1.1, HTTP/2, HTTP/3 detection, redirect chain tracking, Alt-Svc parsing |
| Security Headers | HSTS, CSP (unsafe-inline/eval detection), COOP/COEP, X-Frame-Options, Referrer-Policy |
| Latency | DNS, TCP connect, TLS handshake, TTFB breakdown with threshold-based warnings |
cargo install sangoOr build from source:
git clone https://github.com/raskell-io/sango.git
cd sango
cargo build --release# Full diagnostics with pretty output
sango https://example.com
# JSON output for automation
sango https://example.com -f json
# Compact single-line summary
sango https://example.com -f compact
# Skip specific checks
sango https://example.com --skip-tls --skip-headers
# Custom timeout
sango example.com:8443 -t 30sango edge diagnostics
────────────────────────────────────────────────────────────
Target: https://example.com
Time: 2025-01-15 10:30:00 UTC
Status: Degraded
TLS
Connection: OK
Version: TLS 1.3
Cipher: TLS13_AES_256_GCM_SHA384
ALPN: h2
Certificate
Subject: CN=example.com
Issuer: C=US, O=DigiCert Inc, CN=DigiCert TLS RSA SHA256
Chain: 3 certificates
Expires: 45 days
Issues
~ [medium] Certificate expires in 45 days
Security Headers
HSTS: max-age=31536000, preload
CSP: present
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Latency
DNS: 2ms
TCP: 15ms
TLS: 45ms
TTFB: 120ms
Total: 182ms
────────────────────────────────────────────────────────────
- Read-only: No mutations, no agents, no config access
- Safe for production: All probes are standard HTTP/TLS operations
- Opinionated output: Judgments, not raw data dumps
- Operator-focused: Answers questions like "is this edge healthy?"
| Code | Meaning |
|---|---|
| 0 | Healthy or Degraded (non-critical issues) |
| 1 | Unhealthy (critical or high severity issues) |
| 2 | Unknown (probe failed to complete) |
Sango is part of the raskell.io ecosystem, alongside:
If you find Sango useful, consider supporting its development:
Apache-2.0