The Outline Sentry webhook is a Google Cloud Function that receives a Sentry event and posts it to Salesforce.
- Google Cloud SDK
- Access to Outline's Sentry account.
npm run action sentry_webhook/build
Authenticate with gcloud
:
gcloud auth login
To deploy:
npm run action sentry_webhook/deploy
- Log in to Outline's Sentry account
- Select a project (outline-client, outline-client-dev, outline-server, outline-server-dev).
- Note that this process must be repeated for all Sentry projects.
- Enable the WebHooks plugin at
https://sentry.io/settings/outlinevpn/<project>/plugins/
- Set the webhook endpoint at
https://sentry.io/settings/outlinevpn/<project>/plugins/webhooks/
- Configure alerts to invoke the webhook at
https://sentry.io/settings/outlinevpn/<project>/alerts/
- Create rules to trigger the webhook at
https://sentry.io/settings/outlinevpn/<project>/alerts/rules/