Skip to main content
Solved

Using the API to scan files

  • December 19, 2018
  • 1 reply
  • 129 views

I have developed a website where people can upload files to and I would like to scan these uploads for viruses. Webroot Endpoint Protection is running on the same machine the site is running on. Is there a way, perhaps using the Unity API and SDK, to use Webroot to scan these files?
 

Best answer by ngoknel

Hi,
 
Yes, you can initiate a Deep Scan using POST /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints/commands using the command type "scan". You will first have to optain the endpoint ID by using GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints.  
 
Thanks, 
View original
Did this help you find an answer to your question?

ngoknel
Administrator
Forum|alt.badge.img+8
  • Product Manager
  • December 21, 2018
Hi,
 
Yes, you can initiate a Deep Scan using POST /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints/commands using the command type "scan". You will first have to optain the endpoint ID by using GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints.  
 
Thanks, 

Reply