Security

Transport

All API traffic uses HTTPS with a valid TLS certificate. Never disable certificate verification — no curl -k, no NODE_TLS_REJECT_UNAUTHORIZED=0. Guardian Logs never needs inbound access to your servers; you push to us.

Credential handling

never in source control, tickets, or shell history. Use the $GUARDIAN_API_KEY / $GUARDIAN_INGEST_TOKEN env-var pattern shown throughout these docs.

secret half is stored, so a lost credential cannot be recovered — rotate it.

disrupting everything else.

one. Revoke takes effect immediately (next request → 401).

Tenant isolation

request field. You cannot reach another tenant's data by manipulating an id, cursor, or filter.

so callers cannot probe for the existence of credentials, orgs, or apps.

read-only and gated by explicit scopes. Neither can perform the other's actions.

What NOT to send (ingest)

Guardian Logs stores log content. Redact secrets and PII at the source before sending. Do not transmit passwords, session tokens/cookies, Authorization headers or bearer tokens (including your own gl_live_ token), API secrets, DB connection strings with inline credentials, payment data, or unnecessary PII.

As defense in depth, Guardian Logs applies best-effort server-side redaction of obvious secret shapes at ingestion — but this is pattern matching, not a guarantee. You remain responsible for what you transmit. Full guidance is in ingest.md.

See also: authentication.md · scopes.md · idempotency.md.