Overview
ThePatternScanner class performs regex-based pattern detection to identify hardcoded secrets, PII, and other privacy issues.
Constructor
Methods
scanContent(filePath, content)
Scans file content for privacy issues using regex patterns.filePath(string): Path to the file being scannedcontent(string): File content to scan
Detection Patterns
The PatternScanner uses these regex patterns:- Critical Patterns
- High Severity
- Medium Severity
- Low Severity

