Batch Directory Scan (Premium)
AI-generatedSummary
Recursively scans files in a directory with the ClamAV daemon, returning one result item per file. Requires a valid LowWatt Labs license key in the ClamAV credentials.
Inputs
- Directory Path (required) — Absolute directory path accessible to the clamd process.
- Recursive — Defaults to true. When false, scans only files directly inside the directory; when true, includes subdirectories (up to 10 directory levels).
- Options: Connection Timeout (ms) — TCP connection and read timeout in milliseconds; defaults to 30000.
- Options: Continue on Fail — Defaults to false. When enabled, a failed scan adds an output item with the operation and error message, then continues with subsequent input items.
Output shape
A list of items, one per scanned file.
Each item includes operation, file, and parsed scan fields such as path and status (OK, FOUND, or ERROR); virus is included for detections, and errorMessage for scan errors. An empty directory produces no output items. Directory traversal ignores symlinks. A valid license is checked before scanning; without one, the operation errors or emits an error item when Continue on Fail is enabled.