I am testing ClamAV to detect viruses on machine.
I am running
clamscan -r -i "Path to folder containing archive that has infected file"
It fails to detect the infected file present inside the archive file. If I have the infected file outside of the zip, it is detecting the file.
I have created clamd.conf / clamav.conf in the scanner folder that has scan-archive set to yes.
Your zip file might be bigger than default values. Add these options as well for running the scan.
refs: https://manpages.ubuntu.com/manpages/xenial/man1/clamscan.1.html