How PII tags mask OpenMetadata sample data
A PII tag on a column masks that column's sample data as asterisks (**), and a PII tag applied at table level masks the sample data of every column in that table. That is the documented behavior, and it matters most when your catalog lets many users open a table's sample rows and some of those columns hold personal data such as names, email addresses, phone numbers or national identifiers. Without a tag, anyone with read access to the table in the catalog can see the values the profiler and sample step have captured. Teams usually reach for this control when they first open catalog access to analysts, stewards or business users beyond the data engineering group.
Treat this masking as a display control inside the catalog, not as a substitute for controls at the source. The tag hides values in OpenMetadata's sample data view, but it does not change what the connector extracts from your warehouse, what the ingestion pipeline stores in its own infrastructure, or who can query the underlying tables directly. Before you rely on it, confirm with your own test environment which views display sample data, whether masked values still appear in other places such as profiling results or exports, and how your tagging is applied to columns that were never reviewed. Your data protection and security teams should decide whether masking at the catalog layer is enough for the data in scope, or whether restricting extraction or access at the source is also required.
Plan the tagging work as a governance task with an owner, not as a one-time setting. Decide which tags count as personal data, who may apply them, and how newly ingested tables get reviewed before broad access is granted. Check the OpenMetadata sample data PII documentation for the version you run, because behavior in a given release is what your reviewers will test. Record the test results so the compliance team can see what was verified and when.
Choosing between column, table and sample data off
This table compares tagging individual PII columns, tagging the whole table, and turning sample data off for a service or table. Read each row against your own column inventory, since the right choice depends on how many sensitive fields a table holds and how much profiling context your stewards need. Confirm the exact disable steps in your OpenMetadata version before relying on them.
| Approach | What it protects | What stays visible | Main operational cost and fit |
|---|---|---|---|
| PII tag on individual columns | The sample values of each tagged column, shown as masked values | Sample values of untagged columns and the table's other profiling context | Missed columns are the main risk. Fits tables with a few well-known identifiers and a reviewed column list. |
| PII tag at table level | Sample data for every column in the table | Only table metadata, schema, lineage and profile statistics that the table exposes | Over-masking hides useful non-sensitive values. Fits tables where most columns are personal data or where column-by-column review is not yet done. |
| Sample data off for a table | No sample rows are stored or shown for that table | Schema, descriptions, tags, lineage and ownership | Stewards lose sample-based context for quality and classification decisions. Fits highly sensitive tables that analysts only need through governed queries. |
| Sample data off for a service | Sample rows for every table ingested from that source | Metadata from the service, including schemas and lineage | Broadest protection but also the largest loss of profiling value. Fits sources whose data is restricted by regulation or contract across all tables. |
| Auto-classification plus manual review | Columns that classifiers flag as PII, once a steward confirms the tag | Columns the classifier misses until someone reviews them | Classifier results need review before they are trusted. Fits large catalogs where manual tagging alone cannot keep pace. |
| Column tags and table tags combined | Named sensitive columns plus a whole-table mask for the riskiest tables | Non-sensitive columns in lower-risk tables | Two rules to maintain and explain to stewards. Fits mixed tables where a few tables need full masking. |
| Dynamic sampling in OpenMetadata 2.0 | Depends on how the sample is taken and masked, so confirm the behavior in your build | Confirm with testing whether masked and off settings apply as expected | Profiler defaults changed in 2.0, so review sampling settings after any upgrade. Fits every deployment that runs profiling. |
How auto-classification fits with manual PII tags
Teams that apply PII tags by hand depend entirely on their stewards to find sensitive columns and tag them before anyone queries sample data. The masking behavior is the same as for any other tag: a PII tag on a column masks that column's sample data, and a PII tag at table level masks every column in the table. The gap is coverage. A column nobody reviewed carries no tag, so its sample values appear in the UI as they are stored.
- Tag at the right level: Apply the tag to individual columns when only some fields are personal, and at table level when the whole table holds personal data.
- Review new tables: Set a routine where a steward checks each newly ingested table before its sample data is shared.
- Record ownership: Name the owner who approves each tagging decision so exceptions are traceable.
- Cover renamed columns: Re-check tags after schema changes, because a renamed column may no longer match the tagging decision made earlier.
- Plan for scale: Manual review works for a small catalog. Ask how stewardship capacity grows with the number of ingested tables.
Confirm in your installed version which tag levels and sample data settings are available before writing your tagging standard.
When automatic classification runs during ingestion, it proposes or applies classification tags based on the content and names of columns. Those tags then feed the same masking behavior as manual tags. The advantage is coverage at scale. The risk is that a classifier that misses a column produces a false negative, and that column's sample data stays visible with no warning to the team.
- Treat results as a control, not a guarantee: A missing tag is a silent failure, so test known personal fields against the classifiers before relying on them.
- Check the classifiers: Confirm which classifiers apply to your data types, languages and identifier formats, since a classifier built for one country's identifiers may not recognize another's.
- Decide on auto-apply: Confirm whether classifications are applied directly or proposed for review in your version, and set the workflow to match your risk tolerance.
- Review false positives: Over-tagging hides useful data from analysts, so track overridden tags as well as missed ones.
- Re-run after changes: Confirm how classification behaves on re-ingestion, so tags on existing columns are not silently removed or overwritten.
Before relying on automatic tags for masking, confirm the classification behavior of your installed version with a test table that contains known personal data.
Personal data often sits inside free-text fields such as comments, notes, descriptions, JSON payloads and document references. Column-level and table-level masking work on the column as a whole, so a free-text field that contains a name or contact number is either masked entirely or not at all. Classifiers that look at column names and value patterns may not recognize personal data embedded in long text, which makes this the highest-risk situation.
- Identify the columns first: List free-text, JSON and blob columns in each source and decide which may contain personal data.
- Choose the masking scope: Tag the whole column when personal data is mixed into it, since partial masking inside a field is not what the feature does.
- Consider upstream controls: Where a field is not needed for analysis, remove or exclude it at ingestion rather than relying on tags.
- Assign a reviewer: Give a named steward responsibility for these columns, because classifiers are least reliable here.
- Test with real-looking samples: Use synthetic records that mirror your free-text content to see what the classifiers flag.
Confirm with the vendor documentation whether any content-based detection applies to free text in your version, and do not assume it does.
Whichever tagging path a team uses, the tags need a regular review cycle. Automatic classification reduces manual effort, but it does not decide which columns are personal under your policy. The steward's job is to confirm that tags match the data, that new tables are covered, and that exceptions have a documented reason. This review is also the evidence a privacy or security team will ask to see.
- Set a review trigger: Review tags when a new table is ingested, when a schema changes, and on a fixed calendar for stable sources.
- Keep a decision log: Record who approved each tag, override or exception, and the date of the decision.
- Compare with your data inventory: Check that tagged columns match the personal data recorded in your processing inventory.
- Measure misses: Sample untagged columns periodically to estimate how many personal fields slipped through.
- Escalate exposures: Define who can disable sample data for a table when a tag is missing and sensitive values are visible.
Confirm with your privacy and security teams which review cadence and evidence they require before you publish the tagging standard.
Where masking sits in the sample data request flow
The flow starts at the source database, where ingestion or the profiler reads sample rows and sends them to OpenMetadata. The catalog stores that sample data, then checks whether a PII tag sits on the column or on the table before a user sees it. A user without the rights to the source sees nothing from the source, and a user with catalog access sees masked values where a PII tag applies. Check the tag placement first, because a tag on a column only masks that column.
Sample data passes a PII tag check before any user sees it.
Setting up PII masking step by step
This sequence takes sensitive columns from an inventory agreed with data owners to a verified state where non-privileged users see masked sample data, with auto-classification results reviewed last. Each step ends with a check you can repeat in your own environment.
Inventory sensitive columns with data owners
Start by listing the tables and columns that hold personal data, working with the owner of each source system and the privacy or compliance lead who will sign off on the list. Record the table, column, data category and the owner for each entry in a shared sheet. The step is done when every owner has confirmed their list in writing, and any column they are unsure about is marked for review rather than left out. Ask data owners to check columns that hold free text, since personal data often appears there.
Choose column or table level masking
Decide, for each entry, whether to tag the individual column or the whole table. A PII tag on a column masks that column's sample data, while a PII tag on a table masks sample data for every column in it. Use table level tags for datasets where nearly every field is personal, and column level tags elsewhere so that non-personal fields remain readable for profiling and quality work. The step is done when the decision for each entry is written next to the inventory row, with a reason.
Apply PII tags to the entities
A data steward or catalog administrator applies the PII tags in the OpenMetadata interface or through its API, using the classification the organization has adopted. Apply tags to the exact columns or tables chosen in the previous step and nothing broader. The step is done when the tags appear on the entity pages you expect. Keep a record of who applied each tag and when, because the audit trail will be needed later.
Confirm tags sit on the right entities
Check each tagged entity in the catalog, then compare the results with your inventory sheet. Look for two things: tags on columns that should not carry them, and missing tags on columns that are personal. For table level tags, confirm that the tag is on the table and not on a single column by mistake. The step is done when the catalog matches the inventory line for line, and any gaps are fixed and rechecked. Repeat this check after any schema change, since new columns may arrive untagged.
Ingest or profile a test table
Use a non-production test table that contains realistic-looking but synthetic personal data, or a copy of the real table with personal values replaced, and run metadata ingestion and profiling on it. Use the connector and profiler settings your team plans to use in production so that the test reflects the real behavior. The step is done when the profiling run completes and the sample data is visible to the account running it. Note that the test data should not contain real personal information in the catalog.
Verify masked output as a non-privileged user
Sign in as a user with the role you plan to give consumers, not as an administrator, and open the sample data for a tagged column and a tagged table. A tagged column should show masked values, and a tagged table should show masked values for all its columns. Check an untagged column too, so you know masking is targeted. The step is done when the non-privileged view matches the expected result for each test case, and the results are saved with the screenshots or API responses. If a privileged user can see the values, check that the role permissions were set as intended.
Review auto-classification results
If auto-classification is turned on, compare the tags it applied with your inventory. Auto-classification can find personal data that owners missed, and it can also tag columns that are not personal, which would hide useful sample data. Review each suggestion, accept the correct ones, and remove or correct the rest. Record any pattern of false positives so the team knows which columns need manual judgment. The step is done when every auto-applied tag has been reviewed by a steward and the inventory reflects the final state.
Security and operational risks of relying on masking
A PII tag changes what users see in sample data. It does not change what is stored, who holds admin or ingestion rights, or what the source system already exposes. The cards below separate those gaps so you can test each one before you rely on masking as a control.
Masking is a display control
The PII tag hides sample data in the interface and API responses that users receive. It does not remove the underlying values from the catalog store, its database, search index or logs. Ask your team to query the metadata store directly and confirm whether sample values appear in any table, index or export. Treat the result as your baseline for every later check.
PII masking docsUntagged columns leak
Masking only applies to columns that carry a PII tag. A column named customer_email or a free-text notes field that nobody tagged will show sample values to every user who can view the table. Run a review of sample data on each high-risk table and compare the visible values against your PII inventory. Any column that holds personal data without a tag is a gap to fix before wider access.
Tags drift as schemas change
Column renames, new fields and re-ingested tables can leave a PII tag on the wrong column or drop it entirely. Masking then follows the tag, not the data, so the protection can quietly weaken after a pipeline change. Schedule a tag review after each schema change and check that ingestion does not overwrite manually applied classifications in your configuration.
Admins and ingestion identities see raw data
Users with admin rights and the service accounts used for ingestion can typically read the values that the masking hides from other users. Confirm which roles, bots and API tokens can open sample data for each tagged table. Record who holds those rights, review the list on a fixed schedule, and remove rights that the catalog team does not need.
Sample data retention and backups
Sample rows are collected when profiling or ingestion runs, and they stay in the catalog until a later run replaces them or an operator removes them. Database backups, search snapshots and log exports can keep those rows after the live view is clean. Ask your operations team how long sample data persists in each store, what the backup retention period is, and who can restore a backup that contains it.
Source-side controls still decide exposure
Masking in the catalog cannot stop a connector from reading personal data that the source database already exposes to its service account. Restrict the ingestion account to the columns and schemas it needs, and turn off sample collection for sensitive tables when the catalog does not need the values. Decide these controls with your data owners before you widen catalog access, because they limit exposure at the origin.
Questions teams ask before masking PII in OpenMetadata
Does a PII tag fully hide data in OpenMetadata?
No. A PII tag hides sample data in the OpenMetadata interface, not in the source system or the database behind it. When a PII tag is applied to a column, OpenMetadata masks that column's sample data as ******. When a PII tag is applied at table level, it masks the sample data for all columns of that table. The masking affects what users see in the catalog. Anyone with direct access to the warehouse, to the ingestion credentials or to the OpenMetadata database can still reach the underlying values. Treat the tag as one control in a layered design, and confirm the exact visibility rules for each role in your own test environment before you tell stakeholders that personal data is protected.
How much effort does a first PII masking pass take?
The effort depends on the number of sensitive tables, the state of ownership and how much of your auto-classification output you need to review. No duration was supplied for this work, so ask any provider to state effort in writing, broken down by these drivers. The largest variable is usually review: auto-classification can flag columns that look like personal data, and someone who knows the business must confirm each flag and decide whether a column needs a PII tag at column level or whether the whole table should be tagged. Tables without a named owner take longer, because nobody can confirm what the columns contain. Ask for the count of in-scope services, tables and columns, the review method and the retest step included in the quote.
What drives the cost of masking PII in sample data?
Cost follows the scope of the classification and review work rather than a single tagging action. Expect the main components to be the inventory of sources, the review of auto-classified columns, the application of tags at column or table level, verification that masking behaves as intended for each role, and documentation for your privacy and security teams. Some costs are one-time, such as the first review of existing tables. Others recur whenever new sources are connected or schemas change, because new columns need review. Ask a quote to separate the one-time pass from any ongoing review, and to state who approves the tagging decisions. DeployOpen does not publish a price list, so the quote follows from the written scope.
Can our team mask PII in OpenMetadata without outside help?
Often yes, if the team has the right people and access. Applying a PII tag is an administrative task in the catalog, and the work is mostly about knowing which columns hold personal data. A team that already runs OpenMetadata, has data owners who understand their tables and can test masking with a non-admin account can do a first pass internally. Outside help is most useful when the sensitive scope is large, when ownership is unclear, or when the team needs a documented, repeatable process that a compliance reviewer can follow. DeployOpen plans, implements, hardens and documents self-hosted platforms in your own infrastructure, so you can choose whether to do the tagging yourself, have it scoped and delivered in writing, or keep it under a retainer.
What does the masking work need from our team?
It needs three things: data owners who can say what each sensitive column contains, an administrator who can change tags and service settings, and a test user whose role matches a real consumer of the catalog. Data owners resolve the questions auto-classification cannot answer, such as whether a free-text field holds personal data or whether an identifier is internal only. The administrator applies tags and confirms service configuration. The test user shows whether sample data is hidden for the role you intend. Without the test user, you only know what the admin sees, which is the wrong check. Ask a provider to list these roles by name in the scope and to state how many working sessions each one needs.
Does GDPR require us to mask PII in sample data?
The GDPR does not name masking as a required control. Article 32 on security of processing requires controllers and processors to implement appropriate technical and organizational measures that match the risk, and the regulation's principles include data minimization. Masking sample data can be one way to meet those duties, but whether it is appropriate depends on your risk assessment, the data involved and the access your users really need. The regulation also requires no audit, attestation or certificate. Certification under Article 42 is voluntary, and it does not reduce your responsibility for compliance. Ask your data protection officer or legal team to confirm which measures apply to your processing, and treat any provider's statement of compliance with caution. Independent auditors and certification bodies, not implementers, issue those outcomes.
When should we turn sample data off entirely?
Turn sample data off when the risk of exposing values through the catalog is higher than the value users get from seeing examples, or when you cannot yet confirm which columns hold personal data. Typical cases include sources with broad personal data, tables that cannot be classified reliably within the time you have, and environments where many users with mixed roles can open the catalog. Column or table tags remain useful when some sample data is needed for discovery. Disabling sample data removes a convenience for stewards and analysts, so tell them what they lose and provide an approved alternative, such as a documented description of the column. Confirm the exact setting in the version you run, because OpenMetadata 2.0 changed profiler defaults, and check the current configuration with the official documentation before the change goes live.
How does masking fit with auto-classification in OpenMetadata?
Auto-classification proposes candidate tags, and masking depends on the tags you confirm. Auto-classification is a starting point, not a decision. It can miss personal data in unusual column names and flag columns that look sensitive but are not. Review its output before relying on it, and record which tags were confirmed by a person. Once a PII tag is applied, the column or table masks sample data as described in the documentation. Re-run review whenever sources change, because new columns arrive without tags. Ask whether your ingestion schedule will re-classify new columns automatically and who owns the review of those new results.
What to confirm before you hire outside help
A written scope for PII masking in OpenMetadata should name the exact OpenMetadata version in production, since sample data behavior and profiler defaults change between releases. The 2.0 line, for example, made Dynamic Sampling the profiler default, so confirm which version you run and what sampling mode it uses before anyone estimates the work. The scope should also list every connector in use, because each source feeds sample data differently and the PII tags must be applied to the right entities in each one. Ask the partner to name the sensitive entities they expect to find, the tables and columns holding personal data, and who on your side signs off on the tag list.
The scope should name who reviews tags and how disagreements are resolved, because a column left untagged will show real values to anyone with read access. Require an acceptance test run with a non-privileged user account, not an admin or the ingestion bot, that confirms masked columns show ****** and that table-level tags hide all columns as intended. Ask for the test cases in writing and the results as evidence. For context, the GDPR's Article 32 expects controllers and processors to apply security of processing measures suited to the risk, and Article 83 sets fine tiers for infringements of those obligations. This is background for your own legal and privacy advisers, not a statement about your compliance position. Masking is one control among several, alongside access policies, the ingestion credentials you use and your audit trail, and the scope should say which of those sit outside the partner's work.
How DeployOpen scopes PII masking for OpenMetadata
DeployOpen approaches PII masking in OpenMetadata as a scoped decision about which tables and columns hold personal data, which tags mask sample data, and whether sample data should be off for some sources. We write those rules down, configure them in your own OpenMetadata deployment, and hand over evidence your privacy and security teams can review.
How we scope
- We list the sources, schemas and tables that may hold personal data before choosing any masking approach
- The written scope names which PII tags apply at column or table level and which sources keep sample data on
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- Scope notes state how auto-classification results will be reviewed before masking rules depend on them
How we build
- We apply PII tags to the agreed columns and tables and test that sample data shows masked values as expected
- We check that masking holds for each connector and ingestion path your team runs, not only the default view
- We set sample data off for sources where the team decides no preview is acceptable, and record the reason
- We confirm masking behavior on the exact OpenMetadata version you run, since defaults can change between releases
How we hand over
- You receive a tagging register listing each tag, the assets it covers, and the owner who approved it
- The handover includes a test record showing what a steward and a consumer see for sample data
- Runbook steps explain how to add a new PII tag, review auto-classified assets and reverse a masking rule
- Documentation states which settings we changed and which controls remain with your team to run
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- We retest masking after OpenMetadata upgrades or new connector onboarding, as set out in the retainer scope
- Support can cover reviewing new auto-classification results and new sources added to the catalog
- Questions about how masking fits your privacy record-keeping are answered with the controls and evidence we produced, without legal opinions

