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