Extend Context in a Playbook Task

Extend context to retrieve additional data from integrations or commands and map to fields. Extend context in a Cortex XSOAR playbook task.
You can extend context either in a playbook task, or directly from the command line. Whichever method you use, Cortex XSOAR recommends that you first run your command with the
flag. This will help you identify the information that you want to add to your extended data.
  1. Navigate to
    tab of the relevant playbook task.
  2. In the
    Extend Context
    field, enter the name of the field in which you want the information to appear and the value you want to return. For example, using the ad-get-user command, you could enter user=attributes.displayname to place the user's name in the user key.
    To include more than one field, separate the fields with a double colon. For example:
  3. To output only the values for Extend context and ignore the standard output for the command, select the
    Ignore Outputs
    While this will improve performance, only the values that you request in the
    Extend Context
    field will be returned. In addition, you cannot use Field Mapping as there is no output to which to map the fields.

Recommended For You