Scanning an AWS S3 file for Viruses in Node.JS

Are you storing important data in an AWS S3 file? If so, you want to ensure that data is safe from the growing variety of online threats, and we’ve got something that can do just that. Utilizing the following API in Node.JS, our technology scans for millions of virus signatures, and is continuously refreshed with new signatures via cloud-based updates.

Image for post
Image for post

First, you’ll need to install the SDK to utilize the Cloudmersive API:

npm install cloudmersive-virus-api-client --save

Or, add this snippet to your package.json:

  "dependencies": {
"cloudmersive-virus-api-client": "^1.1.7"

Gather your parameters from AWS S3 (access key, secret key, bucket region, bucket name, key name) and call the function using the following code:

var CloudmersiveVirusApiClient = require('cloudmersive-virus-api-client');
var defaultClient = CloudmersiveVirusApiClient.ApiClient.instance;

And in a flash, your result will be delivered! The response will indicate if the file is clean, or identify the virus if one is present.

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store