Customize an Indicator Type Layout - Threat Intel Management Guide - 6.5 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Threat Intel Management Guide

Product
Cortex XSOAR
Version
6.5
Creation date
2022-09-29
Last date published
2023-12-12
End_of_Life
EoL
Category
Threat Intel Management Guide

Each out-of-the-box indicator comes with its own layout. You can customize almost every aspect of the layout, including which tabs appear, in which order they appear, who has permissions to view the tabs, and which information appears and how it is displayed.

You can see which indicator type uses the indicator layout in the Types tab (SettingsOBJECTS SETUPIndicators). The indicator layout name appears in the Layout column. Although you can edit the layout in either the Types or Layouts tab, it is recommended to edit in the Layouts tab, if the layout is an out-of-the-box content pack layout, as you cannot edit from the Types tab.

Content Pack Indicator Layouts

Out-of-the-box content pack indicator layouts display a locked icon, which means to edit the layout, you need to do one of the following:

  • Duplicate an indicator layout. You need to edit the indicator type to add the new layout.

  • Detach the layout. While an indicator layout is detached, it does not receive content pack updates. If you detach an indicator type layout, make edits, and later want to receive content pack updates for that layout, we recommend you duplicate the indicator layout before reattaching the original, to protect your changes from content pack updates.

Indicator Layout Builder

You can customize the display information including fields for existing indicators, by modifying the sections and fields for the following views:

  • Indicator Summary

    You can customize almost every aspect of the layout, including which tabs appear, the order they appear, who has permissions, hide tabs, etc. In each field or tab you can add filters by clicking on the eye icon, which enables you to add conditions that show specific fields or tabs relevant for the indicator.

    You can add a script in the indicator layout, such as a mapping script, which determines where an IP address originates and displays it on a map.

  • Quick View

    Add, edit, delete sections, fields, and filters in the Quick view section in the incident.

  1. Go to SettingsOBJECTS SETUPIndicatorsLayouts.

  2. (Content Pack Indicator Type Layout) Detach the indicator layout.

    1. Select the checkbox for the indicator layout you want to detach.

    2. Click Detach.

      When the layout is detached, you can also edit the layout in the Indicator Type tab.

  3. Edit the indicator type layout.

    1. Select the indicator type whose layout you want to edit and click the Edit Layout.

      You are presented with the current layout, which is populated with demo data so you can see how the fields fit.

  4. In the Indicator Summary tab, customize the tabs.

    1. Drag and drop the tab to reorder the tabs.

    2. Configure the tabs by clicking the settings cog wheel icon in the tab and then select one of the following options.

      • Rename

      • Duplicate

      • Delete

      • Show Empty Fields

        The setting that you configure in the layout becomes the default value seen in the indicator for the specific tab, which can then be overridden. You can also set a global default value using the UI.summary.page.hide.empty.fields server configuration, which can also be overridden for a specific tab.

      • Hide tab

      • Format for exporting

        Build your layout based on A4 proportions to match the format used for exporting. Selecting this option hides the tab by default, but the tab will remain available for export.

      • Viewing Permissions

        When clicking Viewing permissions, select which roles can view the tabs.

        You can also decide whether you want each tab to appear in the Mobile App, by selecting the Show this tab on Cortex XSOAR mobile App if role allows checkbox. If selected, you can Hide this tab on Cortex XSOAR web.

  5. Add sections to the layout.

    1. From the Library section, in the Cortex XSOAR Sections drag and drop the required sections as follows:

      Section

      Description

      New Section

      After creating a new section, click the <Indicator Type> Fields tab and drag and drop the fields as required.

      Cortex XSOAR out-of-the-box sections

      Out-of-the-box sections such as Expiration Status, Verdict, etc.

      General Purpose Dynamic Section

      Enables you to add a script to the indicator layout. For example, assign a script that determines and displays the Geo location of an IP address on a map. You can Set up Google Maps in Cortex XSOAR to use map automations.

    2. Define the section properties, by clicking indicator-option-pointer.png and then Edit section settings.

      You can determine how a section in the layout appears in the layout. For example, does the section include the section header? You can also configure the fields to appear in rows or as cards. For example, if you know that some of the field values will be very long, you are better off using rows. If you know that the field values are short, you might want to use cards so you can fit more fields in a section.

    3. To remove or duplicate a section, select the section, click indicator-option-pointer.png and select the relevant option.

  6. Drag and drop fields, as required.

  7. Add any custom buttons.

    To add a custom button, you need to create an automation and then add the buttons to the layout using the automation. These buttons can simplify and assist an analyst in carrying out various tasks. For example, create a button to run an enrichment script on an identified indicator. After indicators are identified, click the Actions button and run an enhancement script directly on an indicator.

    In the following example we want to create a button, which adds the indicator to a Hunt incident type, so the Threat Intel team can review it.

    1. Select AutomationNew Automation and add the following script:

      commonfields:
        id: d3716514-4c2b-453c-8072-4fd4807bca0a
        version: 30
      vcShouldKeepItemLegacyProdMachine: false
      name: newIncidentFromIndicator
      script: |+
        from pprint import pformat
      
        args = demisto.args()
      
        fields = {}
        fields['type'] = args['type']
        fields['details'] = args['indicator']['value']
        fields['name'] = args['type'] + " for " + args['indicator']['value']
      
        res = demisto.executeCommand('createNewIncident', fields)
      
      
      
        newID = res[0]['EntryContext']['CreatedIncidentID']
      
        demisto.executeCommand("associateIndicatorsToIncident", {"indicatorsValues": args['indicator']['value'], "incidentId":int(newID)})
      
      
      type: python
      tags:
      - indicator-action-button
      enabled: true
      args:
      - name: type
        required: true
        description: Incident Type
      scripttarget: 0
      subtype: python3
      pswd: ""
      runonce: false
      dockerimage: demisto/python3:3.8.5.11789
      runas: DBotWeakRole
      
    2. From Indicator SummaryFields and Buttons tab, drag the +New Button and drop into the relevant section.

    3. Click it to configure it.

    4. Enter a descriptive name for the button, select a color, and select the script we added above.

    5. In the type field, add Hunt.

      indicator-script-button-settings.png
    6. Click Save.

      In the Summary tab of the Indicator page, you can see the new button:

      indicator-button1.png

      When you click the button, an incident is created with the Hunt incident type.

  8. Add required sections and fields in the Quick View tab.

  9. Add the layout to the indicator.

    1. Go to SettingsOBJECTS SETUPIndicatorsTypes.

    2. Select the indicator type and click Edit.

    3. In the Layout field, from the dropdown list, add the customized layout.

  10. (Optional) For a customized layout, you can contribute it to the Marketplace.

    1. In the Layouts page, select the new layout and then click Contribute.

    2. In the dialog box select either Save and submit your contribution or Save and download your contribution for later use, which you can view in the Contributions tab in the Marketplace.

      If you select Save and submit your contribution your layout is validated and then you prompted to submit to review. You can also view your contribution in the Marketplace.