audit_directory_for_pii
Scans a local directory for exposed secrets, keys, and PII, then returns a summary report to support security auditing.
Instructions
Scans a local directory for leaks of secrets, keys, and PII. Returns a summary report. Use this tool for Security Auditing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sector | No | Optional alias for 'profile'. The industry sector or compliance vertical to apply (e.g. 'medical', 'finance', 'legal', 'dev', 'hr', 'accounting', 'security', 'compliance', 'underwriting', 'telecom'). | |
| profile | No | The detection profile to use. Available: 'General' (Free, 15,000 chars), or 30 specialized industry profiles (5,000 chars Free trial quota; unlimited on PRO/TEAMS/SDK): 'Dev' (Engineering/Code), 'Medical', 'Pharma', 'Biotech', 'Telecom', 'Legal', 'Compliance', 'CCPA', 'Finance', 'Bizops', 'Sales', 'WealthMgmt', 'Insurance', 'Accounting', 'Underwriting', 'Automotive', 'Energy', 'Hospitality', 'HR', 'Security', 'Marketing', 'Support', 'RealEstate', 'Agents', 'Academic', 'Creative', 'Tech', 'Personal', 'Engineering'. Defaults to 'General'. | |
| extensions | No | List of file extensions to scan (e.g. ['.env', '.log', '.js']). If empty, scans all text files. | |
| directory_path | Yes | Absolute path to the directory to audit. | |
| ignore_node_modules | No | Whether to ignore 'node_modules' directories. Defaults to true. |