Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.7 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.7 KB

slack-trigger-pd

Trigger PagerDuty incidents from Slack without users needing to have associated PagerDuty accounts.

Runs as a serverless application on Azure Functions.

Project status

Working prototype. Everything works, but it has various sharp edges and a naive trust in data it accepts.

Also, it's only been tested locally (func start, requires Azure Functions Core Tools) and hasn't been run from Azure itself yet.

To-do

  • Verify requests come from Slack
  • Tests
  • More extensive typing
  • Support > 100 services in PagerDuty services API call
  • Display user feedback after opening incidents
  • Attach more Slack metadata to opened incidents

Installing into a Slack workspace

  1. Visit https://api.slack.com/apps/ and click Create New App.
  2. Choose From an app manifest and select the desired workspace.
  3. Paste in the contents from slack-app-manifest.yml, making sure to replace ${FUNCTIONS_APP_DOMAIN} with the endpoint of your deployed Azure Functions app.
    • Hint: envsubst can be helpful here, try: FUNCTIONS_APP_DOMAIN=your-function-name.azurewebsites.net envsubst < slack-app-manifest.yml)
  4. Review and complete the installation, then proceed with Install to Workspace.

License

This software is dual-licensed under the Apache 2.0 and the MIT licenses.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.