Skip to content
DataHub
Get a Demo
Product Overview

Product Overview

AI-powered discovery, governance, and observability unify across your data estate to deliver data quality, compliance, and AI readiness.

Learn more

Platform

  • Discovery
  • Observability
  • Governance
  • Lineage
  • AI Data Management
  • Context Management New

Explore

  • The ROI of DataHub Cloud
  • DataHub Cloud vs Core
  • Integrations
  • Product Demos
Build with DataHub: The Agent Hackathon

Build with DataHub: The Agent Hackathon

Five weeks. $20,500 in prizes. Start building.

Learn more

Engage

  • Join the Community
  • Town Halls
  • Docs
  • Champions

Connect

  • Slack
  • Youtube
  • Office Hours
Pinterest Powers its #1 AI Agent with DataHub Context

Pinterest Powers its #1 AI Agent with DataHub Context

Modern data discovery goes beyond search. Learn how DataHub connects your data estate end-to-end.

Learn more
Resources
  • Blog
  • Guides
  • Events
  • Customer Stories
  • Webinars

Support

  • Docs
  • Get Support
  • Live Group Session
Context Management for Enterprise AI

Context Management for Enterprise AI

The complete resource hub for context management: foundational concepts, architecture guides, implementation patterns, and comparisons.

Learn More

Learning Centers

  • Context Management
  • Data Lineage Coming Soon
Careers

Careers

Data is powering AI. But without context, even the best models fall short. Join us.

Learn more

Company

  • About us
  • Careers
  • News
Partners
  • AWS
  • Google Cloud
  • Snowflake
  • Databricks
DataHub
  • Platform

    • Discovery
    • Observability
    • Governance
    • Lineage
    • AI Data Management
    • Context Management New

    Explore

    • The ROI of DataHub Cloud
    • DataHub Cloud vs Core
    • Integrations
    • Product Demos
    Product Overview

    Product Overview

    AI-powered discovery, governance, and observability unify across your data estate to deliver data quality, compliance, and AI readiness.

    Learn more
  • Engage

    • Join the Community
    • Town Halls
    • Docs
    • Champions

    Connect

    • Slack
    • Youtube
    • Office Hours
    Build with DataHub: The Agent Hackathon

    Build with DataHub: The Agent Hackathon

    Five weeks. $20,500 in prizes. Start building.

    Learn more
  • Resources
    • Blog
    • Guides
    • Events
    • Customer Stories
    • Webinars

    Support

    • Docs
    • Get Support
    • Live Group Session
    Pinterest Powers its #1 AI Agent with DataHub Context

    Pinterest Powers its #1 AI Agent with DataHub Context

    Modern data discovery goes beyond search. Learn how DataHub connects your data estate end-to-end.

    Learn more
  • Learning Centers

    • Context Management
    • Data Lineage Coming Soon
    Context Management for Enterprise AI

    Context Management for Enterprise AI

    The complete resource hub for context management: foundational concepts, architecture guides, implementation patterns, and comparisons.

    Learn More
  • Company

    • About us
    • Careers
    • News
    Partners
    • AWS
    • Google Cloud
    • Snowflake
    • Databricks
    Careers

    Careers

    Data is powering AI. But without context, even the best models fall short. Join us.

    Learn more
Get a Demo

Managing PII in DataHub: A Practitioner’s Guide

By: Mitchell

05.16.22

PII and its importance

Every day, the world produces 5 exabytes of data (Source: Accenture). That’s equivalent to 2.5 quintillion bytes, 2.5 billion gigabytes, or roughly 145 million digital copies of James Cameron’s Avatar, my favorite movie.

Among this data produced often lies PII, or personally identifiable information. The NIST defines PII as Any representation of information that permits the identity of an individual to whom the information applies to be reasonably inferred by either direct or indirect means. In other words, PII is any piece of information that could be used to infer one’s identity.

Recent data points to an unfortunate increase in PII breaches at the companies we interact with on a daily basis, for example less than a year ago at Microsoft, and one even more recent at Okta.

Not this.

Not this.

It goes without saying PII is incredibly important and valuable to a company, and an emphasis should be placed on ensuring this data is properly managed, so it can be properly protected. In this article we will walk through how to properly annotate your datasets that contain PII, and then describe some of the powerful use cases DataHub offers once annotation is complete.

How to annotate data as containing “PII” in DataHub

To ensure that your sensitive information is consistently identified and governed, implementing PII data classification practices within your DataHub instance helps automate the tagging of personally identifiable information and improves both discovery and access control across your data assets.

Step 1: Build and ingest your business glossary

In order to begin annotating datasets that contain PII, we first need to create and ingest a glossary of terms which contain the various types of “Personally Identifiable Information” your business or organization collects. Because this will vary from organization to organization, each of your glossaries will differ. However, we have prepared a utilitarian glossary containing many different types of PII and their “levels” of sensitivity/impact according to NIST standard to get you started — all you have to do is upload this to your DataHub instance!

Examples of some of the PII terms we’ve included.

Examples of some of the PII terms we’ve included.

How does this glossary file work, you ask?

In DataHub, it is possible to create multiple glossary term “sets” which can interact with one another. For our case, this is helpful because it allows us to associate our PII term “set” with our Impact Levels term “set”, giving each PII glossary term an associated level of impact if it was accidentally disseminated. This enhances the experience for end users, as they are now able to filter by Low, Medium or High impact, vs. having to filter by PII term, of which there can be dozens. For more information please see here.

