To generate a Slack API token for audit logs, do the following: You must have owner privileges to perform this task. This generated token can only be used by the Enterprise Slack plan to collect audit logs. Replace the variable with the generated token you copied in the previous step.Ĭurl -X GET -H “Authorization: Bearer ” -H “Accept: application/json” “” If the token is valid, the output will have "ok":true in the response. Verify that the generated token is valid with the following commands.You will need to use this token when configuring the Slack collector. Click Allow to install the app to workspace.The app prompts you for permission to install based on your selected permission. Go to Install App and click Install App to Workspace.In the Scopes section, add the following permissions in User Token Scopes to collect logs, and then click Save. Logs will be collected based on these permissions:.In the Basic Information section for the app created above, click Permissions.Enter the App Name and select the Development Slack Workspace for which you need to generate a token and collect logs.To generate a Slack API token for users, channels and access logs, do the following: ![]() ![]() The token generated in the following steps can be used by all Slack plans to collect the mentioned log types. You must have admin privileges to perform this task. Token for Users, channels, and access logs
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |