Skip to content
A Slack bot that facilitates triaging MozDef alerts by automating outreach to Mozillians
Makefile Python Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cloudformation
docs
mozdef_triage_bot
tests
.gitignore
LICENSE
MANIFEST.in
Makefile
README.md
requirements.txt
requirements_dev.txt
setup.cfg
setup.py
tox.ini

README.md

MozDef-Triage-Bot

A Slack bot that facilitates triaging MozDef alerts by automating outreach to Mozillians

slack-triage-bot-api

Deployment

To deploy the slack-triage-bot-api into AWS run

make deploy-mozdef-slack-triage-bot-api

or

make deploy-mozdef-slack-triage-bot-api-dev

depending on the account

Testing

You can test invoking the function with

make test-mozdef-slack-triage-bot-api-invoke

which will pass

{"foo": "baz"}

to the API which will return

{"result": "bar"}

You can also test the API Gateway interface by running

make test-mozdef-slack-triage-bot-api-http

which will hit the /test API endpoint and get back a 200 API request received

You can also visit the /error endpoint to get a 400 or any other endpoint to get a 404

You can’t perform that action at this time.