Skip to main content


This Script is part of the Common Scripts Pack.#

Compare two lists and put the differences in context.

Script Data#

Script Typepython3
Cortex XSOAR Version5.0.0

Used In#

This script is used in the following playbooks and scripts.

  • Allow IP - Okta Zone
  • Checkpoint - Block IP - Append Group
  • Checkpoint - Block IP - Custom Block Rule
  • IP Whitelist - AWS Security Group
  • IP Whitelist - GCP Firewall


Argument NameDescription
leftLeft list
rightRight list


ListCompare.LeftOnlyItems only found within the list in the left argumentUnknown
ListCompare.RightOnlyItems only found within the list in the right argumentUnknown
ListCompare.BothCommon items that were found in both listsUnknown