Slack Bot Destination (Beta)
Configuring Panther's Slack Bot as an alert destination in your Panther Console
Destinations are integrations that receive alerts from rules, policies, system health notifications, and rule errors. Panther supports configuring a Panther Slack Bot as the destination where you will receive alerts.
Slack Bot is a Slack application that sends alerts to a specified Slack channel. You can interact with the alerts directly in Slack to do things like view additional alert details, assign the alert, and set the alert's status.
Updating the Alert status and assignee from Slack will sync back to the Panther Console. In addition, the resolution comment when marking an alert as "Resolved" will sync to Panther's Alert Activity History.
Please note the following:
- Multiple Slack Bot alert destinations are currently not supported.
- To interact with the alerts, the Slack user email address must match the email address of the user profile defined in Panther.
- If your email addresses in Slack do not match your Panther Console email addresses, please contact Panther's support team for assistance.
Video walkthrough for setting up Panther's Slack Bot alert destination integration.
- 1.Log in to the Panther Console.
- 2.In the left sidebar, click Configure > Alert Destinations.
- 3.Click +Add your first Destination.
- If you have already created Destinations, click Create New in the upper right side of the page to add a new Destination.
- 4.Click Slack Bot.
- 5.Click Copy to copy the Slack Manifest to your clipboard. You will need this in the next steps.
Make sure to keep this browser tab open while you begin the next steps.
- 3.In the "Create an app" dialog, select the option From an app manifest.
- 4.In the "Pick a workspace to develop your app" dialog, choose the Slack Workspace to install the Slack Bot into.
- 1.If your Slack plan is Enterprise Grid, select a Workspace in the Grid that you wish to have the Slack Bot available. The ability to install into other Workspaces in the Grid will come in a later step.
- 5.Click Next.
- 7.Click Next.
- 8.In the "Review summary & create your app" dialog, click Create.
- 10.On the Basic Information page, click Request to Install.
- In the "Request to install Panther" dialog, add an optional message for your Slack administrator to provide context, then click Submit Request.
- The Basic Information page should now display Request Submitted under the "Install your app" section.
- 11.Ask your Slack administrator to approve the install request, but do not install it yet.
- Once approved, the Request Submitted button will update to Install to Workspace.
- 1.On the Basic Information page in Slack, click Install to Workspace.
- You will be redirected to the Slack OAuth Authorization page.
- 2.Click Allow to authorize access to your new app.
- You will be redirected back to the Basic Information page in Slack.
- 1.On the Basic information page in Slack, expand Manage Distribution and click Distribute App.
- 2.Click Opt into Org Level Apps to enable Org-Wide Installation.
- 3.Click Opt-in.
- 4.Click the checkbox, then click Yes, Opt-in.
- 5.Navigate back to Settings > Install App, then click Install to Organization.
- 6.Click Allow to authorize access to your new app.
- 7.In Slack, you will receive a message indicating the installation was successful. Click the linked text add it to some of your workspaces.
- 8.Select the Workspaces you wish to have the Slack Bot installed to. Optionally, you can also select whether you want to automatically add it to future Workspaces:
- 9.Click Next and follow the series of on-screen prompts.
Once the installation to the Workspace(s) is complete, you will receive a confirmation message in Slack:
- 2.Navigate back to Settings > Basic Information in your Slack App.
- 3.Scroll down to the "Display Information" section and click +Add App Icon:
- Select the Panther App Icon you downloaded in the prior step.
- 4.Scroll down to App Credentials section of the Basic Information page. Keep this page open, as you will need this information in the next steps when you finish the configuration in Panther:
- 1.Open the browser tab where you began configuring the Slack Bot alert destination in the Panther Console.
- If that tab was closed, you will need to follow the previous steps to get back to the Slack Bot destination setup process in the Panther Console. You will also need to update the manifest of your Slack Bot app to match the latest version from the Panther Console.
- 2.From the "Create your Slack Bot app" page in the Panther Console where your manifest is displayed, click Continue.
- 3.Fill out the form to configure the Destination:
- Display Name: Enter a descriptive name for the Alert Destination.
- Note: This is the display name of the Alert Destination in the Panther Console, not the name of the Bot in Slack.
- Client ID: Enter the Client ID value from the App Credentials section of your Slack Bot app.
- Channel ID or Channel Name: Enter the Slack Channel Name (e.g. #hello-world) or Slack Channel ID where you want to receive your alerts.
- Note: If using Slack Enterprise Grid, you must provide the Slack Channel ID. To find the Channel ID, click on the Channel Name in Slack, then scroll to the bottom of the modal:
- Client Secret: Enter the Client Secret value from the App Credentials section of your Slack Bot app.
- Signing Secret: Enter the Signing Secret value from the App Credentials section of your Slack Bot app.
- Bot OAuth Token: Enter the Bot User OAuth Token value from the OAuth & Permissions section of your Slack Bot app:
- Severity: Select the severity level of alerts to send to this Destination.
- Alert Types: Select the alert types to send to this Destination.
- Log Types: By default, we will send alerts from all log types. Specify log types here if you want to only send alerts from specific log types.
- Timezone: Select the timezone to use for the messages sent to this Destination.
Keep this browser tab open for the next steps.
- 1.Open your Slack application and navigate to the channel you configured to use with Panther.
- 2.In the Slack channel, type and send the following message:
Once the Panther Slack Bot has been invited to your Slack channel, you will see a confirmation message in Slack and can return to the Panther Console to finalize setup.
- 1.Navigate back to the Panther Console.
- 2.On the "Create your Slack Bot Application" page, click Add Destination.
- 3.On the final page, optionally click Send Welcome Message to test the integration. This will send a message to the Slack channel you've elected to receive alerts.
- 4.When you are finished, click Finish Setup.