Data Classification at Scale: How to Find and Tag Sensitive Data
Jul 2026 · Data GovernancePicture a support-tickets table with a column called notes. Support staff type whatever helps them close the ticket, and sometimes that's a customer's national ID number, pasted in to look up an account. The column name looks harmless, so a scan that goes by names tags it internal.
Now follow that tag. The masking policy on the PII tag never touches the column, because the column isn't tagged PII. Anyone with internal access can read those ID numbers. An AI agent cleared for internal data can pull them into a summary. A data contract that protects PII fields doesn't cover them either. And the access report still shows the table as governed.
Access control, agent autonomy tiers and data contracts all read the same column tags. (I covered the access-control side in my post on moving Unity Catalog from grants to ABAC.) Most programs assume the classification already exists. In my experience that's where governance programs stall, because nobody built it to a standard you could enforce. This post is about building it.
It's dull, ongoing work, and when it goes well nothing happens. That makes it easy to put off in favor of the policy features it's supposed to support. It's also why a lot of "governed" enterprise data has labels that stopped matching the data years ago.
Agree on what the tags mean
Teams often start tagging before they agree on what the tags mean. One team's restricted is another team's internal, and people use "confidential" and "sensitive" for the same thing. Six months later you have a tag vocabulary with no shared definition, and it looks finished to anyone who doesn't check.
Keep the taxonomy small enough that someone outside governance can apply it the same way every time. Four tiers cover almost every need, as long as each one has a one-sentence test a reviewer can run:
| Tier | The one-sentence test | Example |
|---|---|---|
| Public | Already published or safe to publish with no harm. | Marketing content, public docs |
| Internal | Fine for any employee; damaging only if leaked externally. | Internal wikis, aggregate metrics |
| Restricted | Business-confidential; need-to-know even inside the company. | Deal terms, unreleased financials |
| Regulated | Legally governed: PII, PHI, cardholder, or similar. | Customer identifiers, health, payment |
People make these calls hundreds of times, so they need a test they can run without calling a policy expert. Don't add a fifth and sixth tier for edge cases. Put each one in the nearest tier and let the access policy handle the details downstream.
Finding the sensitive columns
At enterprise scale you can't find sensitive data by hand. You have three signals, and none of them is reliable alone, so run them together.
Column names are the cheap pass. A column called email or dob is a strong hint, and checking names costs almost nothing. But names are what failed in the notes example. A name scan also misses an attr_7 column full of phone numbers, or a free-text blob that holds everything, and it still gives you a clean-looking report.
Value-level detectors do most of the work. They sample the data in each column and run pattern matchers and dictionary lookups on the values. Email addresses, card numbers and national IDs have known formats, so a regex plus a checksum can flag them with high precision. Dictionaries catch the categorical cases, like a column that's mostly first names, city names or ICD codes. This is how you find the sensitive data the schema never told you about.
You have to read data to do it, so plan the sampling. A small random sample per column is usually enough to tell that a column holds emails.
A person makes the final call, because neither machine signal knows what the values mean. A detector can see that a column is full of nine-digit numbers. Whether they're national IDs, order numbers or device identifiers is what decides how sensitive the column is, and the detector can't tell. So the machine proposes tags, ranked by confidence, and a steward confirms or rejects them. When the name and the values agree (the column is called email and the values match the email pattern), the tag can go on automatically. Send the unclear middle to a person.
Decide which mistake you'd rather make
The biggest tuning decision is which way you'd rather be wrong. A missed regulated column is a compliance exposure, and you find out about it during a breach or an audit. A false positive, like an order-number column flagged as sensitive, costs a reviewer thirty seconds to reject.
So tune for recall. Over-flag, and make rejecting a flag quick. If you chase a tidy precision number, regulated columns get through with no label.
Keeping tags current
A classification run as a one-time project goes stale fast. New tables land, a column gets repurposed, or a schema migration moves a PII field into a table nobody re-scanned. Every access policy and agent tier built on top picks up the error, but nothing tells you anything changed.
I ran the enterprise catalog rollout at a Fortune-200 agriscience company. The first scan was the easy part. Keeping classification current across cross-functional teams was the hard part, and it's where most of the effort went.
So run classification when the data changes. Re-scan when a table's schema changes or new columns appear, so an annual review isn't where you find six months of drift. Alert when untagged data shows up in a governed zone. The strongest fix is to bind the sensitivity tag to the column through a data contract. Then a producer can't widen what a field holds, or drop its tag, without the change showing up at the boundary.
Build it or buy it
You don't need a six-figure platform to start. Discovery is pattern matching, dictionary lookups and name checks. The tag store can be your catalog's native tags, a governed metadata table or a column property in your warehouse. What matters is that someone owns the classification, reviews it when things change and enforces it downstream, whichever vendor supplies the scanner.
At scale, commercial catalogs are worth paying for. They add workflow, lineage, pre-built detectors for regulated data, and review queues that keep classification going after the first scan. I went through the buy-or-build math in my post on governance tool RFPs and total cost of ownership. If you're starting small, begin with the enforcement point you already control and prove the process on a few tables you know hold personal data.
Where I could be wrong
- Sampling can miss rare values. A free-text column where only a few rows hold an ID number can pass a small sample clean, which is the
notesproblem again. For free text, a full scan or a stricter default tag may be the safer call. - Four tiers may be too few if you answer to more than one privacy law. GDPR treats some categories, like health data, more strictly than ordinary personal data, so you might need to split the Regulated tier.
- If your tables rarely change, continuous scanning is more than you need. Classify by hand and review on a calendar.
A short checklist
- Write down the four tiers, each with a one-sentence test.
- Scan column names, then sample values with pattern and dictionary detectors.
- Auto-apply a tag only when the name and the values agree. Send the rest to a steward.
- Tune for recall, and make rejecting a false flag quick.
- Look at free-text columns like
noteson purpose. - Re-scan on schema changes and alert on untagged columns in governed zones.
- Tie each tag to its column in the data contract.
Data & AI governance, from the field
Notes on data governance that works in practice, plus my free RFP & TCO scorecard when you sign up.
No spam, unsubscribe anytime · Privacy
You're in. Check your inbox for a welcome note.