Javascript to POST to URL

Is there a way to set up a Destination as a POST request (w/authentication)? I tried using Code and modifying the code for DNS lookup on this page (https://cribl.io/blog/extending-cribl-building-custom-functions/). I got errors about using Promise.

Have you looked into the WebHook destination? I’ve been able to successfully use that to send events to a few different API endpoints.

EDIT: Check out the PagerDuty Pack for an example

1 UpGoat