1. Overview

Prisma Cloud lets you send alerts to Slack channels and users.

2. Configuring Slack

To integrate Prisma Cloud with Slack, you must enable incoming webooks. Prisma Cloud uses incoming webhooks to post messages to Slack.

  1. Log into the page where you manage apps for your Slack workspace.

  2. In the Search App Directory box, enter Incoming Wehbooks, and hit Return.

  3. Click on the result.

  4. Click the green Add Configuration button.

  5. Enter the channel where you want Prisma Cloud to post.

  6. Click Add Incoming Webooks Integration.

  7. Copy the Webhook URL and set it aside. You will use it when configuring Prisma Cloud.

2.1. Configuring alert frequency

You can configure the rate at which alerts are emitted. This is a global setting that controls the spamminess of the alert service. Alerts received during the specified period are aggregated into a single alert. For each alert profile, an alert is sent as soon as the first matching event is received. All subsequent alerts are sent once per period.

  1. Open Console, and go to Manage > Alerts.

  2. In Aggregate audits every, specify the maximum rate that alerts should be sent.

    You can specify Second, Minute, Hour, Day.

    frag configure alerts

3. Sending alerts to Slack

Alert profiles specify which events should trigger the alert machinery, and to which channel alerts are sent. You can send alerts to any combination of channels by creating multiple alert profiles.

Alert profiles consist of two parts:

(1) Alert settings — Who should get the alerts, and on what channel? Configure Prisma Cloud to integrate with your messaging service and specify the people or places where alerts should be sent. For example, configure the email channel and specify a list of all the email addresses where alerts should be sent. Or for JIRA, configure the project where the issue should be created, a long with the type of issue, priority, assignee, and so on.

(2) Alert triggers — Which events should trigger an alert to be sent? Specify which of the rules that make up your overall policy should trigger alerts.

slack config

If you use multi-factor authentication, you must create an exception or app-specific password to allow Console to authenticate to the service.

4. Create new alert profile

Create a new alert profile.

  1. In Manage > Alerts, click Add profile.

  2. Enter a name for your alert profile.

  3. In Provider, select Slack.

5. Configure the channel

Configure the channel.

  1. In Incoming Webhook URL, enter the URL you generated in the previous section.

  2. Specify how to route alerts. Enter values for one or both of the following fields.

    1. In Channels, enter the Slack channel where you want to post alerts.

    2. In Users, enter the Slack users to whom you want to send alerts.

  3. Click Send Test Alert to test the connection.

5.1. Configure the triggers

Configure how the alert is triggered.

  1. Under Alert Types, check the boxes types of events that should trigger an alert.

  2. For additional configuration options, click Edit.

  3. To specify specific rules that should trigger an alert, deselect All rules, and then select any individual rules.

    frag config triggers
  4. Click Save.