By connecting Probely with Slack, you will receive notifications about the activity of your targets in your Slack channels. For example, when scans start or finish, when logins fail, or when vulnerabilities are found or fixed.
This integration involves two steps:
Configure the webhook in Slack.
Configure the Slack webhook in Probely.
This article describes these steps in detail.
Step 1: Configure the webhook in Slack
The first step is to configure a webhook in Slack with a channel to receive notifications from Probely:
Sign in to your Slack account (https://slack.com/signin), and select your Slack workspace.
Go to https://api.slack.com/apps and do the following:
If this is your first app, click on Create an App. Otherwise, click on Create New App.
In the displayed dialog, click on From Scratch.
In the next dialog, fill out the form as follows:
In the App name, type in a meaningful name. For example: “Probely Integration”.
In the dropdown, pick the Slack workspace you want to receive Probely notifications.
Click on Create App, and you will be redirected to the Basic Information page.
On the sidebar menu, select Incoming Webhooks, and if not turned on, click on the toggle button of Activate Incoming Webhooks to turn it on.
Scroll to the bottom of the page and click on Add New Webhook to Workspace.
On the displayed page, click on the dropdown to see the list of Slack channels, select the one you want to receive Probely notifications to (e.g., “Probely notifications”), and click on Allow.
Back to Incoming Webhooks, scroll down, and validate the newly created webhook.
Click on Copy to store the webhook URL in the clipboard. We will need it to configure the Slack integration in Probely.
The webhook has been configured on the Slack side. Let’s move on to the Probely side.
Step 2: Configure the Slack webhook in Probely
In this step, we will configure the Slack webhook on the target that we want to receive notifications about its activity:
In the Probely app, go to the TARGETS tab, and click on the cogwheel of the row of the target you want to configure.
Click on the INTEGRATIONS tab, go to the SLACK section, and set the SLACK WEBHOOK URL. If you copied the URL to the clipboard at the end of “Step 1: Create the webhook in Slack”, simply paste it.
Now, choose which events you want to be notified about. For example, events of scans such as when they start and end, when they identify high-severity vulnerabilities, and if they fail to log in.
Click on SAVE to conclude the Slack integration for the target.
Once a target is integrated with Slack, you will start receiving notifications from Probely about the target’s activity in your Slack channel. For example:
This integration allows you to adjust notifications to your organization’s needs. For example, you can have a single Slack webhook to configure your targets, and you will receive all notifications in the same Slack channel. However, if necessary, you can create more webhooks and configure your targets accordingly so that you receive notifications of different targets (or groups of targets) in different Slack channels.