When OpenMetadata PII auto-classification fits your catalog
A catalog that holds thousands of columns cannot rely on memory to know which of them contain personal data. OpenMetadata PII auto-classification scans table metadata and sample values, then suggests PII tags on columns that look like names, email addresses, phone numbers or similar identifiers. Teams usually turn it on when the catalog has grown past the point where data owners can label every column by hand, when a privacy or security team needs a first inventory of personal data across warehouses and lakes, or when they want new tables tagged as they are ingested rather than discovered during an audit.
It is a detection aid, not a legal determination. The tags it applies are suggestions that a data owner or steward should review, confirm, or reject, and the decision about whether a field is personal data under your regulations stays with your privacy and legal teams. Automatic classification is part of the classifications feature in OpenMetadata, which is released under the Apache License 2.0 and maintained by Collate. Confirm with your privacy lead which PII categories they need recorded before enabling anything, because the default tag set may not match the definitions your obligations use.
Before you commit, check three things in your own environment: whether the connectors you plan to scan can read sample rows under your access policy, whether scanning samples personal data is itself permitted for those systems, and who will review the suggestions and how often. If any of these answers is unclear, the feature can still help as a list of candidates, but it should not be treated as a complete inventory.
How column-name rules and sample-data scanning find PII
Column-name and metadata rules classify a column from its name, data type and sometimes its table context, without reading any row values. A column called email_address or date_of_birth matches a rule quickly, and the result is predictable: the same metadata always produces the same tag. This makes the approach a sound first pass across a large warehouse, and it does not require the catalog to see personal data itself.
- What it needs from the connector: metadata extraction only. The connector must read schema, column names and data types, which is normally a catalog-level read permission rather than access to table rows.
- What it needs from the profiler: nothing. Rule matching does not depend on profiling runs.
- Where it fails on renamed columns: a column named
col_17ornotesthat holds national ID numbers produces no match. - Where it over-matches: a column named
customer_email_domainmay be tagged as an email address even when it holds only a company domain. - Operational effect: rule-based results need an owner to confirm each tag, especially on legacy schemas with abbreviated names.
Before relying on rules, check which rule set your OpenMetadata version ships with and which terms your naming conventions actually use.
Sample-data scanning reads a subset of values from each column and tests them against recognizers for personal data, such as email patterns, phone formats or identifiers. It can catch personal data in columns with generic names like comment or attribute_3, which column-name rules miss. The trade-off is that the catalog must read actual data, so access, sampling and retention become privacy decisions in their own right. In OpenMetadata 2.0, Dynamic Sampling is the profiler default, so sampling behavior should be reviewed before the first scan rather than left at defaults.
- What it needs from the connector: read access to table data in addition to metadata, which many security teams will not grant broadly.
- What it needs from the profiler: a profiler run with sampling enabled, configured per table or per schema where sensitive data is likely.
- Where it fails on sparse data: a column holding personal data in a small share of rows may be missed if the sample does not include those rows.
- Where it over-matches: free-text fields and product codes can resemble identifiers, producing false positives that need review.
- Privacy effect: values read into the scan may be held in profiling results, so confirm what is stored and who can view it.
Confirm with your data protection and security teams which schemas may be sampled, and whether sample values are displayed or only counts and tags.
In practice, the two approaches are used together. Rules give a fast, reviewable first pass across the whole catalog, and sampling is applied selectively to tables where rules find nothing but the data is likely to hold personal information, such as free-text support tables or legacy exports. The combination reduces how much data the catalog reads, while still covering columns whose names say nothing about their content.
- Scope sampling first: start with the systems and schemas where personal data is most likely, then expand.
- Compare results: a column tagged by sampling but not by rules usually indicates a naming gap worth documenting.
- Record the source of each tag: keep rule-based and sample-based tags distinguishable so reviewers know how a tag was produced.
- Plan re-runs: new columns and new data appear over time, so scheduled classification must be part of operations.
- Assign review: someone in the data governance team should own false positives and false negatives.
Ask your OpenMetadata administrator which classification sources are enabled in your deployment and how their results are labeled in the interface.
Configuration options and when each one fits
This table compares the main settings that shape PII auto-classification in OpenMetadata, from which schemas are scanned to whether tags apply automatically. Read each row as a decision: the option, what it trades off, and the situation where it fits. Default values differ by version, so confirm them in your release before you change anything.
| Option | Trade-off | When it fits |
|---|---|---|
| Table and schema scope | Wide scope finds more personal data but increases scan time, load and the number of tags to review. Narrow scope misses columns in untouched schemas. | Start with systems that hold customer, employee or patient records, then widen once false positives are understood. |
| Enabled PII classifications and recognizers | More recognizers catch more identifiers but add noise, for example numeric columns matching card or ID patterns. | Enable only the categories your privacy team has defined, and test each recognizer on a sample table first. |
| Column-name rules | Fast and cheap, with no data read. Misses personal data in generic names such as notes or ref, and flags names that only look personal. | Good first pass on well-named schemas. Pair with sample-data scanning where column names are unreliable. |
| Sample-data scanning | Finds personal values in content, but reads actual rows, which adds load and exposes sampled values to the scanning process. | Use where column names are weak and your policy allows the process to read sampled data. |
| Confidence threshold | A higher threshold cuts false positives and may leave true personal columns untagged. A lower threshold catches more and creates more review work. | Set high for auto-application, lower when every candidate goes to a human reviewer. |
| Sample size and sampling method | Larger samples improve detection but raise load and the amount of personal data read. Smaller samples are cheaper but less reliable on sparse columns. | Keep samples small for sensitive sources and increase only where detection quality is poor. Confirm the sampling options your version offers. |
| Auto-apply tags or route to review | Auto-apply is fast but can spread wrong tags into lineage and access decisions. Review adds steps and delays but keeps an accountable owner. | Auto-apply on well-tested sources with stable naming. Route to review for regulated or newly connected systems. |
| Profiler run per connector | Running profiling on each connector adds scheduled load on source databases. Separate schedules let sensitive sources run on their own timing. | Schedule heavier scans during low-usage windows and give production-facing sources their own limits. |
Tuning confidence to cut false positives without missing personal data
Set the confidence threshold on the basis of which mistake costs you more, then prove the choice with a sample review before any tag is applied automatically. A false negative leaves personal data unlabeled, so access policies, masking and retention rules that depend on PII tags never reach that column. A false positive tags a harmless column such as a product code or a sequence number, which can restrict access for analysts and fill the review queue with noise that owners learn to ignore. Neither error is free, so the threshold should reflect your tolerance for each. Before you change defaults, pull a sample of suggested tags for columns whose true content your data owners already know, and count hits, misses and mislabels at several thresholds. Confirm in your own environment how the version you run scores suggestions and which settings are exposed, because the configuration surface differs between releases.
Decide which suggestions may apply automatically and which go to an owner. A reasonable pattern is to auto-apply only classifications that match a rule the data owner has approved, such as a column named for email addresses in a table with a known schema, and to route everything else to a named steward with a deadline. Make the rule set explicit and small, because rules that match broadly generate the false positives you were trying to avoid. Treat the first review cycle as a measurement exercise. If a column type or source system produces consistent errors, adjust the rule for that source instead of lowering the threshold for the whole catalog.
Record every tuning decision where an auditor can find it: the threshold value, the date, who approved it, the sample used, the error counts observed, and the rules added or retired. Keep the sample reproducible by saving the column list and the suggested tags with the decision record, so the result can be re-checked later. Ask your privacy and compliance team which evidence they need, since the format of a privacy record is their call, and confirm with the catalog team how long threshold changes and tag history remain queryable in your deployment. Schedule a repeat review after major ingestion changes or upgrades, since a new release can change scoring behavior.
Setting up PII detection step by step
This sequence takes a self-hosted OpenMetadata instance from a confirmed version and connector to a reviewed, owner-approved set of PII tags. Each step ends with a check so the team can see whether automated detection is accurate enough to trust before it reaches production catalogs.
Confirm deployment and version
Start by recording the OpenMetadata version, the deployment method (Kubernetes, bare metal or Docker for a trial) and the Java, database and search versions the install uses. Check the release notes for your version, especially if you are on 2.0, where the profiler default changed to Dynamic Sampling and ingestion images moved to Python 3.12. The check is a written version record and a confirmed upgrade path, signed off by the platform owner before any connector is added.
Connect source with minimum read permissions
Create a dedicated service account in the warehouse or database with read access only to the schemas in scope, and enter its credentials through the ingestion connector configuration. Confirm the permissions the connector documents for your source, because some profiling features need more access than metadata extraction. The check is a successful test connection run by the service account itself, with a note of every grant that was added.
Scope profiling and sampling to selected schemas
Enable profiling and sampling only on a short list of schemas chosen with the data owners, not on the whole source. Decide the sample settings for each scope and document which tables may be read as sample rows, since sampling is the step where personal values are actually read. The check is a written scope list that names each schema, its owner and the sampling setting applied, approved before the pilot runs.
Run a pilot ingestion
Run metadata ingestion and profiling on the scoped schemas, then confirm that tables, columns and profiles appear in the catalog as expected. Look for failed runs and check the ingestion logs for permission errors, which usually mean a grant is missing. The check is a completed pilot run with no unexplained failures, and a count of columns that received at least one automated PII suggestion.
Build a labeled sample for review
Pull a sample of columns from the pilot, including both columns that were tagged and columns that were not, and have a data owner or privacy reviewer label each one as personal data or not. Include columns with ambiguous names, free-text fields and identifiers so the sample tests the hard cases. The check is a labeled sample with reviewer initials and a record of disagreements, which becomes the baseline for measuring rule accuracy.
Tune confidence and column-name rules
Compare the automated suggestions against the labeled sample and identify patterns in false positives and false negatives, such as a column name that matches a rule but holds only internal codes. Adjust the confidence threshold and the column-name rules for those patterns, then rerun the pilot on the same sample. The check is a before and after comparison showing which errors were reduced and which remain, with each rule change recorded by the person who made it.
Map PII tags to confidentiality tags
Define how each PII classification maps to the confidentiality or sensitivity tags your access and handling policies use, and confirm the mapping with the security and privacy team before applying it to tables. Keep the mapping in a written table so reviewers can see why a column inherits a given label. The check is an approved mapping table and a test run where a sample of tagged columns shows the expected confidentiality label.
Roll out with owner review
Apply the tuned rules to the next set of schemas in batches, and ask each data owner to accept or correct the suggested tags for their tables before they become authoritative. Track progress with a count of tagged columns grouped by owner, and reopen any owner whose corrections show a pattern. The check is a dashboard or report with the number of columns tagged and reviewed per owner, and a named person responsible for re-running the sample review on a schedule you set.
Mapping PII tags to your confidentiality tags
PII classifications and confidentiality tiers answer different questions. A PII tag such as a detected email address or national identifier is a detection label produced by a rule or a sample scan. A confidentiality tier such as Restricted or Internal is a governance label that drives who may see data, how it is shared and how long it is kept. OpenMetadata lets you attach both to the same column, but nothing in the product decides that a given PII tag implies a given tier. That mapping is a policy decision, and it should be written down and approved by your privacy and security teams before anyone edits tags in bulk.
Design the mapping as a short table with one row per detected PII category, the confidentiality tier it maps to, the handling rule that follows (for example, masking in shared dashboards or a restriction on export), and the owner who answers questions about it. Keep the number of PII categories you map to a few rows at first, and add an explicit row for unmapped or low-confidence detections so they are reviewed rather than silently ignored. Approval should come from the data protection lead and the security owner for the classification scheme, with the data owners of the most sensitive domains consulted. Record the approval date and version of the table alongside the catalog configuration so an assessor can trace a tag back to a decision.
Changes to the table will need a propagation plan. Confirm in your target OpenMetadata version how a change to a classification or tag mapping is applied to assets that are already tagged, whether through a bulk operation, a re-run of ingestion or profiling, or a manual script against the API, and whether previously applied tags are overwritten, kept or flagged. Test this on a non-production copy with a small set of tagged tables before you change the production mapping. Document the result in your runbook, because a mapping change that does not reach existing assets leaves tiers and detections inconsistent, which is the kind of gap a compliance review tends to find.
The sampling privacy trade-off
Sample-data scanning is what finds personal data in values, but every sampled row is copied out of the source system into the catalog and its search index. The cards below cover the controls that keep that copy small, short-lived and visible only to the right people.
Samples leave the source
Sampling reads real values from the source and writes them into OpenMetadata's metadata store and search index. Before enabling it, confirm which copies of sample data are created, where the database and search services run, and who can reach them. The catalog becomes a second store of personal data unless you limit what it keeps. Treat the catalog's hosting location as part of your data inventory.
Security docsExcluding sensitive columns
Columns that hold secrets, national identifiers, health or payment data should be excluded from sampling entirely, so no values are read or stored. Classify these columns by name and documented definition first, then add them to the profiler exclusion settings for each table. Pattern-based exclusions can miss renamed columns, so review new schemas during each ingestion run and confirm the exclusion list matches your data classification policy.
Limiting sample size
A smaller sample reduces how many real records leave the source, at the cost of lower confidence for detection. Set the sample size per table or column in the profiler configuration and test it on representative tables before rollout. Ask your data owners whether a few dozen values are enough to confirm a column's type, and document the chosen size as a control so auditors can see that it was a deliberate decision.
Retention of stored samples
Sample values persist in the catalog until a later profile run replaces them or someone deletes them. Ask your OpenMetadata version how sample data is stored, whether it can be disabled, and how old samples are removed. Where the version allows disabling sample storage, classify with sampling on and storage off, then document that choice in your retention schedule so it is reviewed with other personal data stores.
Who can view samples
Anyone with read access to a table in the UI or API may be able to see its stored sample rows, which can expose personal data to users who have no business need for it. Review the roles and policies that govern table and profile views, and test them with a non-privileged account. Include API tokens and MCP or AI assistant access in this review, since those paths read the same data.
Security docsResidency-limited regions
Where data residency rules apply, running sampling from a central catalog in another region can move personal data across a border even for a short time. Run the profiler and the catalog in the same jurisdiction as the source, or exclude regulated tables from sampling and classify them by name only. Confirm this with your legal and privacy team before scheduling ingestion across regions.
Questions buyers ask about PII auto-classification
What drives the cost and effort of PII auto-classification?
Scope drives most of it: how many sources, how many tables and columns, and how many environments need scanning. Each connector needs read access, and each scan has to be configured, reviewed and repeated after schema changes. Tuning is the other large component. Column-name rules and sample-based detection produce false positives and misses that someone must review, and each tuning cycle takes engineering and data owner time. Sampling design matters too, because the sample size, sample location and scan frequency change both the accuracy and the load on source systems. Costs are one-time for the initial build and tuning, then recurring for review of new columns, rule maintenance and periodic rescans. Ask any quote to split these components, name who performs each one and state which assumptions about source count and review volume it depends on.
How long does a PII classification pilot take?
The duration depends on the number of sources, how quickly access is granted, how many owners must review results, and how much tuning the first results need. A pilot usually covers one or two representative sources, so the team can test column-name rules, confidence thresholds and sampling settings before rolling out more widely. Access approvals and owner availability often take longer than the technical setup, so start those requests first. Agree the pilot's exit criteria in writing before it begins, such as which tables must be classified correctly and who signs off the tag mapping. Ask any partner to state the pilot timeline in the written scope, with the assumptions behind it.
What does our team need to provide before the work starts?
The team needs read access to the data sources, ideally through dedicated service accounts with least-privilege permissions. Named data owners must be available to confirm whether detected columns are personal data, and someone must own the label taxonomy. You also need your privacy policy and data classification standard, because these define what counts as personal data and which confidentiality tags map to which PII tags. Confirm where OpenMetadata will be hosted, how SSO will be configured and who will approve sampling against production data. Missing any of these items usually delays the pilot more than the technical build does.
Can an internal team run PII auto-classification without a partner?
Yes, if the team has people who can operate OpenMetadata, configure connectors and read database permissions, and who can work with data owners and privacy staff. OpenMetadata is released under the Apache License 2.0, so the software itself has no license fee, but the work of configuring scans, tuning rules and maintaining mappings is staff time. Internal teams often struggle with ownership of the review queue, and with keeping rules current as schemas change. A partner can help where the team lacks platform experience, where the pilot needs to move quickly, or where an independent reviewer should check the design. Decide based on the staff time you can commit over the long term, not only the first setup.
Does automatic PII detection replace our privacy review?
No. Automatic detection finds candidate personal data and suggests tags, but it cannot decide whether a column is personal data under your policy, your legal basis or your retention rules. Column-name rules miss personal data stored under neutral names, and sample-based scans can misread values. Privacy and data owners must review the results, confirm or correct tags and record their decisions. Treat the detector as a way to build and maintain the inventory, and keep the review step documented so your compliance team can explain how the inventory was produced.
What does sampling mean for privacy and data protection?
Sampling means the scanner reads some actual values from a column to decide whether it holds personal data, so the sampled values are briefly processed by the scanner and may appear in logs or intermediate storage. Trade-offs include sample size, which affects accuracy and source load, and where the sample is taken, which affects whether production personal data is exposed to the tool. Confirm with your security and privacy teams whether sampling is allowed for each source, whether sampled values are stored or only the classification result is kept, and how access to the OpenMetadata instance is restricted. The sampling option in OpenMetadata 2.0 is set as a profiler default, so check the current configuration before enabling it across all sources.
What would an outside partner deliver for PII auto-classification?
A partner should deliver a written scope naming the sources, connector configuration, rule and confidence settings, and the mapping from PII tags to confidentiality tags. Typical deliverables include a tested pilot, a tuning record showing which rules changed and why, a review workflow for data owners, documentation of the sampling settings and access model, and a handover for your team. Ask whether the partner will leave a runbook for adding new sources and for checking results after schema changes. DeployOpen implements, hardens, documents and supports self-hosted open-source platforms in your own infrastructure, and engagements are fixed-scope with deliverables agreed in writing before work starts. DeployOpen does not issue compliance attestations or audit reports.
How detection, review and tagging connect
Detection starts when the connector and profiler read table metadata and, where sampling is enabled, a sample of column values. Column-name rules and sample scanning both produce candidate PII tags with a confidence score. Those candidates go to the owner for review before any confidentiality tag is mapped and written to the catalog. The sample-data store sits inside a privacy boundary, so check who can read samples and how long they are kept.
Detection, owner review and tag mapping flow into the catalog.
How DeployOpen scopes and delivers PII classification
DeployOpen plans, implements and hands over OpenMetadata PII auto-classification inside your own infrastructure, starting from a written scope. The work covers the classification rules, the sampling settings, the tag mapping to your confidentiality model and the evidence your privacy and security teams need to review it.
How we scope
- Inventory the data sources to be scanned and the sensitive categories your policies define
- Agree in writing which tables, columns and sampling settings are in scope before work starts
- Record the decisions on sampling limits and confidence thresholds so reviewers can trace them
- Engagements are fixed-scope, with deliverables and timelines confirmed in the written scope
How we build
- Configure column-name rules and sample-data scanning against your connected data sources
- Tune confidence thresholds using a labeled review set drawn from your own catalog
- Map PII tags to your confidentiality tags and document each mapping and its owner
- Test classification results with your data owners and record false positives and gaps
How we hand over
- Document the configuration, rules, thresholds and tag mappings in a runbook your team owns
- Provide the test results and open findings so your privacy and security teams can review them
- Walk through the operating steps for rescans, rule changes and review of new tables
- Confirm with your auditors which records they need, since DeployOpen prepares evidence but does not attest
How we support
- Ongoing support, upgrades and continuous testing are available as retainers
- Retainers can cover review of new connectors, rule updates and classification drift checks
- Upgrade planning follows the OpenMetadata release notes for each version you run
- Ask any provider to confirm how changes to rules and tags are logged and approved

