Skip to main content
Data Infrastructure Insights

Workload Security Webhook Example for Slack

Contributors netapp-alavoie

Webhooks allow users to send alert notifications to various applications using a customized webhook channel. This page provides an example for setting up webhooks for Slack.

This page refers to third-party instructions, which are subject to change. Refer to the Slack documentation for the most up-to-date information.

Slack Example

create a slack app

  • Go to Incoming Webhooks, click on Activate Incoming Webhooks, select Add New Webhook, and select the Channel on which to Post.

  • Copy the Webhook URL. This URL will be given when creating a Workload Security webhook.

Create Workload Security Slack Webhook

  1. Navigate to Admin > Notifications and select the Workload Security Webhooks tab. Select + Webhook to create a new webhook.

  2. Give the webhook a meaningful name.

  3. In the Template Type dropdown, select Slack.

  4. Paste the URL copied from above.

webhook slack example for Workload Security

Notifications via webhook

  • To notify on events via webhook, navigate to Workload Security > Policies. Click on +Attack Policy or +Warning Policy.

  • Enter a meaningful policy name.

  • Select required Attack Type(s), Devices to which the policy should be attached, and required Actions.

  • Under the Webhooks Notifications dropdown, select the required webhooks. Save the policy.

Note: Webhooks can also be attached to existing policies by editing them.

add attack policy dialog