Skip to main content

DSPM Send Slack Notification to User

This Playbook is part of the DSPM Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

"Send Slack Notification to User" playbook is designed to notify a user via Slack and handle their response. It begins by sending a Slack notification to a specified email using the SlackBlockBuilder script. Afterwards, it waits for the user's response until a predefined time, as configured in Prisma Cloud DSPM. Once the response is received, it is inserted into the incident's context. If there is an error in generating the Slack block, the incident is added for a re-run. Finally, the playbook extracts the user's response from the Slack block state for further processing.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

  • DSPM notify user in case of error

Integrations#

This playbook does not use any integrations.

Scripts#

  • DSPMIncidentList
  • DSPMCreateSimpleSlackMessageBlock
  • DeleteContext
  • DSPMExtractUserResponseFromSlackBlockState
  • SlackBlockBuilder
  • GetSlackBlockBuilderResponse
  • DSPMCheckAndSetErrorEntries
  • DSPMCreateRiskSlackBlocks
  • Sleep

Commands#

  • addToList
  • createList
  • getList
  • setList

Playbook Inputs#


NameDescriptionDefault ValueRequired
flowPathslackOptional
rerunTimeIncident re-run time (in hours)Optional
slackMessageLifetimeLifetime for slack notification (in seconds)Optional

Playbook Outputs#


There are no outputs for this playbook.

Playbook Image#


DSPM Send Slack Notification to User