← revvyn.com

Production Readiness

The controls Revvyn has implemented, each described.

Controls
listed below — each names the control it describes
Authentication & Authorization
✓SHA-256 hashed API keys — raw keys never stored
✓Multi-tenant isolation — tenant-scoped queries on every endpoint
✓PostgreSQL Row-Level Security — database-level isolation
✓RBAC — 4 roles (admin, operator, auditor, readonly)
✓API key scoping — create, rotate, revoke via API
✓IP allowlisting — CIDR allowlist stored per tenant; request-time enforcement not yet wired
Encryption
✓TLS 1.3 in transit — HTTPS-only (terminated at the Render edge)
✓AES-256 at rest — PostgreSQL TDE (Render managed)
✓HMAC-SHA256 webhooks — signed payloads
Audit & Compliance
✓Append-only, hash-chained audit trail — PostgreSQL trigger prevents UPDATE/DELETE (not yet externally anchored)
✓Retention — a 7-year retention target is stamped at write; automated deletion not yet implemented
✓Hash-chain verification — tamper detection via /v1/audit/verify
✓Auth event logging — every key validation logged
✓Request tracing — X-Request-ID on every response
✓SOC2 evidence pack — one-click export via /v1/reports/evidence-pack
Security Headers
✓Content-Security-Policy — script/style/font restrictions
✓X-Frame-Options: DENY — clickjacking prevention
✓X-Content-Type-Options: nosniff
✓Referrer-Policy — strict-origin-when-cross-origin
Input Validation
✓Pydantic models on all API inputs — type checking, max_length
✓SQL injection safe — SQLAlchemy parameterized queries
✓Null byte stripping — field_validator on text inputs
✓Structured error responses — JSON with error codes and request_id
Rate Limiting & Resilience
✓Per-tenant rate limiting — X-RateLimit headers on every response
✓Circuit breaker — on webhook and notification delivery
✓Retry with backoff — exponential backoff on rail failures
✓Idempotency — send an X-Idempotency-Key header and a retry with the same key within 30 minutes, after the first request has completed, returns the stored response. Keys are scoped per account and environment. The request body is not compared.
CI/CD & Testing
✓GitHub Actions pipeline — lint, security scan, test, Docker build
✓Automated test suite — auth, isolation, contracts, security, e2e
✓bandit SAST — the CI gate blocks any medium/high finding
✓Trivy container scan — Docker image vulnerability check
✓Deploy verification script — automated post-deploy checks
Infrastructure
✓Production Dockerfile — multi-stage, non-root user, health check
✓Render deployment — managed hosting, EU region, health-checked auto-deploy
✓PostgreSQL 18 — Frankfurt, EU (data sovereignty)
✓Automated backups — provided by the Render PostgreSQL plan (verify cadence + PITR in the dashboard)
✓Alembic migrations — versioned schema changes
✓Connection pooling — pool_size=20, pool_pre_ping=True
Monitoring & Operations
✓Deep health check — per-component status via /v1/system/health/deep
✓Structured logging — JSON with request_id, tenant_id, duration
✓Alert rules engine — custom rules with webhook delivery
✓Incident management — create, track, resolve incidents
✓Operations runbook — documented procedures for every scenario
Platform Capabilities
✓API surface — payments, governance, intelligence, reputation, network
✓Payment rails — SEPA, SWIFT, RTP, ACH, Visa, Mastercard, and USDC
✓Regulatory framework mapping — FATF, PSD2, MiCA, BSA, GDPR, FCA, sanctions and more
✓Agent Reputation Passport — per-agent trust scoring (single-tenant today; cross-tenant portability is on the roadmap)
✓Network intelligence — network-pattern flags and corridor analysis (cross-partner learning not yet enabled)