Skip to content

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

alprs/slack-trigger-pd

 
 

Repository files navigation

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.

About

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

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.4%
  • Makefile 6.6%