Skip to content

Count scanned files from clamd daemon log - #47

Merged
douz merged 1 commit into
trunkfrom
fix/TENUPSYS-3848-clamd-log-count
Sep 4, 2026
Merged

Count scanned files from clamd daemon log#47
douz merged 1 commit into
trunkfrom
fix/TENUPSYS-3848-clamd-log-count

Conversation

@douz

@douz douz commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • enable clean-result logging in the short-lived ClamAV daemon
  • count confirmed per-file daemon outcomes instead of collapsed clamdscan output
  • preserve multiscan, exclusions, result filtering, cleanup, and exit behavior
  • model real MULTISCAN client/daemon output in regression tests

Testing

  • bash tests/test-virus-scan.sh
  • bash -n scripts/virus-scan tests/test-virus-scan.sh
  • shellcheck scripts/virus-scan tests/test-virus-scan.sh
  • direct PHP 8.2 image scan of an SFERS snapshot: 2,744/2,744 eligible files reported; EICAR detected; no clean paths exposed

Ticket: TENUPSYS-3848

@douz
douz merged commit 3998f1a into trunk Sep 4, 2026
8 checks passed
@douz
douz deleted the fix/TENUPSYS-3848-clamd-log-count branch September 4, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant