Skip to content

Commit 1daf8ea

Browse files
authored
Update slack-audit.md
Reverting the removal of helpful deployment steps
1 parent ddd2acd commit 1daf8ea

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

articles/sentinel/data-connectors/slack-audit.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,63 @@ To integrate with Slack Audit (using Azure Functions) make sure you have:
6969

7070
>**IMPORTANT:** Before deploying the Slack Audit data connector, have the Workspace ID and Workspace Primary Key (can be copied from the following).
7171
72+
Option 1 - Azure Resource Manager (ARM) Template
73+
74+
Use this method for automated deployment of the Slack Audit data connector using an ARM Tempate.
75+
76+
1. Click the **Deploy to Azure** button below.
77+
78+
[![Deploy To Azure](https://aka.ms/deploytoazurebutton)](https://aka.ms/sentinel-SlackAuditAPI-azuredeploy)
79+
2. Select the preferred **Subscription**, **Resource Group** and **Location**.
80+
> **NOTE:** Within the same resource group, you can't mix Windows and Linux apps in the same region. Select existing resource group without Windows apps in it or create new resource group.
81+
3. Enter the **SlackAPIBearerToken** and deploy.
82+
4. Mark the checkbox labeled **I agree to the terms and conditions stated above**.
83+
5. Click **Purchase** to deploy.
84+
85+
Option 2 - Manual Deployment of Azure Functions
86+
87+
Use the following step-by-step instructions to deploy the Slack Audit data connector manually with Azure Functions (Deployment via Visual Studio Code).
88+
89+
90+
**1. Deploy a Function App**
91+
92+
> **NOTE:** You will need to [prepare VS code](/azure/azure-functions/functions-create-first-function-python#prerequisites) for Azure function development.
93+
1. Download the [Azure Function App](https://aka.ms/sentinel-SlackAuditAPI-functionapp) file. Extract archive to your local development computer.
94+
2. Start VS Code. Choose File in the main menu and select Open Folder.
95+
3. Select the top level folder from extracted files.
96+
4. Choose the Azure icon in the Activity bar, then in the **Azure: Functions** area, choose the **Deploy to function app** button.
97+
If you aren't already signed in, choose the Azure icon in the Activity bar, then in the **Azure: Functions** area, choose **Sign in to Azure**
98+
If you're already signed in, go to the next step.
99+
5. Provide the following information at the prompts:
100+
101+
a. **Select folder:** Choose a folder from your workspace or browse to one that contains your function app.
102+
103+
b. **Select Subscription:** Choose the subscription to use.
104+
105+
c. Select **Create new Function App in Azure** (Don't choose the Advanced option)
106+
107+
d. **Enter a globally unique name for the function app:** Type a name that is valid in a URL path. The name you type is validated to make sure that it's unique in Azure Functions. (e.g. SlackAuditXXXXX).
108+
109+
e. **Select a runtime:** Choose Python 3.8.
110+
111+
f. Select a location for new resources. For better performance and lower costs choose the same [region](https://azure.microsoft.com/regions/) where Microsoft Sentinel is located.
112+
113+
6. Deployment will begin. A notification is displayed after your function app is created and the deployment package is applied.
114+
7. Go to Azure Portal for the Function App configuration.
115+
116+
117+
**2. Configure the Function App**
118+
119+
1. In the Function App, select the Function App Name and select **Configuration**.
120+
2. In the **Application settings** tab, select ** New application setting**.
121+
3. Add each of the following application settings individually, with their respective string values (case-sensitive):
122+
SlackAPIBearerToken
123+
WorkspaceID
124+
WorkspaceKey
125+
logAnalyticsUri (optional)
126+
> - Use logAnalyticsUri to override the log analytics API endpoint for dedicated cloud. For example, for public cloud, leave the value empty; for Azure GovUS cloud environment, specify the value in the following format: `https://<CustomerId>.ods.opinsights.azure.us`.
127+
3. Once all application settings have been entered, click **Save**.
128+
72129

73130

74131

0 commit comments

Comments
 (0)