A script to post events to Sysdig Cloud from slack.
pip install slackclient sdcclient
- Go to this page to create a new Slack bot user https://my.slack.com/services/new/bot
- Once you are done with the bot creation wizard, the Slack API token will be available under Integration Settings. Make a copy of it
- Browse to https://app.sysdigcloud.com/#/settings/user and copy the Sysdig Cloud API Token that you find under Sysdig Cloud API
python bot.py <sysdig_token> <slack_token>
- You can now send messages to the bot. They will be posted to Sysdig Cloud as events and they will appear on charts.