PII term set

PII term set

Furthermore, if down the line there are reasons to change a PII term from one level of impact to another, (i.e. email now is a “High” impact term and it was originally “Medium”), all datasets that contain emails will auto-switch from “Medium” to “High” impact level with a small edit to the .YAML file. Don’t take my word for it, try it yourself in your own instance.

Please feel free to use the above glossary as a starting point, and edit to your liking. Our .YAML recipes are easy to use, and we recommend that you keep your glossaries as a checked-in artifact in your tool of choice to keep track of changes over time.

For more information on business glossaries in general, why they are important, and how to use them in DataHub, see a previous article here.

Step 2: (Annotate the data) either automatically or manually

So you now have your business glossary ingested into your DataHub instance. Nice work. Now, in order for the glossary to be useful, we need to actually attach the PII term to datasets. This can be done in a few different ways:

“Shift-left” via annotations in schema languages(**Recommended**)

The DataHub community has pioneered shift-left practices for annotating schemas in CI/CD pipelines with the right glossary terms. Zendesk demonstrated how they have done this with Protobuf schemas and Saxo Bank has shared their automated approach for applying glossary terms. As we speak, other companies in the DataHub community are adding support for Thrift and other schema languages. We recommend this “Shift-left” approach because it minimizes the time teams have to spend on manual data enrichment.

Using “Transformers” and pattern matching during metadata ingestion

In DataHub, you are able to create a transformer that can automatically add glossary terms like PII to datasets prior to its ingestion into your instance. For more information on how this would look, please see here.

Specify Regex patterns to determine which glossary terms to add

Specify Regex patterns to determine which glossary terms to add

Via the DataHub UI

The DataHub UI supports adding glossary terms to datasets as well as individual columns with a few clicks.

Watch video

Acryl Data Auto-PII Detection

Acryl Data partners with Vendors who produce PII detection using machine learning and has approval workflows for humans to verify proposed terms. For more information, please visit our website and fill out a form.

Coming Soon: CSV Ingestion of Associations

In the next DataHub release we plan on adding a new .CSV based ingestion plugin that will allow you to more easily programmatically annotate PII to existing datasets and schemas. End users will be able to list which PII terms to associate with each dataset or column in a .CSV file, and our plugin will do the rest!

Common Use Cases in DataHub

Congratulations on making it this far. Your glossary term sets are ingested, and a large portion of your data is now annotate as containing PII — what next? Here are some use cases that make the work you did worth it!

Search and Discovery with PII

End users can now quickly answer the following questions that they were not able to before, such as:

Where is all of the PII data residing in my data stack?

Which datasets contain emails in my data stack?

Is this dataset safe to send, or does it contain PII?

…and more!

Dataset Downloads

End users should now be able to download .CSV files of their PII datasets, all from a couple clicks from the DataHub UI. Watch video.

API calls for access control to datasets

Now that a good portion of your datasets are properly annotate as containing PII, you can now use DataHub’s friendly API to begin governing access control in your provider of choice.

Metadata analytics sanity check

Navigate to the “Metadata Analytics” tab to validate the amount of datasets you have annotated as PII, and glean additional insights into data ownership and more.

1.8K datasets

Conclusion

It is becoming increasingly important for data-gathering companies to keep track of PII to ensure their end users’ data is properly handled. I hope this article has served as a useful introduction to PII, proved its importance, and shown you how to leverage DataHub to properly track it.

DataHub does a lot of other things, too. See here for more.

Have a success story using DataHub to manage PII? Write to me at feedback@acryl.io

Acryl Data is hiring, click here for more information.

Want to get involved? Join our slack channel here.

Curious to see DataHub in action?

DataHub transforms enterprise metadata management with AI-powered discovery, intelligent observability, and automated governance.

Meet with us

See how DataHub Cloud can support enterprise needs and accelerate your journey toward context-rich, AI-ready data.

Book a Demo DataHub Cloud

Join our open source community

Explore the project, contribute ideas, and connect with thousands of practitioners.

Join the Slack community slack

Recommended next reads

View All Blogs
Netflix Reimagines Discovery and Governance at Scale
CUSTOMER STORY03.20.26

Netflix Reimagines Discovery and Governance at Scale

With DataHub, Netflix empowers teams to define and manage metadata through self-serve workflows, improving flexibility and governance.

Introducing DataHub Cloud v0.3.17
PRODUCT UPDATES03.24.26

Introducing DataHub Cloud v0.3.17

DataHub Cloud v0.3.17 brings native Microsoft Fabric connectors for cross-platform lineage, Ask DataHub Plugins for multi-tool context, and smarter data quality monitoring.

The State of Context Management in 2026
CONTEXT MANAGEMENT03.09.26

The State of Context Management in 2026

Survey data from 250 IT and data leaders exposes the gap between AI confidence and the context management infrastructure production-scale agentic AI demands.

Product

  • Product Overview
  • Discovery
  • Observability
  • Governance
  • Lineage
  • AI Data Management
  • Context Management
  • The ROI of DataHub Cloud
  • Product Demos

Community

  • Join the Community
  • Docs
  • Champions
  • Town Halls
  • Office Hours
  • Slack
  • Youtube

Resources

  • Customer Stories
  • Blog
  • Guides
  • Articles
  • Webinars
  • Get Support

Company

  • About Us
  • Leadership
  • News
  • Careers

© 2026 Acryl Data, Inc.

Privacy Policy Terms of Service Security