ClamAV

Scan files and content for viruses using a ClamAV clamd daemon. Free operations: Scan File, Scan Content, Get Stats. Premium operations (license key required): Batch Directory Scan, Real-time Monitor.

Scan File

AI-generated

Summary

Send the configured absolute file path to the ClamAV clamd daemon for scanning. Return the parsed scan result for each input item, including whether the file is clean, flagged, or produced a scan error.

Inputs

  • File Path (required) — Absolute path to the file, readable by the clamd process.
  • Connection Timeout (ms) — TCP connection and read timeout; defaults to 30000 ms.
  • Continue on Fail — When enabled, continue with subsequent items after a scan failure and add an error field to that item's output; defaults to false.

Output shape

One output item per input item, containing JSON with operation (scanFile) and parsed scan result fields.

The result includes path, status (OK, FOUND, or ERROR), and raw; virus is included for FOUND, and errorMessage for ERROR. Without Continue on Fail, a scan failure stops execution.

Links

Discussion