How to trigger an on demand style Antivirus Scan with Malware Scanning in Defender for Storage ?

Jan 25 Reputation points
2023-09-21T20:32:08.33+00:00

I am currently working with the new Defender for Storage Solution https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-storage-malware-scan to replace an old container based ClamAV Solution.

It is fairly simple to setup the on-upload scan, and either read the "Malware Scanning scan result" Tag or react to the Event Grid message.

But how would I build an on-demand Scan via custom Code (maybe Azure Function), that I can do weekly full scans with ?

It is a major oversight to only scan files once, if the newest Virus definition is just not known today.

So I am looking for the ability to schedule re-occurring full scans for the whole blob instead of only scanning on upload.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,936 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,202 questions
Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
{count} vote

Accepted answer
  1. navba-MSFT 27,550 Reputation points Microsoft Employee Moderator
    2023-09-25T03:41:06.9933333+00:00

    @Jan Thanks for getting back. As of today, Defender for Storage’s malware scanner only scans file upon upload in Azure Blob Storage. We are currently collecting feature evidence on other triggers to run the malware scanner.

     

    As per your feedback, I will submit a feature request on your behalf. Could you please share the below details with me over email at Azcommunity@microsoft.com and title it as ATTN:Naveen

    • Your name:
    • Your point contact name/email address/position:
    • Number of Azure Storage repositories (accounts) you have:
    • Your complete use case scenario along with the alternatives you have explored.

    Please note, some of the above details you have already shared. Apologies if duplicate.

    I will leverage these information and will create a feature request. Awaiting your reply.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.