Why this module exists. Manual data classification fails. Survey-based “where is sensitive data” produces inventories that miss 40-60% of actual locations. Modern automated discovery + ongoing classification is the workable approach.
The classification framework
A simple, defensible scheme:
| Level | Examples | Treatment |
|---|---|---|
| Public | Marketing material, published API docs | Standard controls |
| Internal | Org charts, internal policies, financial summaries | Access-controlled to employees |
| Confidential | Customer PII, contracts, source code | Need-to-know access, encryption, DLP |
| Restricted | Payment data, Aadhaar, regulated financial info | Restricted access, field-level encryption, full audit, tokenisation |
Four levels balances precision and adoption. More levels (seven, ten) sound rigorous but degrade in practice — users don’t remember which is which.
Discovery — automated approaches
- Cloud-native discovery: Macie (AWS), Purview Discovery (Microsoft), Cloud DLP (GCP). API-driven scan of cloud storage, databases, files.
- Database-targeted: PII discovery scans on RDBMS / NoSQL. IBM Guardium, BigID, Informatica.
- File-share scanning: SharePoint, file-server, OneDrive, Google Drive.
- SaaS-application data: CASB-integrated discovery.
- Code-and-config: source-code repos for hardcoded data, IaC for storage configurations.
The discovery patterns
- Pattern matching: regex for Aadhaar (12 digits with Verhoeff checksum), PAN, credit card (Luhn checksum), Indian phone, IBAN.
- Document fingerprinting: hash known sensitive documents; find copies.
- Exact data matching: feed customer-list hashes; find records anywhere in the estate.
- ML / contextual analysis: classify by content similarity to labelled examples. Catches unstructured data regex misses.
The Indian-specific patterns
- Aadhaar: 12 digits, Verhoeff checksum, often formatted as XXXX-XXXX-XXXX or XXXX XXXX XXXX.
- PAN: 10 chars, AAAAA9999A pattern; specific letters at fixed positions.
- GST number: 15 chars, state code + PAN + entity code + check digit.
- UPI ID: user@bank format.
- Indian phone: +91 followed by 10 digits; often without +91 prefix.
- Voter ID / EPIC: alpha-numeric, varies by state.
Out-of-box DLP / discovery tools cover Aadhaar / PAN; custom patterns for less-common types.
The classification operation — manual + automated
- Automated baseline: discovery tool tags every storage location with detected sensitivity level.
- Owner verification: data owner confirms or corrects the automated classification.
- Tag persistence: classification metadata sits with the data — file properties, object tags, database column comments.
- Downstream enforcement: DLP / access-control / encryption all read the classification tag.
- Drift detection: periodic re-scan; new data is classified; relocated data carries its tag.
The data-flow map — the practical artefact
Discovery output is messy raw data. The artefact that auditors and regulators want is the data-flow map: where personal data enters the system, where it lives, where it moves, where it leaves. Tools to build this:
- OneTrust Data Mapping.
- BigID Data Intelligence.
- Collibra.
- Custom spreadsheet — workable for <10 data-flow types.
Common failure modes
- One-time discovery; never refreshed. New data sources accumulate uninventoried.
- Classification scheme too complex; people pick the safest level for everything; precision lost.
- Auto-classification not verified by owners; false-positives mistreated as authoritative.
- Discovery in cloud only; on-prem file shares ignored.
DPDP framing
DPDP requires the data fiduciary to maintain a comprehensive inventory of personal data. Discovery + classification + data-flow map is the operational answer. Without it, breach notification, erasure requests, and audit response are all impossible to do correctly.
Key takeaways
- Four-level classification scheme: Public, Internal, Confidential, Restricted.
- Discovery via cloud-native tools (Macie, Purview, Cloud DLP) + targeted vendors (BigID, Guardium).
- Discovery patterns: regex, fingerprinting, exact match, ML/contextual.
- Indian-specific: Aadhaar, PAN, GST, UPI patterns.
- Manual owner verification on automated classification; tag persistence; drift detection.
- Data-flow map is the artefact for audit and DPDP compliance.
Get a DPDP gap assessment
Free 30-minute call. We map your data flows against DPDP §8 obligations and tell you exactly which gaps to fix first. Auditor-defensible output.