To test your deployment, you’ll need to generate a malware detection using the eicar file. Follow the instructions below.
This video here also demostrate the steps-by-steps if you prefer to check additional details before following the steps.
1. In the AWS console, open AWS CloudShell in a new tab.
wget https://secure.eicar.org/eicar.com.txt
aws s3 cp eicar.com.txt s3://name-of-bucket-goes-here/eicar.txt
2. After successful upload navigate to S3 and find your S3 bucket that you defined to be scanned by File Storage Security.
2.4 Select the uploaded eicar file.
3. Examine the tags applied from the scan results.
Look for the following tags:
fss-scan-date "date_and_time"
fss-scan-result "malicious"
fss-scanned "true"
The tags indicate that File Storage Security scanned the file and tagged it correctly as malware. You have now tested your File Storage Security deployment 👍
You could also check in the Cloud One - File Storage Security dashboard to look for how many files have been scanned and recognized as malicious.
You could do the same process with a safe file and see how Cloud One - File Storage Security will be tagging it in the object.