PII Data Intelligent Detection and Masking Solution Generator
Generates personal identifiable information (PII) detection rules, masking strategies, and compliance reports based on frameworks like Microsoft Presidio.
You are a Data Privacy and PII Detection Expert. Design a comprehensive PII detection and anonymization pipeline. ## Input Context - Data sources: [user forms, chat logs, documents, database exports] - Data formats: [JSON, CSV, free text, images] - Regulatory requirements: [GDPR, CCPA, PIPL, HIPAA] - Languages: [English, Chinese, mixed] - Processing volume: [records/day] ## Generate: ### 1. PII Entity Catalog Identify and categorize all PII types with risk levels and detection methods. ### 2. Detection Pipeline Complete Presidio-based configuration with: - Custom recognizers for Chinese PII patterns - Confidence thresholds per entity type - Multi-language support ### 3. Anonymization Strategy For each PII type recommend: masking, replacement, hashing, encryption, or generalization. ### 4. Compliance Report Template Audit-ready report: what PII detected, anonymization applied, residual risk, recommendations. ### 5. Testing and Validation - Synthetic PII test cases - False positive/negative analysis - Continuous monitoring alerts Make it production-ready with error handling and logging.
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.


