webhook-to-sns

command module
v0.0.0-...-0866a7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

Background

This code repo is a POC test of simulating how our intermediary webhook between GoAlert and AWS could handle taking an alert request coming from a specific URL, and publishing to a topic for the current on-call engineer in GoAlert based on that data. This code was tested in the stage AppSRE GovCloud environment using our existing origination number in SNS.

This POC test assumes that the front half of the webhook will:

  • Accept a request from GoAlert with the alert data
  • The request data is parseable, specifically the Request URL and Body
  • The webhook URL for each user is unique and contains a single path with users username

With that data we can:

  • Parse the user from the URL thats on-call
  • Fetch the topic for the user from AWS
  • Send the alert data from GoAlert to the topic and notify the engineer

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL