Slack Chatops
Purpose
This document is intended for both internal teams and customers. It explains how to set up and use the Slack ChatOps integration in Dropzone, including:
Technical setup steps
Authentication flow
Command usage
Placement and access guidance
1. Overview
The Slack ChatOps feature enables users to perform investigation management actions directly from Slack, such as:
Approving investigations
Reopening investigations
Changing investigation outcomes
v0 (Beta) Slash Commands
/dzapprove [INVESTIGATION_ID]/dzreopen [INVESTIGATION_ID]/dzoutcome [INVESTIGATION_ID] [OUTCOME] [NOTES] [--learning_flag]/dzhelp
2. Prerequisites
Before setting up ChatOps:
You must have Admin access to:
The Dropzone tenant
The organization’s Slack workspace
Users must have logged into the Dropzone tenant at least once (required for authentication matching).
The Slack app must include the required bot scopes (see manifest below).
3. Setup Instructions
Step 1 – Create a Slack App
Go to:
https://api.slack.com/appsClick Create New App.
Choose From Manifest.
Paste the JSON manifest (provided at the end of this document).
Replace
<TENANT>in the manifest with your Dropzone tenant hostname.
This automatically configures:
Slash commands
Bot scopes
Step 2 – Gather Credentials
After creating and installing the Slack app, collect:
Signing Secret
Found under Basic Information in Slack.
Bot Token
Found under OAuth & Permissions after installing the app.
Step 3 – Add Credentials to Dropzone
Within your Dropzone tenant:
Navigate to System Info.
Enter:
Signing Secret → Slack Signing Secret
Bot Token → Slack Bot Token
Note: In future versions, this configuration will likely move to the Integrations page under a dedicated Slack ChatOps section.
4. Authentication Details
Slack sends the slash command request to the Dropzone endpoint.
The Dropzone backend verifies the request using the Signing Secret.
If the Signing Secret is incorrect:
The request is rejected.
The user receives an error from Slack’s built-in Slackbot (not the Dropzone bot).
If verification succeeds:
Dropzone matches the Slack user’s email address to an existing Dropzone tenant user.
The user must have previously logged into the tenant.
If no user match is found:
The command fails with an authentication error.
5. Using Slash Commands
/dzapprove
Approve an investigation by ID
/dzapprove 1012
/dzreopen
Reopen a previously closed investigation
/dzreopen 1012
/dzoutcome
Change outcome with note and optional learning flag
/dzoutcome 1012 malicious Confirmed phishing attempt. --no-learn
/dzhelp
Display usage information
/dzhelp
6. Behavior and Visibility
Successful commands post a confirmation message visible to everyone in the channel.
Progress messages and usage tips are ephemeral (visible only to the user).
Commands cannot currently be executed inside Slack threads.
7. Best Practices
Include slash command usage tips in your default Slack response templates.
Limit Slack channel access to approved users who are logged into Dropzone.
Only users with Member or Admin roles can execute slash commands.
Use the manifest copy-paste flow to minimize YAML/JSON formatting errors.
8. Known Limitations
Cannot trigger commands via emoji reactions (planned for v2).
Cannot execute commands in Slack threads (Slack platform limitation).
JSON Manifest
Replace <TENANT> with your Dropzone tenant hostname before pasting into Slack.
Last updated
Was this helpful?