Slack

How do I setup an integration with Slack?

Please follow these steps to get scan notifications in the Slack channel that you'd like.

Preparation in Slack:

You will need to get the channel ID and the API token:
  • Channel ID: Go to the URL connected to the specific chat you wish to integrate, such as "https://mycompany.slack.com/messages/ABC123," where "ABC123" is the channel ID.
  • API Token: API Token is created when setting up a custom integration in Slack.
    • Go to the Slack API page at https://api.slack.com/apps (external link). Please note that you must have workspace admin privileges to proceed.
    • Click Create New App, then Select From Scratch.
    • Type your App name, select your workspace, and click Create App.
    • On the left sidebar, click OAuth & Permissions in the application settings.
    • Scroll to the Scopes section and Bot Token Scopes. Add chat:write
      • Install the application in your Slack workspace.
      • Go to OAuth & Permissions, then Install to <your workspace name>.
      • Inside the OAuth & Permissions section, copy the Bot User OAuth Token and paste it into the API Token field in the Security Center.
      • Important! In Slack, invite the bot to the channel you chose to operate (View member list > invite others > provide bot user name).

Setup the integration in Security Center:

  1. Log in to Security Center.
  2. Click the menu icon in the top right corner.
  3. Click Settings > Integrations.
  4. Enable Slack by checking the box.
  5. Enter the channel ID and API Token you noted in the preparation part above.
  6. Click OK.
  7. Ensure you enable the different notifications in each section from which you want to receive notifications.
  8. Done!

User Tokens
For customers using "User Tokens," in some cases, it's necessary to add permissions for the token. See this article for more information