Setting up Vulnerability Response email notifications comes down to three decisions: when the message is sent, who receives it, and what it contains. For remediation owners, the built-in remediation digest is scheduled from Scheduled Jobs. Other messages are built as email notifications, each with its own trigger and recipients, and an email template controls how each one is laid out.
Decide what each notification must tell the reader
Write the requirement down before anyone opens a form. Name the trigger, which is the event or schedule that causes the message. Name the audience, meaning the people who receive it and who hold the role or group membership needed to act on what it says. Then list the content, the fields the reader needs in order to act without searching for context. Teams that skip this step tend to send a summary to the wrong group, or build a template that repeats what the reader already sees in the workspace.
Keep each message narrow. The digest in the Vulnerability Response Workspaces follows this pattern: it covers tasks assigned to the recipient and their groups. A template that does the opposite creates a second place for people to look, so match the scope of the message to the scope of the person’s job. If you are still deciding the order of the rollout, the implementation roadmap for Vulnerability Response is the place to fit notifications into the wider sequence.
Create an email template for a Vulnerability Response message
An email template controls the layout of a message and pulls fields from the records it refers to. Templates for Vulnerability Response are maintained under the administration area, so begin by confirming that the account you are working from can open it. If you are new to the application, start with a plain-language overview of Vulnerability Response before you choose fields.
Confirm the role and open the template list
Creating an email template requires the sn_vul.vulnerability_admin role or the sn_vul.admin role. The sn_vul.admin role is deprecated, so check which role your template editors hold before you start. Go to All > Vulnerability > Administration > Email Templates, then select New to open a blank template.
Choose fields that point the reader to the work
A template offers a list of the fields from database tables that are available for the message. Choose the fields that identify the item the reader must act on. The template can also link the reader to the record itself. In the approval example, the message links the reader to the full request and to the approval record, so the reader can move from the email to the work in one step.
Blank lines can be added to a template body with HTML tags. Use this to separate a short greeting from a list of links.
Add an automatic response link where a reply is expected
A template can include a mailto automatic response link. When the recipient selects it, a preformatted response is sent back to the instance, so the recipient does not have to type a reply. The approval example uses two of these links, one for approving and one for rejecting. Use the same pattern for messages where a short yes or no answer is the expected action. For status reports, a link to the record is the better choice.
Set up the remediation digest for remediation owners
The remediation digest is an automatic summary email for users in the Remediation Owner user group. It is the email notification the Vulnerability Response Workspaces use to remind people when tasks are nearing or past SLA. Setup has two parts: confirm who receives it, then review the schedule.
Confirm the recipients before changing the schedule
Setup requires the admin role. Before you change anything, check that each intended recipient has an active email address on the user record and that the user is in the Remediation Owner user group. The digest setup expects both conditions, so check the recipient list before you touch the schedule.
Review the Generate remediation digest job
Go to All > Scheduled Jobs, locate the Generate remediation digest record, and open it. By default, emails are sent weekly on Monday mornings at 9:00 AM in the time zone of the instance running the job. The form has four fields that control delivery:
- Active: selected by default. Clear it if you do not want the digest sent.
- Run: Weekly is the default. Choose another frequency from the list.
- Day: Monday is the default. Choose another day from the list.
- Time: the delivery time. Select a time zone if you want one other than the instance time zone.
Select Update when you finish. Leave the fields at their defaults until you have confirmed that notifications are going out, then change them.
Know what recipients see in the digest
By default, the digest shows the tasks the recipient has closed, the total active tasks assigned to the recipient and their groups, the tasks newly assigned, and the VITs closed, along with other information. Each email includes a Go to workspace link, which takes the recipient to their work area. The role a recipient needs depends on the item type they handle:
- Host vulnerable items (VITs): sn_vul.remediation_owner
- Application vulnerable items (AVITs): sn_vul.app_security_champion
- Container vulnerable items (CVITs): sn_vul_container.remediation_owner
- Configuration test results (CTRs): sn_vulc.remediation_owner
A recipient who handles more than one item type needs the role for each type, so check this during recipient review rather than after the first complaint. Walk recipients through the IT Remediation Workspace before the first digest goes out, so the link in the email lands on a screen they already recognize.
Check notification channels when a recipient gets nothing
A notification channel is a delivery path a user has enabled, such as an email address, a phone number for SMS, or a mobile app. The primary email channel for a user with an email address is created automatically after a notification is first sent to that user. A brand-new recipient may therefore not have a channel until the first message goes out, so look at the channel list as well as the user record.
Create a channel from the user preferences
Go to User menu > Preferences > Notifications and select Create Channel. Complete the New Channel form. Name is a descriptive label, such as the device or the email account. Type is one of Email, SMS, Voice, or Instant Message. For an email channel, enter the Email address. For SMS or voice, enter the Phone number, and for SMS also choose the Service provider. Select Save. The system creates and enables the channel and adds it to the list. The topic lists no required role for this step, because it sits in the user’s own preferences.
Enable the channel for each notification
Creating a channel is not enough on its own. You must enable the channel for individual notifications before it receives them. After you enable it for a notification, you can apply notification conditions to narrow what arrives on that channel. Treat the channel as the last check in your troubleshooting, after the recipient and schedule checks pass, because it is the setting a user controls directly.
Troubleshoot digest emails that do not arrive
When the digest does not reach a recipient, work through the checks in the order below. Each step rules out one cause before the next one begins.
- Confirm that the Generate remediation digest job is still active, and that the day and time on the record match the delivery you expected.
- Confirm that the recipient has an active email address on the user record and belongs to the Remediation Owner user group.
- Confirm that the recipient has a channel activated for email notifications. If the channel is missing, create it as described above and enable it for the notification.
- After the next scheduled run has passed, check the recipient’s inbox, including any junk or spam folder, before you change the schedule again.
If the same recipient still gets nothing, record the release and the time of the scheduled run, then compare the setup with the list of common Vulnerability Response setup mistakes. Teams that change several settings at once lose track of which change mattered, so change one setting per test run.
For help planning this work, see ServiceNow implementation.
Questions about template and digest setup
Does the digest need an email template before it can send?
No. The digest is produced by the Generate remediation digest scheduled job, and its recipients come from the Remediation Owner user group. Templates are for messages you build yourself. Build one when a reader needs a message that the built-in digest does not cover.
What does an automatic response link let a recipient do?
The approval example offers four actions in one email: a link to view the full request, a link to view the approval record, a link that sends an automatic reply approving the request, and a link that sends an automatic reply rejecting it. The email also carries unsubscribe and preferences links. A recipient of your own template receives the links you define, so decide which replies you want to accept before you add a mailto link.
Can a recipient stop these messages from the email itself?
The approval example uses a predefined email layout that includes an unsubscribe link and a preferences link. Those links let the recipient unsubscribe from that notification type or set notification preferences. Include a layout like this in any template a reader could reasonably want to turn off, and test the unsubscribe path on your instance before you rely on it.
Which role should maintain templates on a team that still has sn_vul.admin?
Assign sn_vul.vulnerability_admin to the people who build and edit templates, since sn_vul.admin is deprecated.