Create a custom email for security event notifications
Learn how for creating a custom email for security event notifications by configuring new notifications, setting triggers, defining recipients, and crafting email content with dynamic event fields.
Avant de commencer
Role required: admin
Procédure
- Select system notifications > notification.
- Select new.
- Enter a name for the notification field.
- Select the field next to table and enter security policy notification (sn_vsc_security_policy).
-
Configure the new record.
There are three tabs within the record that must be configured: When to send, Who will receive, and What it will contain.
Tab Description When to send Select the field next to Send when label and select Triggered. Who will receive - Select the local icon next to Users/Groups in fields, and select both Users and Groups. Select the Add Item (>) icon to move the fields into the Selected text field.
- Right click on the record header banner and select Save.)
What it will contain Create an email template. See Create an email template for more information.
Enter fields of the event into Message HTML. This can be done by using the${event_id.FIELD_NAME}. Here's an example:Role: ${event_id.role.URI_REF} Granted to: ${event_id.granted_to.URI_REF} Granted by: ${event_id.user.URI_REF} Logged at: ${event_id.sys_created_on} Security Center Notification: ${execution.policy.name} - Select Submit.
-
Add a custom notification to email template in security event notifications.
- In Security Center, select Notifications > Policy settings.
- Navigate to the Notifications label.
- Enter the name of the custom notification you created in the Notification field.