database-tenant-isolation-audit - Audit Multi-Tenant Database Isolation
Audits data-layer tenant isolation across models, context propagation, policies, bypasses, schema design, and database privileges.
Tags
Updated: 2026-12-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Identify tenancy isolation models
- Trace tenant context propagation
- Verify data-layer enforcement
- Test tenant-operation policy matrices
- Detect cross-tenant bypasses
- Review schema and privileges
- Plan phased remediation
Inputs
- Tenancy model documentation
- DDL and migrations
- RLS policies, roles, and grants
- Connection and tenant-context code
- Connection-pool configuration
- Views, triggers, functions, and jobs inventory
- ORM or SQL query examples
- Replica, CDC, and backup configuration
- Token tenant-claims schema
Outputs
- Tenant-isolation audit report
- Tenant-context propagation map
- Policy-matrix test results
- Cross-tenant bypass inventory
- Phased remediation plan
Requirements
- Authenticated identity model
