Skip to content

agiledigital-labs/sleuthbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sleuth Bot

Chat ops for Severless incidents in aws

Architecture

architecture

Basic usage

Invite the bot to a channel,

Ask the bot to investigate with /investigate [STACK_NAME]

Request historical record

Invite the bot to a channel,

Share a message directly with the bot,

Start a thread on the shared message with the stacks that you want to investigate

Installing the bot into your aws account

Setting up the slack part of the bot

You will need to set up the Slack app manually..... it woulds be nice is you didn't have to, but....

The slack bot will need the following oauth permissions to run:

permission description
channels:history View messages and other content in public channels that sleuth bot has been added to
chat:write Send messages as @sleuthbot
commands Add shortcuts and/or slash commands that people can use
files:write Upload, edit, and delete files as sleuth bot
im:history View messages and other content in direct messages that sleuth bot has been added to

The bot will also need to have the slash command and events associated with it. These follow

slash commands:

  • /investigate

events:

  • message.im | A message was posted in a direct message channel | im:history

Environment variables

Make sure you add the following environment variables to the security section of the git hub account

  • SLACK_BOT_TOKEN
  • SLACK_SIGNING_SECRET

Both of which are created when you set up your application

About

Chat ops for severless incidents in aws

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •