Skip to main content

Slack

Visualize Slack teams, channels, and users, map Slack users to employees, monitor changes through alerts and queries, and create issues within Slack channels.

Installation​

To install this integration, you will need to add the JupiterOne Slack App to the Slack workspace you wish to use with JupiterOne.

Prerequisites​

  • A Slack workspace you want to connect to JupiterOne.
  • A workspace member who can approve the installation of a Slack app, so the OAuth consent screen can be completed.

Slack uses an OAuth flow, so you do not create or paste a token. When you authorize the integration, JupiterOne's Slack app requests the scopes you select and Slack grants a bot token on your behalf. The scopes requested by default gate what the integration can ingest:

  • users:read lets the integration view the people in your workspace.
  • users:read.email lets the integration view the email addresses of those people.
  • channels:read lets the integration view basic information about the public channels in your workspace.

Configuration in JupiterOne​

You can add the JupiterOne Slack application through the JupiterOne dashboard. Navigate to the Integrations tab in JupiterOne and select Slack. Click New Instance to begin configuring your integration.

Creating an instance requires the following:

  • A name to identify the integration instance in JupiterOne.

  • A Description to assist in identifying the integration instance, if desired.

  • A Polling Interval that you feel is sufficient for your monitoring needs. You may leave this as DISABLED and manually execute the integration.

  • The Slack OAuth Scopes are pre-populated. You can adjust which permissions the JupiterOne Slack app requests by selecting or de-selecting them from the drop-down.

    note

    All read scopes are used to ingest data into the JupiterOne graph, and the write scopes are used to enable sending notifications to channels in the configured Slack workspace. chat:write is required to post messages in channels and conversations that the @JupiterOne bot is a member of, and chat:write.public is required to post messages to channels that the @JupiterOne bot isn't a member of. Without one or both of chat:write and chat:write.public, users will not be able to configure JupiterOne alert rules with a Slack notification.

Once the integration instance settings have been defined, press Save. This will initiate an OAuth flow with Slack. Press Begin Authorization to initiate the process. During the flow, you will need to specify the Slack workspace for which you wish to use the JupiterOne integration. Press Allow to grant access to the workspace and conclude the OAuth flow, finalizing the integration.

JupiterOne Alert Rule Slack Notifications​

JupiterOne can deliver Slack messages directly to any channel or specific users in a Slack workspace once the JupiterOne Slack integration has been configured.

Be sure to specify the channel in the format #channel. You can have alerts sent to private channels as well if you have invited the JupiterOne Slack app to the private channel.

info

For more detailed instructions on how to configure JupiterOne Alert Rules, please see the JupiterOne Alert Rule configuration documentation. Additionally, see the JupiterOne Alert Rule Schema documentation for technical details on alert rule/action properties.

Next steps​

Now that your integration instance has been configured, it will begin running on the polling interval you provided, populating data within JupiterOne. Continue on to our Instance management guide to learn more about working with and editing integration instances.