Overview
- What it Does: PII/PHI Scanning automatically detects and identifies Personally Identifiable Information (PII) and Protected Health Information (PHI) in your codebase. It scans source code, configuration files, and documentation to find sensitive data patterns like credit card numbers, social security numbers, email addresses, medical records, and other personal information that could pose privacy and compliance risks.
- Who it’s For: This feature is designed for security teams, compliance officers, developers, and organizations that handle sensitive personal data. It’s particularly valuable for healthcare organizations, financial institutions, e-commerce platforms, and any business that must comply with privacy regulations like GDPR, HIPAA, CCPA, or PCI DSS.
Key Features and Benefits
- Comprehensive Data Detection: Identifies over 50 types of sensitive information including:
- Personal identifiers (SSN, passport numbers, driver’s license)
- Financial data (credit card numbers, bank account numbers, IBAN)
- Contact information (email addresses, phone numbers, addresses)
- Medical information (patient IDs, medical record numbers, diagnosis codes)
- Government identifiers (tax IDs, national IDs, military IDs)
- Biometric data (fingerprints, facial recognition data)
- Authentication credentials (passwords, API keys, tokens)
- Multi-Language Support: Scans both code and text files across a wide range of supported languages and file types.
- False Positive Detection: After detecting PII in the codebase, we run the results through our AI-powered false positive detection system to minimize the number of inaccurate findings.
How to Access
Prerequisites
- Project must contain source code files to scan
- Appropriate permissions to run security scans
- Access to the scanning service
Usage Guide
Key Workflows
- Automated Scanning: The system automatically scans new code commits and pull requests
- Manual Scanning: Initiate on-demand scans for specific files or directories
- Batch Processing: Scan entire codebases for comprehensive privacy audits
- Continuous Monitoring: Set up scheduled scans to catch new sensitive data as it’s added
- Issue Tracking: Automatically create and track remediation tasks for detected issues
Supported Data Types
The PII/PHI scanner detects the following categories of sensitive information:- Personal Identifiers: SSN, passport numbers, driver’s license, national ID
- Financial Information: Credit card numbers, bank accounts, routing numbers, IBAN
- Contact Details: Email addresses, phone numbers, physical addresses
- Medical Data: Patient IDs, medical record numbers, diagnosis codes, prescription data
- Government Data: Tax IDs, military IDs, government employee numbers
- Authentication: Passwords, API keys, access tokens, private keys
- Biometric Data: Fingerprints, facial recognition data, voice patterns
- Location Data: GPS coordinates, device identifiers
Multi-Project Example
Severity Classification
- Critical: Highly sensitive data (SSN, credit cards, medical records) exposed in production code
- High: Personal identifiers or financial data in development/test environments
- Medium: Contact information or location data that could be aggregated
- Low: Public information or properly anonymized data
Examples
Example 1: Credit Card Detection
Example 2: Email Address Handling
Example 3: Medical Data Protection
Additional Resources
- Privacy Regulations: GDPR, HIPAA, CCPA, PCI DSS
- Secure Coding Guidelines: OWASP Secure Coding Practices
- Data Protection: NIST Privacy Framework
