Quick reference
A decision rule, one owner, and a default that fails closed.
- One owner — Accountable for the class, not for the meeting.
- Four classes — Public, Internal, Confidential, Restricted, each with a rule.
- Fail closed — Unlabelled data is Restricted until someone says otherwise.
- Enforce at the gate — Schema tag, policy check, access review, deletion job.
In one line: Classify small, enforce early. A rule one owner can apply beats a taxonomy nobody can.
Start this week:
- Pick the domain with the most customer data and one owner.
- Publish four classes and the rule attached to each one.
- Add the schema check to that domain's pipeline this sprint.
Explained
Skip the committee. Give each data domain one owner, publish a small set of classes, and attach a handling rule to each class: who may read it, whether it leaves the building, how long it lives, and what evidence you keep. A class without a rule is a label.
Then make the default fail closed. Unlabelled data is treated as the most restricted class until someone classifies it, with a date. That single default removes most of the arguments, because the cost of not deciding lands on the person who owns the data.
Engineers need the rule at the point of creation: a field tag, a schema comment, a model property that a pipeline can read. If the label cannot be read by a machine, it will not survive the first migration.
Checklist
Run it against one domain first. A line that cannot be answered is a gap in the rule, not a documentation task.
Decide
- Every dataset in the domain has one named owner.
- The class set is published and small enough to remember.
- Unlabelled data has a default, and the default fails closed.
Label
- Fields carry their class in the schema, not only in a document.
- The purpose and retention clock are recorded with the dataset.
- Ambiguous cases have a working assumption, an owner and a date.
Enforce
- A pull request fails when a new field has no class.
- Infrastructure policy denies a store without a class tag.
- Access reviews cover every Confidential and Restricted dataset.
Evidence
- The rule, the review date and the advice are in one place.
- A sample of labels has been checked against the actual data.
- The next review date is booked, not implied.
The field guide
The full guide of the PDF (P1153), page by page.
Consensus is not a control (the stall)
Classification projects fail when they ask every department to agree on labels. The data keeps moving while the meeting repeats.
The pattern is familiar. A working group is formed, a draft taxonomy is circulated, three teams disagree about whether their data is confidential, and the project loses its sponsor. Six months later the same data sits in four systems and nobody can say which one is allowed to keep it.
| The committee asks | The owner answers |
|---|---|
| Is this sensitive? | Which class, and who may read it? |
| Do we all agree? | When was this last reviewed? |
| What is the policy? | What does the pipeline enforce? |
The fix is not a better taxonomy. It is a smaller decision taken closer to the data: one named owner per domain, a published rule for each class, and a default that applies when nobody has decided. Agreement is useful, but it is not a control.
One owner, one rule A domain owner is accountable for the class of every dataset in their domain and for the handling rule that follows. They may consult anyone; they do not need anyone's agreement.
A label that needs a meeting to apply will not be applied.
Four classes, four obligations (the tiers)
Keep the set small enough to remember and concrete enough to enforce. Four classes cover most organisations.
The names matter less than the rule attached to each one. Pick words your engineers already use, publish the rule once, and attach it to a handling obligation rather than a feeling. A class with no consequence is decoration.
| Class | What it obliges |
|---|---|
| Public | Approved for release; no personal data |
| Internal | Staff only; no external sharing |
| Confidential | Named access; encrypted; access logged |
| Restricted | Purpose-bound; approval; short retention |
Write the rule as a sentence an engineer can apply without asking: who may read it, whether it may leave the building, how long it lives, and what evidence you keep. If the sentence needs a second document to interpret, it is too long.
The five-second test If you cannot say who may read a record and when it must be deleted, it is Restricted until someone can. The default does the work that the committee was supposed to do.
A class is a handling rule, not a compliment.
Classify where the data is born (the moment)
A label added after the fact is a guess. Decide at the point of creation, while the purpose is still known.
- Tag the field in the schema, next to the column it describes.
- Record the owner, the purpose and the retention clock on the dataset.
- Default anything unlabelled to the most restricted class.
- Review the label when the purpose changes, not only once a year.
- Give every label an enforcement point in the pipeline.
A check that fails an unlabelled model
import json
manifest = json.load(open('target/manifest.json'))
for m in manifest['nodes'].values():
meta = m.get('meta') or m.get('config', {}).get('meta', {})
if m['resource_type'] == 'model' and 'class' not in meta:
raise SystemExit('unclassified: ' + m['name'])The migration test A label that survives a schema change is one a machine reads. If the class lives only in a wiki, the next migration will drop it, and nobody will notice until a request arrives.
The check above runs against the compiled manifest, so it sees the model as the warehouse will see it. Put it in the pull request, not in a nightly report, and the label arrives with the code that needs it.
Classify at creation, because retrofitting is archaeology.
The cases that stall the room (the edges)
Some data is genuinely ambiguous. A time box and a default resolve it faster than another workshop.
Ambiguity is where classification projects go to die, because the tempting answer is to keep discussing until everyone is comfortable. The workable answer is to record the working assumption, set a review date, and move on. Most assumptions are never challenged; the few that are get a proper answer.
| Signal | Working assumption |
|---|---|
| Name plus contact detail | Personal; Confidential at least |
| Free-text notes | Assume personal; review by hand |
| Hashed identifiers | Still personal in most regimes |
| Small-count aggregates | Re-identification risk; Confidential |
Engineering practice, not legal advice Whether a field is personal data depends on context and jurisdiction. These are working defaults for engineers; keep a route to counsel for the cases that matter, and record the advice you get.
Record the assumption in the catalogue next to the dataset, with the name of the person who made it. An assumption with an owner can be revisited; an assumption in a slide cannot.
Decide with a default today, refine with counsel when the case is real.
Enforce the label or lose it (the gate)
A class that lives only in a document disappears at the first migration. Put it where the pipeline reads it.
Enforcement points are boring and effective: the schema tag, the infrastructure policy, the access review and the deletion job. Each one fails closed if the class is missing. Together they make the label cheaper to keep than to skip.
Policy as code: deny an unlabelled bucket
deny[msg] {
input.resource_type == "aws_s3_bucket"
not input.tags["class"]
msg := "bucket has no data class"
}- The schema tag fails the build when a new column has no class.
- The infrastructure policy denies a bucket or database without a tag.
- The access review lists every grant on Confidential and Restricted data.
- The deletion job reads the class to decide the retention clock.
Start with one gate Four gates on day one is a programme. One gate on the busiest pipeline is a result. Add the next gate when the first one has caught something and nobody has asked to switch it off.
The label earns its keep at the gate, not in the glossary.
The honest caveat: this is engineering practice, not legal advice. Whether a field is personal data depends on context and jurisdiction, so keep a route to counsel for the genuinely ambiguous cases.
Your turn: Who owns the classification of your busiest table?
Related on this site
More notes: Privacy & data protection
- P1161Data discovery and deletion commands
- P1160Five questions before you share a dataset
- P1159Access logs that survive an audit
- P1158Encryption layers: at rest, in transit, in use
- P1157Four privacy numbers worth writing down
- P1156Retention that deletes itself
- P1155Answering a data subject request
- P1154Five places PII hides in plain sight
Open in the notes app: search, filters, copy This note on GitHub