You can configure Prisma Cloud to route alerts to PagerDuty. When Prisma Cloud detects anomalies, it generates alerts. Alerts are raised when the rules that make up your policy are violated.
Create a new Prisma Cloud service, and get an integration key.
- Log into PagerDuty.
- Go toConfiguration > Services.
- ClickNew Service.
- UnderGeneral Settings:
- Name: EnterPrisma Cloud.
- UnderIntegration Settings:
- Integration Type: SelectUse our API directly, the selectEvents API v2.
- Integration Name: EnterPrisma Cloud.
- ClickAdd Service. You’re taken toIntegrationstab for the Prisma Cloud service.
- Copy theIntegration Key, and set it aside. You’ll use it to configure the integration in Prisma Cloud Console.
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.
- Open Console, and go toManage > Alerts.
- InAggregate audits every, specify the maximum rate that alerts should be sent.You can specifySecond,Minute,Hour,Day.
Sending alerts to PagerDuty
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.
If you use multi-factor authentication, you must create an exception or app-specific password to allow Console to authenticate to the service.
Create new alert profile
Create a new alert profile.
- InManage > Alerts, clickAdd profile.
- Enter a name for your alert profile.
- InProvider, selectPagerDuty.
Configure the channel
Configure the channel.
- InRouting Key, enter the integration key you copied from PagerDuty.
- InSummary, enter a brief description, which will appear in the PagerDuty dashboard alongside your alerts.
- ForSeverity, select the urgency of the alert.
- ClickSend Test Alertto validate the integration.If the integration is set up properly, you will see a sample alert in PagerDuty. In the PagerDuty dashboard, clickAlerts.
Configure the triggers
Configure how the alert is triggered.
- UnderAlert Types, check the boxes types of events that should trigger an alert.
- For additional configuration options, clickEdit.
- To specify specific rules that should trigger an alert, deselectAll rules, and then select any individual rules.