Email properties tell Security Operations which inboxes to read for incoming detection mail. Set the four inbox addresses under All > Security Operations > Email Processing > Properties, choosing one general account or separate accounts for each application, then save. Parsers that turn those messages into records are configured separately, and this page covers both steps.
What the email properties page controls
Email Processing groups four features: Email Parsing, Duplication Rules, Properties and Unmatched Emails. Properties is the part that names the inboxes Email Parsing reads. Each inbox receives mail from an external detection system, and the parser converts that message into a record.
The same page also holds addresses for reports and automatic email, but the four fields below are the inbound parsing inboxes.
Each Security Operations application, meaning Security Incident Response, Threat Intelligence and Vulnerability Response, has an email_to property that names the address its integrations should send to. Enter the same address here that your detection tools send to, or the parser will not see that mail.
Choose the inbox model before you enter addresses
You can run a general account that all external detection systems share, or individual accounts that split mail by application: one for Security Incident Response, one for Threat Intelligence and one for Vulnerability Response. A shared account means each parser has to filter a mixed stream by sender, recipient or subject. Settle the model with the owner of each detection tool first, since that configuration decides which mailbox gets each report. For where this step fits in a wider rollout, see the implementation roadmap.
Enter the inbox addresses on the properties page
Before you start, keep a copy of one sample email from each detection tool open. You need the sn_sec_cmn.admin role for this procedure.
- Navigate to All > Security Operations > Email Processing > Properties.
- In Inbox for Security Operations tools, enter the full email address used for Security Operations.
- In Inbox for Security Incident tools, enter the full address for Security Incident Response.
- In Inbox for Vulnerability Response tools, enter the full address for Vulnerability Response.
- In Inbox for Threat Intelligence tools, enter the full address for Threat Intelligence.
- Click Save.
How an inbound email becomes a Security Operations record
Mail that reaches one of the Security Operations addresses is stored as an email event. The system tests each stored email against the parsers. A message that matches a parser is flagged as matched, and that parser’s transform and any duplication rule create or update a record. The email is then linked to the record. A message that matches no parser goes to the Unmatched Emails list as a Security Operations record.
Open an unmatched record, read the original email, and build a parser for its layout. After you fix or add a parser, use the Reprocess action to run the unmatched email through the parsers again.
Create the email parser for each inbox
Create parsers from All > Security Operations > Email Parsing with the sn_sec_cmn.admin role. Before you start, assign a user account to the inbox address, with security access controls that let it create and update email event records. Decide the record type first, since it sets the destination table.
Select New and complete the parser form:
- Name, the label for the parser.
- Email is from, which limits the parser to mail from one sender address.
- Email is to, a second address filter on the recipient.
- Email subject contains, which limits the parser to subjects with a given phrase.
- Duplication rule, which sets how duplicate emails from this parser are handled.
- Order, which sets the sequence in which parsers are tried. The first match wins, and the default is 100.
- Destination table, the table where new records are created.
- Active, which must be selected for the parser to transform mail.
- Record Separator, used when one email produces more than one record.
- Description, for the tool the parser works with and its purpose.
When more than one filter is filled in, all of them must match. Put the narrowest parsers at lower order numbers, and give catch-all parsers higher numbers so they run when nothing else matches.
Save the parser, then add one field transform on the Field Transforms tab for each destination field you want filled from the email.
Map email text to record fields with field transforms
Each field transform names the destination field and the place in the email where its value sits. Pick one of three storage options: store the value in a field on the new record, link to it in a related list, or link to it and create a related record when no match exists. Related-list options also ask for the related list name, the lookup field such as Name or Fully Qualified Domain Name for affected configuration items.
The search location can be the start of a line in the body, anywhere in the body, the subject line, or a static value. A value prefix marks the text that precedes the value, and End of value can be the end of the line, the end of the email, or an Until setting paired with a Value suffix. For example, a prefix of “The affected computer is” and a suffix of “.” pull AB123 out of “The affected computer is AB123.”
Field transforms run from lowest order to highest. A transform at order 100 runs first, and a fallback at 200 runs when it finds nothing on the same field. Submit each transform when it is complete.
Split one email into several records
Some detection tools send one report about many items. A malware detector, for example, may send the malware details first and then a list of affected systems. A Record Separator on the parser breaks that message into sections, and each section is evaluated on its own.
Put details that apply to all records, such as a malware name, in the header or footer, and set their search to the entire body. Details that differ per item should search within the record section, which is available when a separator is defined. A section creates a record when it holds at least one piece of section-specific data, so a header with shared details alone does not create its own record.
Handle duplicate emails with duplication rules
Duplication rules decide what happens when an incoming email matches an active record. Open All > Security Operations > Duplication Rules and select New. Give the rule a name, pick the table where records are created, and choose the identifying fields that mark a duplicate when their values are identical, such as the fields that identify a security incident, an observable or a vulnerability.
The duplicate action has three choices. Create as child makes the new record a child of the original, linked through the Parent field. Do not create nor update records is the default and ignores the duplicate. Update duplicate record changes fields on the existing record, and a Duplication Actions list appears so you can define each change.
Each duplication action can replace the existing value, add the new value to a comma separated list if it is not already present, append text to the field, add one to a counter, set the field to the current date and time, or add a related record to a related list such as Affected CI or Affected User. Then link the parser to the rule through its Duplication rule field.
Test each inbox and fix unmatched mail
Test each inbox with a copy of a sample email from the matching tool. If it shows as matched, open the record it created and confirm the fields hold what you expected. If it lands in Unmatched Emails, compare its sender and subject against the parser’s filters, confirm the parser is active, and check that its order number does not leave a broader parser ahead of it. Then reprocess the email.
To change a parser later, open All > Security Operations > Email Processing > Email Parsing, select the parser, and edit its form or field transforms. Select Update when you are done. This change also requires sn_sec_cmn.admin. For common setup problems, see the common mistakes in Security Operations setups, and for the metrics you can track once mail is flowing, see the Security Operations KPIs and metrics.
For help planning this work, see ServiceNow implementation.
Keep Vulnerability Response notifications separate from inbox setup
Automatic email for Vulnerability Response is configured in a different place from the inbox properties. Open All > Vulnerability Response > Administration > Email Templates and select New to create one. Each notification sets when it is sent, who receives it and what it contains. Notifications can report updates such as the approval or rejection of false-positive requests.
Test a notification from a real Vulnerability Response record after you change its template. Menu names and field labels can differ on your instance, so check each path before you pass these steps to another administrator.
Questions about retention, roles and notification access
How long does Security Operations keep an email event?
By default, email events are deleted after 30 days. Reprocess or copy any unmatched email you still need before that window closes.
Does an email parser replace inbound actions?
No. An email parser works alongside platform inbound actions and does not replace them. A parser also cannot set values on indirect fields, such as sys_journal_field entries. Keep existing inbound actions for those values.
Which role is needed to create a duplication rule?
Creating a duplication rule requires the sn_sec_cmn.write role, while the properties page and parsers use sn_sec_cmn.admin.
Which roles can manage Vulnerability Response email templates?
The required roles are sn_vul.vulnerability_admin or sn_vul.admin. The sn_vul.admin role is deprecated, so assign sn_vul.vulnerability_admin for new access.
Where do links in Vulnerability Response notifications open?
Links open in the Vulnerability Manager Workspace for users with sn_vul.vulnerability_analyst or sn_vul.vulnerability_admin, and in the IT Remediation Workspace for users with sn_vul.remediation_owner. A recipient with none of those roles sees the link open in the classic UI.