Slack
The integration described in this guide uses webhooks to allow EPM to automatically send JIT Application notifications using Slack.
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
For more information, see Slack Documentation.
Create a Slack App
- Create a Slack workflow to post messages to channel.
- Once your workflow is created, copy the URL.
Create a webhook integration for Slack
- Go to EPM > Configuration.
The Settings 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/%%RequestId%%"
}
The from email address must be in the list of verified sender in Slack.
For more information on card formatting, see Slack Documentation.
Updated 2 days ago