Realtime notifications via e-mail
Notifications help ensure operators are informed of potential security threats in seconds, allowing them to take appropriate action to mitigate the risks. Receive alerts about infected or unscannable objects via email by creating an SNS subscription.
Consider daily/weekly/monthly reports or the AWS Security Hub integration as an alternative to realtime notifications.
Follow these steps to receive an email for every infected or unscannable file:
- Open SNS in the AWS Management Console.
- Ensure that you are in the correct region.
- Navigate to Topics.
- Search for the FindingsTopic and click on it.
- Click on the Create Subscription button.
- Keep the prefilled Topic ARN.
- Set Protocol to
Email
. - Enter the recipient’s email address for notifications in the Endpoint field.
- Enable the Subscription filter policy.
- Select Message attributes as the filter policy scope.
- Use the following policy to only get notified about infected and unscannable objects.
{"status": ["infected", "no"]}
- Press the Create subscription button.
- The subscription is in status Pending confirmation.
- The recipient receives a message (subject: AWS Notification - Subscription Confirmation) with a confirmation link shortly. Ensure to open the confirmation link.
- The subscription should now be in status Confirmed.
The following provides an example email for an infected file:
s3://bucketav-files/virus1.txt is infected by Eicar-Signature, tag action executed