Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Use Template Scripts in your Report Templates

Create a script to include the related lists data, date operations, and any other data that aren’t directly dot-walkable.

Before you begin

Role required: sn_msi.workspace_manager

About this task

You can use this predefined template script in your report templates to include any related data after the report templates are configured and customized.

Construct a template script to display the related list data on the report template. If you want to utilize and populate any template script, then you must add the tag template script tag as: ${template_script:script name}.

Example: ${template_script:msi_collab_cards}

Note: You can’t delete the predefined template scripts. An error message is displayed if a user with an admin role attempts to delete a template script record if it’s mapped with any report template.

Procedure

  1. Navigate to Major Security Incident Management > MSI Administration > Status Report Setup.

    The MSI Status Report Setup page displays.

  2. Drill down to Report Template > Template Scripts.

  3. Select Configure.

    The following are the predefined Template Scripts as a part of the base system, which you can use to configure and modify your status reports.

    Template Script nameDescription
    formatted_current_dateReturns the current local date and time in the DDMMYYYY 00.00 AM or p.m. format. For example, 21 Jan 2021 3:51 p.m. PST.
    msi_active_teamGenerate HTML for active team cards.
    msi_collab_cardsGenerate HTML for collaboration activity cards.
    msi_task_activitiesGenerate HTML for task cards.
    msi_timeline_eventsGenerate HTML for timeline event cards.
    si_affected_usersReturns the affected users from the related list in a tabular form.
    si_assessmentsReturns the post incident assessment results in a tabular form.
    si_associated_phish_emailsReturns the associated phishing emails from the related list in a tabular form.
    si_associated_phish_headersReturns the associated phishing headers from the related list in a tabular form.
    si_business_criticalityReturns color-coded business criticality value.
    si_malicious_observablesReturns the malicious observables from the related list in a tabular form.
    si_observablesReturns the observables from the related list in a tabular form.
    si_priorityReturns a color-coded priority value.
    si_response_tasksReturns the response tasks from the related list in a tabular form.
    si_time_to_identifyReturns the duration spent in the Draft and Analysis state.
    si_time_to_resolveReturns the time to resolve the incident.

    Note: You can also create your own template script to include the related lists data, date operations, and any other data that aren’t directly dot-walkable, in addition to the listed template scripts.

Parent Topic:Create a Report Template