how-to-guides

No menu items for this category

Sample Data Handling Using PII Tags

In OpenMetadata, sensitive information is protected through automatic masking of sample data when PII (Personally Identifiable Information) tags are applied.

  • If a PII tag is applied to a specific column:
    • Only that column’s sample data will be masked and displayed as ****** in the UI.
PII Tag Application at Column Level

PII Tag Application at Column Level

  • If a PII tag is applied at the table level:
    • All columns within that table will have their sample data masked automatically.
PII Tag Application at Table Level

PII Tag Application at Table Level

This behavior ensures that sensitive data is not exposed through sample data views in OpenMetadata.

Column NameTagSample Data Displayed
emailPII.Sensitive******
phoneNumberPII.Sensitive******
age(None)25

When the tag is applied at the table level, the result would be:

Column NameTagSample Data Displayed
emailInherited from Table******
phoneNumberInherited from Table******
ageInherited from Table******
  1. Navigate to the column or table in the OpenMetadata UI.
  2. Apply the PII.Sensitive tag via the tagging options.
PII.Sensitive Tagging

PII.Sensitive Tagging

  1. Ensure auto-classification or manual tagging captures the correct columns during ingestion.