Skip to main content

SendEmailToManager

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#


NameDescription
Script Typepython3
Tagscommunication
Cortex XSOAR Version5.0.0

Dependencies#


This script uses the following commands and scripts.

  • send-mail
  • ad-search

Inputs#


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

Outputs#


There are no outputs for this script.