All Collections
Integrations
Integrate SecurityHive with Slack
Integrate SecurityHive with Slack

Do you want Slack notifications when new detections are found? In this article we'll guide you through setting up a Slack web hook.

Updated over a week ago

In this article I will explain how you can integrate SecurityHive with your Slack workspace. By enabling this integration you will get notified by Slack when your bee's have detected new activity within your network. This is useful to stay on top of your network and to review potential threats as quick as possible.

Step 1

Create a new slack channel for your SecurityHive notifications. You can skip this step if you want to integrate the notifications in a channel that already exists.

Step 2

Login on https://api.slack.com/apps with your slack account.

Schermafbeelding+2017-11-27+om+12.25.03.png?expires=1621411405&signature=565384daced4718d371d2fd3d5bcb9af33bacb05d028215a0c047771ae52bc30

Step 3

Press the big green 'Create an App' button to start building our integration and give the app a name. We recommend using 'SecurityHive' as app name since that is the service that you are integrating. You also need to select the workspace where the app is going to push notifications to.

Schermafbeelding+2017-11-27+om+12.27.33.png?expires=1621411405&signature=e4829e7b0b15d8de0fff946f2ce433b8240612ab3116de8f216f1054bbc11aba

Step 4

Select the 'Incoming Webhooks' option.

Schermafbeelding+2017-11-27+om+12.29.43.png?expires=1621411405&signature=cda842ddb5e3e7093e5e46e4a383d17d0a36b1f1003f3e2c9d56524238a8f024

Step 5

Activate the Incoming Webhooks feature using the toggle in the top right corner.

Schermafbeelding+2017-11-27+om+12.31.41.png?expires=1621411405&signature=cd288aa1d0d746fe6e2c28621ba389ccf6add74897dc14a952c60b44ab03ef32

Step 6

Press the 'Add New Webhook to Workspace' button at the bottom of the page and select the channel to you've created (or chosen) at step 1.

Schermafbeelding+2017-11-27+om+12.34.21.png?expires=1621411405&signature=a8cc481661c3df9135821fbded849e4eda71559958dd66ebaefa8061d0b88146

Step 7

Authorize the newly created Webhook using the green 'Authorize' button. You will be redirected to the Incoming Webhooks page. At the bottom you'll find your new Webhook. Use the copy button to copy the Webhook URL to your clipboard.

Schermafbeelding+2017-11-27+om+12.35.18.png?expires=1621411405&signature=77191218c0905e92ae56d26ccc29acd48fc10d525b2b6fc676d069d0d457f843

Step 8

Login on the SecurityHive portal at https://portal.securityhive.io/login go to the 'settings' page and select the 'organisation' tab. You'll see a form like the one below. Paste the copied URL in the 'Slack Web API' field and press the 'Update' button.

Schermafbeelding+2017-11-27+om+12.39.42.png?expires=1621411405&signature=7d92617d3f7980e2471decdad2a465a238aa0cdea68e3bbff4de489795b74b1d

Step 9

You are done, from now on you'll receive Slack Notifications like the ones below when there are new detections in your network. To disable the Slack integration, simply remove the URL from the settings page and press 'Update'.

Schermafbeelding+2017-11-27+om+12.43.15.png?expires=1621411405&signature=2470fb71b0f5433a50c5f7815c8527fc2a3b5cdf0c68fd49c2fe07941b025f7c
Did this answer your question?