Full support for PostgreSQL 12+
Automatically discover and classify PII fields in your PostgreSQL database. Our AI scans table schemas and sample data to identify personal information like emails, phone numbers, Aadhaar numbers, and more, helping you build your DPDP data map.
Create a read-only user with minimal privileges. We only need to read schema metadata and sample a few rows.
-- Create a read-only user for Privacy Labs CREATE USER privacylabs_scanner WITH PASSWORD 'your_secure_password'; -- Grant connect permission GRANT CONNECT ON DATABASE your_database TO privacylabs_scanner; -- Grant schema usage GRANT USAGE ON SCHEMA public TO privacylabs_scanner; -- Grant SELECT on all tables (read-only) GRANT SELECT ON ALL TABLES IN SCHEMA public TO privacylabs_scanner; -- For future tables ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO privacylabs_scanner;
In your admin dashboard, go to Data Discovery → Integrations and click Add Connection.
Choose PostgreSQL from the list of supported databases.
Fill in your database credentials. You can use a connection string or enter fields individually.
For serverless environments (like our platform), you must use Supabase's Transaction Pooler instead of the direct connection. Go to Supabase Dashboard → Settings → Database → Connection string → Select "Transaction pooler".
postgres.abcdefghijklmnop). You can find this in your Supabase connection string.Click Test Connection to verify credentials. If successful, click Save.
Go to Data Discovery → Run Discovery, select your PostgreSQL connection, and start the scan.
Your database password is encrypted with AES-256 at rest.
All connections use TLS encryption in transit.
Static IPs available for firewall rules on request.
All scan activities are logged for compliance.
Connect in under 5 minutes and discover PII fields automatically.
Book a call