Often when allowing customers to upload files via your website there is a need to scan the file for viruses before the file can be accessed by your internal team who would be processing the file.
This is a proof of concept that creates such an architecture. The proof of concept consists of a frontend (nodejs / express) that is used by users to upload a file. When the file is uploaded it is sent to a Quarantine container where it triggers a logic app. The logic app in turn then invokes a API (via HTTP). The API then invokes a web service (App Service) written in Go which then via TCP invokes a ClamAV service to scan the file. If the file has a virus it is moved to the Virus container else it is moved to the Clean container.
This is the overall architecture:
This is how the logic app needs to be constructed so that it is triggered when a blob is added to the container
A demo of this solution is available on YouTube.