The integration described in this guide uses webhooks to allow EPM to automatically send JIT Application Notifications using Slack.
Important
Third-party documentation is subject to change. Updates might not be reflected in BeyondTrust documentation. For the most up-to-date information, visit tools.slack.dev.
Requirements
-
Access to a BeyondTrust site with an EPM app
-
An account with privileges to create webhook integrations
-
Access to Slack with administrative rights to create a slack bot.
Note
For more information, see Slack Documentation
Create a Slack App
-
Once your workflow is created, copy the URL.
Create a webhook integration for Slack
-
Go to EPM > Settings
The EPM page displays the available system settings. -
Click Webhook Settings.
The Webhook Settings page displays. -
Click Create Webhook.
The Create Webhook page displays. -
To create the webhook, use the following:
-
Webhook Name: Enter a name
-
Webhook URL: Enter Slack workflow URL. (ie https://hooks.slack.com/triggers/……)
-
Event: JIT Application Access Ticket Created
-
Content Type: application/json
-
Authentication Type: NONE
-
Template: Use the following test webhook JSON template to test the connection and send a webhook to Slack. After a successful test with the static test data, the template can be configured. Create or change the fields and add variables as per your requirements.
-
{
"text": "A request to execute %%FilePathObjectId%% by %%User%% has been received. You can view the application at https://example.pm.beyondtrustcloud.com/jit-access-management/jit-access/details/%%EpmId%%"
}
Note
The from email address must be in the list of verified sender in Slack.
For more information on card formatting, see Slack Documentation .