Version matters here. From gateway v0.4.41, request and response
bodies are excluded from the events a cloud-connected gateway pushes to
Guardway Cloud unless you explicitly opt in (
GUARDWAY_CLOUD_SEND_BODIES).
Gateways up to v0.4.40 include prompt and completion bodies in cloud
request-log events — if that matters for your data boundary, upgrade.
Cloud-side raw events age out on a rolling 30-day window either way.
Local-only deployments (cloud mode off) never send anything.The data boundary
Audit logs live on the platform. Administrative actions across your organization — config changes, key rotations, role updates, gateway registrations — are recorded centrally on the Guardway dashboard. View them from Settings → Audit Log.
Encryption
- In transit — every connection the gateway originates (gateway → provider, gateway → control plane, SIEM export) enforces TLS 1.2+. Inbound hops (your app → gateway, dashboard → gateway) use TLS when you terminate it in front of the gateway — deploy the container behind a TLS-terminating proxy or load balancer.
- At rest — provider API keys and other secrets are AES-256-GCM encrypted on the gateway and decrypted only in memory; plaintext keys are never written to disk.
- Event redaction — the stored preview on every guardrail event is masked by the content filter before it is written (v0.4.41+), including secret-looking values among the recognised spans. Request logs record bodies as received; enable the secret/credential guardrail in mask mode to keep leaked credentials out of stored traffic.
- Matched values — beside the masked preview, every guardrail event records the exact values that tripped it (category, value and position) so an owner or admin can tell a real hit from a false positive. Secret and credential values are never recorded, only their category and position. The dashboard shows these values to owners and admins only; every other member, every API token without prompt access, and every SIEM destination that has not opted into content receives the event without them.
Authentication
- Dashboard users sign in through WorkOS, Guardway’s identity provider. By default you enter your email and then a 6-digit code that Guardway emails you; the code works once and expires after 10 minutes. Organizations set up for passwords sign in with email + password instead. Guardway sends the account emails itself, from
noreply@mail.guardway.ai: an invitation link works until the invitation expires (7 days, and it can be re-issued), a password reset link for 15 minutes (accounts that sign in with a code have no password to reset), and a sign-up confirmation link for 24 hours. Session timeouts are configurable per user (see Console). - Gateways authenticate to the control plane with a one-time registration token at first boot, then with long-lived derived credentials. You can revoke a gateway’s credentials from the dashboard at any time.
- Applications authenticate to the gateway with API keys you issue (see API keys) — per-key scopes, budgets, quotas and MCP access rules; IP allow/block-lists are enforced at the organization level.
Authorization (RBAC)
Organization roles:
See Access.
Container hardening
The published gateway image runs as a non-root user (uid 65532) by default, and the bundled MCP tool-bridge sidecars ship with dropped capabilities, no-new-privileges and a restricted seccomp profile. The gateway container itself is compatible with a read-only root filesystem, dropped capabilities and a default seccomp profile — set these in your deployment (composesecurity_opt/cap_drop, or your pod
security context). Any recent Docker, containerd, or Kubernetes release
supports them.
Content safety
Built-in guardrails run inside your deployment with no third-party SaaS in the inspection path: pattern-based checks (PII patterns, prompt-injection heuristics, keyword filters, IP lists) run in-process on the gateway, and model-backed checks (Safety SLM moderation, OrionFence PII) run in Guardway sidecar services deployed alongside it:- PII detection — SSN, credit card, email, phone, API key patterns.
- Hate speech / toxicity.
- Prompt injection — jailbreak and instruction-override patterns.
- Keyword filters — custom deny lists (keywords and regex patterns); operator exception phrases suppress false positives on the injection and content filters.
- IP allow / block-lists.
store_replay_payloads).
Data retention
- On the gateway — logs, guardrail events and traces are stored in the gateway’s PostgreSQL database (traces additionally in Jaeger); persist its data volume (the compose default maps
database_datato/var/lib/postgresql/data) to survive restarts. Retention is whatever your database and Jaeger deployment keep — the gateway does not impose a schedule. The/var/lib/guardwayvolume holds only the gateway’s cloud credentials. - On the cloud dashboard — aggregate usage and spend metrics are retained for the life of your subscription. Administrative audit logs are retained for 30 days, and raw request-log events age out on a rolling 30-day window. With the v0.4.41+ default, those events carry no request or response bodies; bodies sent by older gateways or opted-in deployments age out on the same 30-day window.
- AIDR incident record: the incidents in AIDR, their activity, their findings and the command text recorded with those findings (the first 240 bytes, redacted on the machine, again when Guardway stores it and again each time AIDR reads it) are kept on the cloud dashboard, in AIDR’s own record, apart from the machines’ reports and session events. No schedule deletes any of it yet. AIDR does not show a finding’s command text once the finding is older than your organization’s retention for machine reports, even in an open incident, and its search does not match that text, which stays stored. Once Guardway turns retention on: an open incident and its findings are never removed for their age; a resolved incident, with its activity and the findings only it cites, and findings that no incident cites can be removed after periods this page will give then; and a finding’s command text is cleared after your organization’s retention for machine reports, and AIDR then says the text is not shown because it is older than that retention. Suppression rules are never deleted: removing one marks it removed. Removing a machine keeps its AIDR findings under the machine’s name.
- Session events: the session timeline in People reads the machines’ session events, not the AIDR record. Session events Guardway received before mid-October 2026 are no longer kept. Newer ones are not removed for their age. Removing a machine from Fleet removes its sessions from People, but does not yet delete every stored copy of their events.
Session replays and error reports
The console uses PostHog for session replays and Sentry for error reports. For AIDR:- In a replay, text from AIDR’s incident record, such as machines, people, destinations and commands, is masked: in AIDR, in the AIDR line of a machine’s row in Fleet, and in the Incidents section of the machine panel. AIDR’s search box and its note fields are recorded as empty boxes.
- AIDR’s search and its person filter are taken out of the page addresses a replay records, and out of the addresses an error report or a trace carries.
Compliance
Guardway’s architecture is built to support:- SOC 2 — centralized auth, RBAC, audit logging, TLS in transit, key management, access reviews.
- HIPAA — centralized audit logs, PII guardrails, per-user access, automatic logoff (see Console).
- PCI DSS — encryption at rest for secrets, credit-card PII detection, unique user identification, full audit trail.
- GDPR — PII detection and redaction, data minimization (prompt bodies stay on your gateway by default from v0.4.41), incident-response support via audit log export.