Detect sensitive data in a file
detect_fileDetect PII, PHI, PCI, and secrets in local files—including images, PDFs, and scans—using OCR. Returns found data element types without modifying the file.
Instructions
Detect PII, PHI, PCI and secrets in a local file — image, PDF, scan or text. Strac runs OCR on images and scanned documents. Returns the data element types found, without modifying the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| include_matched_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||