OBLYTECH Logo
OBLYTECH Logo

Link and roll up records in a major security incident

Linked records in a major security incident are governed by Linked Records Configuration. It identifies the source task tables that can participate, whether records can be proposed or promoted, and how fields map into a new incident. Separate rollup and list layout configurations control related information and its presentation in the workspace.

Plan linked records for a major security incident

Start with the source record and the decision responders need to make. A security incident, a remediation task, and a security case represent different work. Putting them under one major security incident gives responders a shared context, but the configuration still needs to preserve which table owns each record and which information should accompany it.

Write down three choices before changing configuration: whether the source can initiate a major security incident, which related information should roll up, and which columns responders need to see. Treat these as separate acceptance criteria. A readable list does not prove that related information has rolled up, and a successful link does not prove that promotion maps fields correctly.

For the wider operating model, see Major Security Incident Management. The settings and labels here follow Brazil behavior; check them against your instance and release before applying the configuration.

Create the source table configuration

To create a Linked Records Configuration record, use admin. The sn_msi.workspace_admin role can update the record. Navigate to Major Security Incident Management > Linked Record Configurations, select New, and verify that the application scope is Major Security Incident Management.

Set Source Table to the task table being introduced. Use Order to position it in the workspace selection list. Lower values take precedence over higher values. The Security Case example uses Security Case (sn_ti_case) with an order of 300; use that as an example of sequencing rather than a value to copy without reviewing your existing entries.

Decide whether Can Promote to MSI should be selected. A record that can be proposed or promoted directly is a primary record. Selecting this option enables the configuration used for that behavior and makes the linked source table records available on the workspace linked record page. Classic environment actions also require their supporting configuration.

Security Response tasks illustrate why eligibility matters: their Can Promote to MSI value is false, so they do not appear in the workspace linked record tab selection list. Do not diagnose a missing source table as a display problem until you have checked this setting and the intended record behavior.

When Can Promote to MSI is cleared, Model ListView and MSI Field Mapping are hidden. When it is selected, choose the modal view and define the mapping needed for a newly created major security incident. Keep a configuration note explaining why this source qualifies for promotion so future changes have a clear rationale.

Keep field mapping separate from rollup

MSI Field Mapping controls how source fields populate a new major security incident during proposal or promotion. The mapping script runs when Can Promote to MSI is true. In the Security Case example, the script receives sourceGr and msiGr and transfers the source short description into the major security incident title.

Before writing a mapping, list each intended destination field and its source. Then test proposal and promotion with recognizable sample values. Check the resulting major security incident itself, rather than relying on a success message. A mapping can run without writing the information a responder expects, so check the resulting incident record itself rather than the success message.

Rollup configuration has another purpose: it determines what information follows the source record when it is linked, proposed, or promoted. The source-to-incident mapping and the related-data rollup therefore need separate tests. For example, a correct incident title tells you nothing about whether a related list was populated.

Record those tests alongside your Security Incident Response workspace checks so responders can validate the resulting workflow with familiar records.

Choose the rollup data and mechanism

For rollup configuration, use the same roles as the source table configuration above. Open the linked record configuration through Major Security Incident Response > Linked Records Configuration. In its Roll up Record Configuration section, select New.

Give the configuration a meaningful Name and select Active when it should participate in rollup. Linked Record Configuration identifies the parent configuration, while Source Table identifies its source table; both fields are read-only. Check those values before defining the rollup so a correctly written rule does not belong to the wrong source.

  • Choose Relationship for information obtained through related lists. This enables Rollup Script.
  • Choose Reference for information held in a reference field on the source record. This exposes Source Field and Target Field.

For Reference, select the source reference field and the destination reference field on Linked Record (sn_msi_m2m_child). Validate the actual referenced record in a test, rather than comparing display text alone. Similar names can conceal different records.

Reference rollup only copies what the source field already holds. If the Source Field is blank on the source record, nothing reaches the Target Field, so check the source record before blaming the configuration. The Target Field is a reference field on the Linked Record table, and it stores the value taken from the Source Field during rollup.

For Relationship, the script receives sourceSysId and msiSysId. It queries the relationship data and uses the MSIRollupEngine utility to roll information into sn_msi_m2m_child. There is no output return value. Plan the script around the records it must find and the linked records it must produce; do not invent a return value as the success criterion.

Two details in the script are easy to miss. The sourceSysId identifies the source record being linked, proposed, or promoted, so the query should start from that identifier rather than from a display number. The results must then pass through the MSIRollupEngine utility into sn_msi_m2m_child. A script that finds the right rows but never writes them can run without error and still leave the linked tab empty.

For help planning this work, see ServiceNow implementation.

Build views that show the right information

The record selection modal and the Linked Records tab need distinct display decisions. The modal view controls columns and their order while selecting a record. List Layout Configuration controls the workspace layout and labels, including layouts for Linked Records, Incident Impact, and Threat Intelligence.

For the Security Case linked tab view, admin opens sn_msi_m2m_child.list, uses the list header to select Configure > List Layout, and creates a view under List View > View name. Choose columns based on what a responder needs to distinguish records during an incident.

The Number column holds the security case reference. Select Number in Available and use Expand Selected Reference Field to expose fields from the referenced case. Move the chosen fields into Selected and save the view. This reference expansion is the step that makes source record information available for the list layout.

Next, open MSI Administration > List Layout configurations and select New. Set Table to the source table and List View to the new view. Use List View label to control the label for that source table in the workspace. Save and inspect the rendered result. Create this configuration with the roles listed earlier.

Existing known tables already have list layout configurations. Review the corresponding entry when changing an existing table’s view. Create a configuration for a new task table. Keep column selection focused: a responder should be able to identify the record and decide whether it belongs in the incident without scanning unrelated fields.

Validate linking with an eligible record

The workspace linking procedure lists sn_msi.workspace_manager and sn_msi.workspace_responder as its required roles. Navigate to Major Security Incident Response > MSIM Workspace, open Lists, and select Accepted. Open a promoted major security incident that is not Closed, then select Linked Records.

Select the relevant source table, such as Security Incidents, Remediation Tasks (vulnerable items), or Security Case. Use Link Record to select an Open record that is not already linked to an MSI, then select Link. A Closed incident record cannot be linked through this procedure.

After confirmation, the list refreshes and related-record rollup runs in the background. Separate the immediate check that the source is linked from the later check that the expected related information appears. Keep a test record identifier and expected relationships in your acceptance notes so the reviewer can compare concrete results.

Start with the Active check box on the rollup configuration. A configuration that is not active does not run when the source is rolled up, so correct fields and a correct script will still produce nothing. Confirm that setting before you debug the mapping or the script itself.

If the source is visible but related information is absent, inspect the rollup configuration, its Active setting, and the selected reference fields or relationship logic. If information exists but responders cannot see the needed columns, inspect the list layout. The broader security operations incident response workflow provides context for deciding which record details matter during triage.