Skip to content

AcceleryntSecurityDev/AS-PagerDuty-Integration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

AS-PagerDuty-Integration

Author: Accelerynt

For any technical questions, please contact info@accelerynt.com

This playbook is intended to be run from a Microsoft Sentinel incident. It will create a PagerDuty event with the related Microsoft Sentinel incident and entity information.

PagerDuty_Demo

Requirements

The following items are required under the template settings during deployment:

  • A PagerDuty integration key

Setup

To Create a PagerDuty Integration Key:

Log into your PagerDuty account and under the "Services" menu option, select "Service Directory". From the page, click the "New Service" button.

PagerDuty_Create_Integration_Key_1

Add a Name and optional Description like the following:

PagerDuty_Create_Integration_Key_2

Select an escalation policy for your service.

PagerDuty_Create_Integration_Key_3

Finally, select the Microsoft Azure option under the Integrations section, then click "Create Service".

PagerDuty_Create_Integration_Key_4

You will be redirected to the service you have created. Under the Integrations tab view, you will find your integration key. This will be needed for the deployment of this playbook.

PagerDuty_Create_Integration_Key_5

Deployment

To configure and deploy this playbook:

Open your browser and ensure you are logged into your Microsoft Sentinel workspace. In a separate tab, open the link to our playbook on the Accelerynt Security GitHub Repository:

https://github.com/Accelerynt-Security/AS-PagerDuty-Integration

From there, click the “Deploy to Azure” button at the bottom and it will bring you to the custom deployment template.

In the Project Details section:

  • Select the “Subscription” and “Resource Group” from the dropdown boxes you would like the playbook deployed to.

In the Instance Details section:

  • Playbook Name: This can be left as “AS-PagerDuty-Integration” or you may change it.

  • Integration Key: Enter the value of the PagerDuty integration key created from the first section.

Towards the bottom, click on “Review + create”.

PagerDuty_Deploy_1

Once the resources have validated, click on "Create".

PagerDuty_Deploy_2

The resources should take around a minute to deploy. Once the deployment is complete, you can expand the "Deployment details" section to view them. Click the one corresponding to the Logic App.

PagerDuty_Deploy_3

Click on the “Edit” button. This will bring us into the Logic Apps Designer.

PagerDuty_Deploy_4

The first step labeled "Connections" uses a connection created during the deployment of this playbook. Before the playbook can be run, this connection will either need to be authorized in this step, or an existing authorized connection may be alternatively selected.

PagerDuty_Deploy_5

To validate the connection created for this playbook connection, expand the "Connections" step and click the exclamation point icon next to the name matching the playbook.

PagerDuty_Deploy_6

When prompted, sign in to validate the connection.

PagerDuty_Deploy_7

Once the connection step has been updated, click the "Save" button.

PagerDuty_Deploy_8

Running the Playbook

To run this playbook automatically on incidents in Microsoft Sentinel, navigate to "Automation" under "Configuration" in the left-hand menu.

Click the "Create" button and select "Automation Rule" option from the dropdown.

Nav_1

1) Enter a name for the automation rule.

2) Then stipulate the conditions for which you would like a Microsoft Sentinel Incident to be sent to PagerDuty. In the example below, criteria are set so that only incidents with high severity will be sent to PagerDuty.

3) Select the "Run Playbook" option under the "Actions" section.

4) Then select the name of the playbook that was just deployed from this page.

5) Review the default values under the "Rule expiration" and "Order" section, then click Apply.

Nav_2

Once this saves, your new integration should run automatically.

About

Integrates Microsoft Sentinel with PagerDuty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages