Presets for DPDP, KYC, GDPR, HIPAA and more
A preset is a ready-made set of PII types for one use case. Pick one with a single option and adjust it with your own options.
js
new Piilite({ preset: "dpdp" });
new Piilite({ preset: "kyc", exclude: ["PINCODE"] }); // your options winWhich presets are available?
| Preset | Use it for | Covers |
|---|---|---|
dpdp | India's Digital Personal Data Protection Act, 2023 | Contact details, all Indian IDs, financial, health and employment IDs, device IDs, DOB, vehicle number, GSTIN |
kyc | Identity verification | Aadhaar, VID, PAN, voter ID, passport, DL, ration card, name, address, PIN, DOB, phone, email |
fintech | Payments, lending, banking support | Bank account, UPI, cards, CVV, OTP, PINs, PAN, Aadhaar, GSTIN, IFSC, SWIFT, passwords, contact |
pci | Card data (PCI DSS) | Card number, CVV, expiry, PINs |
healthcare | Hospitals, telemedicine, insurance | ABHA, contact details, Aadhaar, DOB, passport |
hr | Payroll, hiring, résumés | UAN, ESIC, contact details, Aadhaar, PAN, bank, IFSC, passport, DOB, DL |
secrets | Logs, code, support tickets | API keys, private keys, JWTs, tokens, connection strings, passwords, OTPs, PINs |
gdpr | EU personal data | Contact details, IDs, financial, health and device data, DOB, IBAN, SWIFT, SSN |
hipaa | US health data | Contact details, health IDs, device IDs, DOB, SSN, vehicle number, bank, cards |
strict | Prompts sent to third-party models | Everything, with a lower confidence cut-off (0.4) and test-looking numbers too |
precise | Analytics where false alarms are costly | Everything, with a higher confidence cut-off (0.8) |
What does the DPDP preset cover?
The dpdp preset covers any data that can identify a person under India's Digital Personal Data Protection Act, 2023: names, contact details, Aadhaar, PAN, voter ID, passport, bank and UPI details, health IDs, employment IDs, device IDs, date of birth and vehicle numbers.
Presets help you minimise personal data. Compliance also depends on consent, purpose limits, retention and security, so a preset alone does not make an app compliant. This is not legal advice.
Last updated · piilite 0.3.0