PII / Compliance Agent
Warehouse-native PII discovery and monitoring for compliance and governance teams.
Discover, monitor, and govern sensitive data across your warehouse β without writing SQL, and without your data ever leaving your environment.
The PII agent helps compliance, data governance, and platform teams answer three questions with confidence:
- Where does PII live in my warehouse?
- Is sensitive data sitting unmasked where it shouldn't be?
- When new PII appears (or leaks) how do I know?
It runs entirely inside your warehouse using SQL-based detection, then aggregates findings alongside your existing warehouse classification tags into a single, exportable inventory view β the audit-ready map of PII posture that compliance and audit teams have always wanted, but never had a straightforward way to produce.
How to get started
- Go to Agentic Operations in the left nav
- Select PII / Compliance agent
- Click Open and describe in plain language what you want to monitor β e.g., "Help me create a monitor to alert when unexpected PII is found in my tables"
- The agent walks you through scope, PII types, and threshold, previews the monitor configuration, and asks you to confirm before it creates anything
Under the hood, the agent creates a Bulk PII monitor β a dedicated monitor type that scans across multiple columns and PII types in a single pass, with sampling enabled by default. This isn't something you'd replicate through the standard metric monitor UI, which requires configuring each PII type individually and doesn't support bulk sampling.
The monitor only alerts on unmasked PII. If a column's values are already masked, no alert fires β by design.
The PII Inventory β your single source of truth
The PII Inventory is the agent's primary output view. Find an aggregated view under Agentic Operations β PII / Compliance agent β Results tab, or in the Results tab of a specific Bulk PII monitor.
The inventory answers where does sensitive data live across our warehouse β and just as importantly, What sensitive data do I already have classified, and where?
It aggregates findings from your Bulk PII monitors alongside your existing warehouse classification tags, presenting each column with three states:
Filter by warehouse, database, or schema. Export a summary for CIO, audit, or cyber insurance reviews.
Reviewing findings
Not every detection is real PII. e.g. a numeric ID column can match the phone-number pattern. When a finding is wrong, mark it as Not PII from the inventory.
- The decision persists across future scans β the finding drops out of active results and stops triggering notifications.
- The column keeps getting scanned. This suppresses the finding, not the coverage.
- Suppressed findings stay visible in a filtered/audit view, so every review decision is traceable.
- Undo restores the finding to active if it should be treated as PII later.
How detection works
If your team already tags columns as PII in your warehouse, MC uses those tags as supplementary context in the inventory.
- Snowflake β reads
PRIVACY_CATEGORY,SEMANTIC_CATEGORY, andSEMANTIC_SUBCATEGORYtags applied by Snowflake's native classification. Snowflake's semantic categories are often broader than a single MC type β an SSN, for example, is derived from broad values likeNATIONAL_IDENTIFIER/TAX_IDENTIFIERrather than a dedicatedUS_SSNcategory. - Databricks β reads Unity Catalog
class.*tags. - BigQuery β reads BigQuery column-level policy tags if they include PII classification.
By default, MC uses these tags to distinguish expected PII from unexpected PII in the inventory. Tags don't replace detection; they enrich it.
Warehouse tag integration
If your team already tags columns as PII in your warehouse, MC uses those tags as supplementary context in the inventory.
- Snowflake β reads
PRIVACY_CATEGORYandSEMANTIC_CATEGORYtags applied by Snowflake's native classification, including the country-specific taxonomy (e.g.,US_SSN,NZ_INLAND_REVENUE_NUMBER,AU_TAX_FILE_NUMBER). - Databricks β reads Unity Catalog
class.*tags. - BigQuery β reads BigQuery column-level policy tags if they include PII classification.
By default, MC uses these tags to distinguish expected PII from unexpected PII in the inventory. Tags don't replace detection; they enrich it.
β No tagging? No problem. MC's SQL-based detection works independently. Tags are a supplementary signal, not a requirement.
Supported PII types
| PII type | Region | Detection method |
|---|---|---|
| Social Security Number (SSN) | US | Regex |
| Email address | Global | Regex |
| Phone number | US | Regex |
| ZIP code* | US | Regex |
| State code* | US | Regex |
| Credit card number | Global | Regex + Luhn checksum |
| Tax File Number (TFN) | Australia | Regex |
| Medicare number | Australia | Regex |
| Australian Business Number (ABN) | Australia | Regex |
| Phone number | Australia | Regex |
| Postcode | Australia | Regex |
| org-specific identifiers | Global | CUSTOM REGEX |
*US ZIP code and US state code are supported but noisy β they're excluded from the default, product-recommended setup and hidden from the inventory display unless you explicitly opt in.
CUSTOM REGEX
- Locate your PII monitor in the Monitors list and click "edit".
- Add custom patterns to the conditions already running.
- Regex must be compatible with your warehouse's SQL engine.
- Patterns are compiled into the underlying SQL query that runs in-warehouse. Example
Accessing the agent
From the Monte Carlo UI
as described above
From your IDE (developers)
The pii-monitor skill is available through the Agent Toolkit in AI coding agents like Claude Code and Cursor. The skill provides access to the find_classified_assets, create_pii_monitor, get_pii_types, get_pii_scan_inventory, and get_pii_warehouse_tag_summary MCP tools.
Notes
- Masked / tokenized values. The monitor cannot identify what PII type is hidden behind masked values (
****,XXXX) - Sampling. Bulk PII monitors sample rows by default (configurable or up to 1M rows). For very large tables, a bounded sample keeps warehouse compute predictable.
- Result latency. After a scan runs, PII scan results can take up to an hour to appear in the inventory.
- [July 2026] Preview status. The PII agent is currently in preview mode.
Updated 10 days ago
