Security
Keep Omni secure — RLS, encryption, PII masking, audit, and security practices.
Omni is built with layered security and is designed to align with ISO 27001. The implementation status of each control is documented openly in the project’s Statement of Applicability.
Security layers
Section titled “Security layers” Security features
- Row-Level Security (RLS) — per-tenant data isolation; without tenant context, no data is shown (fail-closed).
- RBAC + ABAC — role- and attribute-based access control.
- Encryption — sensitive-data encryption (AES-256-GCM).
- PII Masking — personal-data masking.
- Audit trail — records all changes.
- 2FA / MFA — two-factor authentication.
- Rate limiting & Idempotency — API protection.
Production practices
Section titled “Production practices”- Set RLS_ENABLED=true, PII_MASKING=true, AV_FAIL_CLOSED=true.
- Use httpOnly cookie for the refresh token.
- Set JWT issuer/audience.
- Encrypt secrets at rest.
- Apply least-privilege principles to roles.