I don’t trust ClamAV. And recently the management decided Kaspersky isn’t an option anymore neither. So I would like to integrate another virus scanner (Avast) with files_antivirus. I have a script that takes file/files/path as parameter and returns 0 or 1 (in case of virus) and a clear text message. I used the option “executable clamav” or similar (using german UI). I replaced the call to clamscan with a call to my script.
It seems to work: Uploading the Eicar virus I get the message "Der Virus wurde in der Datei gefunden. Das Hochladen kann nicht abgeschlossen werden. " (Virus was found, upload cannot continue). But there’s no information on the specific virus found.
My question: In which way must the information about the virus found be handed back to Nextcloud so that it can be displayed?