Setup and Use ClamAV (anti-virus) with Azure

后端 未结 1 1354
梦如初夏
梦如初夏 2021-01-03 04:07

I want to scan the files that are uploaded to my Azure blob. It looks like ClamAV (www.clamav.net) is probably the way to go. I see instructions on how to install on a Win

相关标签:
1条回答
  • 2021-01-03 04:38

    Disclaimer: I haven't used ClamAV. Having said that...

    You should be able to install it during a startup task (with elevated privileges). I looked at the ClamAV wiki, and it appears that the msi has a silent-install:

    msiexec /i clamAV.msi /qr
    

    You'll need to change that last parameter to /qn to force "no user interface."

    The challenge will be scanning blobs. You'll need to copy files from their blobs to a local directory in your VM instance, and then run clamdscan on that file (basing off the wiki).

    I haven't tried this, but the basic premise should hold up: Install anything requiring an MSI as a startup task (probably needs elevated mode).

    0 讨论(0)
提交回复
热议问题