Skip to content

Responds to a slack command "eg. /admin" to grant users admin/sudo rights for 30 minutes to their devices if a member of a specified private channel approves it.

Notifications You must be signed in to change notification settings

leandro-lorenzini/slack-jumpcloud-sudo-request

Repository files navigation

Slack Command - JumpCloud Sudo Request

Responds to a slack command "eg. /admin" to grant users admin/sudo rights for 30 minutes to their devices if a member of a specified private channel approves it.

How to use it

Slack setup

Server setup

A docker-compose.yml file is provided in this project, you can use that file to deploy it or use other tools to run the node.js application. The following environment variables are necessary:

  • JUMPCLOUD_API_KEY: Found under the jumpcloud admin UI.
  • SLACK_SIGNING_SECRET: Found under the Slack App information page.
  • SLACK_BOT_USER_TOKEN: Found under the Slack App information page.
  • SLACK_ADMIN_CHANNEL: The provate channel where requests will be sent for approval. (The slack app app must be a member of the channel).

About

Responds to a slack command "eg. /admin" to grant users admin/sudo rights for 30 minutes to their devices if a member of a specified private channel approves it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published