Skip to main content


This Script is part of the Active Directory Query Pack.#

Send an approval email to the manager of the employee, allowing the manager to reply directly into the incident

Script Data#

Script Typepython3
Cortex XSOAR Version5.0.0


This script uses the following commands and scripts.

  • send-mail
  • ad-search


Argument NameDescription
emailThe employee email. We will send an email to his manager. If not provided will be taken from incident label 'Email/from'
managerThe manager attribute in Active Directory. Default is 'manager'.
allowReplyIf true, we will add an entitlement to the subject allowing manager to reply to war room
bodyThe contents of the email body. It's a template that can include $empName and $managerName which will be replaced with actual values.
requestThe contents of the request from the manager. Will be added below the body. If none is provided, incident details will be taken.
replyEntriesTagTag to add on email reply entries
persistentIndicates whether to use one-time entitlement or a persistent one


There are no outputs for this script.