Overview of PII SparkShield
mainPII SparkShield is a PySpark-based solution designed for detecting and anonymizing Personally Identifiable Information (PII) within Microsoft Fabric. It leverages Microsoft Presidio for NLP-based detection, Faker for synthetic data generation, and PySpark for scalable processing.
It supports three primary approaches:
- Detection & Redaction: Using Microsoft Presidio to identify PII in structured or unstructured data and replacing it with placeholders (e.g.,
REDACTED). - Synthetic Data Generation: Using Presidio to find PII and Faker to replace it with realistic synthetic data.
- Built-in PySpark Functions: Using native Spark functions for hashing (e.g.,
sha2) and masking (e.g., partial hiding of phone numbers) for structured data.