What problem does it solve?
Classify schema columns for PII (SSN, email, phone, name, address, credit card) and check whether queries expose them. Use for GDPR/CCPA/HIPAA compliance audits.
Core Features & Use Cases
- Classify PII from schema context using altimate_core_classify_pii(schema_context: <schema_object>) or by indexing a warehouse with schema_index(warehouse: <name>), then schema_inspect(warehouse: <name>, database: <db>, schema: <schema>, table: <table>), followed by schema_detect_pii(warehouse: <name>).
- Check PII exposure for individual queries or dbt models with altimate_core_query_pii(sql: <sql>, schema_context: <schema_object>), returning which PII columns are accessed, the risk level, and whether data is exposed in the output.
- Audit dbt models in batch (glob models/**/*.sql) and generate a comprehensive PII audit report.
- Present an audit report listing HIGH/MEDIUM risk columns and recommended mitigations.
Quick Start
Run /pii-audit to scan the full project schema for PII.