# Trying to send all security alerts to a custom webhook

**URL:** <https://discuss.elastic.co/t/trying-to-send-all-security-alerts-to-a-custom-webhook/366071>\
**Category:** Elastic Security\
**Created:** [September 4, 2024, 9:20pm UTC](https://discuss.elastic.co/t/trying-to-send-all-security-alerts-to-a-custom-webhook/366071 "2024-09-04T21:20:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Bambenek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/john_bambenek/32/137328_2.png) [@John\_Bambenek](https://discuss.elastic.co/u/John_Bambenek)\
**Post date:** [September 4, 2024, 9:20pm UTC](https://discuss.elastic.co/t/trying-to-send-all-security-alerts-to-a-custom-webhook/366071/1 "2024-09-04T21:20:51Z")

</div>

I'm trying to send all security alerts generated in Elastic automatically to a webhook that I'll need to wrap some additional JSON (the entire log needs to be in an "alert" field, it's easy enough to do via copy-paste).

I tried this via Stack Management but it doesn't seem to work automatically. What's the best way to go about this?

---

<div class="post-metadata">

**Author:** ![ashishtiwari1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishtiwari1993/32/135241_2.png) [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Post date:** [September 5, 2024, 8:04am UTC](https://discuss.elastic.co/t/trying-to-send-all-security-alerts-to-a-custom-webhook/366071/2 "2024-09-05T08:04:11Z")

</div>

Hi @John_Bambenek, Welcome to the Elastic community.

You can use [webhook connector](https://www.elastic.co/guide/en/kibana/current/webhook-action-type.html) to forward your all alerts on your endpoint.

Let me know if this is what you were looking for.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [September 5, 2024, 12:19pm UTC](https://discuss.elastic.co/t/trying-to-send-all-security-alerts-to-a-custom-webhook/366071/3 "2024-09-05T12:19:40Z")

</div>

> [@John\_Bambenek](#):
>
> What's the best way to go about this?

Which version are you in? You didn't say.

Basically you create a webhook connector in Stack Management \> Alerts and Insights \> Connectors

After you created the webhook connection you need to configure an action on your security rules to use this connector.

But before being able to do that you need a paid license, the Webhook connector is not available is you are using the Basic (Free) license.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 3, 2024, 12:20pm UTC](https://discuss.elastic.co/t/trying-to-send-all-security-alerts-to-a-custom-webhook/366071/4 "2024-10-03T12:20:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
