Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Anti Virus Scan for digital assets before Storing asset into Application

Avatar

Level 3

Hi,

we have developed our antivirus scan api to enable virus scan for digital assets. And we need to enable this scan , before storing asset into AEM application. We tried to edit OOTB asset update workflow, as this workflow will trigger on every asset upload. We have created one custom process step and included before flow reach to GateKeeper Process. But it dint work.

I have checked few links on forum which are related to Anti Virus scan. But I dint get much info.

We are looking for better approach to achieve this use case.

I haven't tried it yet but just checking, is it good practice to overlay the upload action?

Thanks,

Swati

2 Replies

Avatar

Community Advisor

Dear Swathi,

Sling has recently developed API/Implementation to do this:

GitHub - apache/sling-org-apache-sling-clam: Apache Sling Clam code has been implemented to integrate: "ClamAV® is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats."

Regards,

Peter

Avatar

Level 3

Hi Peter,

I have gone through the readme file, but I dint got much info on configuring the bundle. So if we just include this bundle, anti virus scanning for the assets will work??

Thanks,

Swati