Sending Alerts to TheHive

Hello,

I was wondering if i can send alerts to TheHive with the alerting plugin
Example of request to create an alert :

curl -XPOST -H 'Authorization: Bearer ***API*KEY***' -H 'Content-Type: application/json' http://127.0.0.1:9000/api/alert -d '{
  "title": "New Alert",
  "description": "N/A",
  "type": "external",
  "source": "instance1",
  "sourceRef": "alert-ref"
}

Thank you

Hi @hilo21,

I believe you should be able to, are you running into any specific issues?

Hello @dbbaughe.
I am able to using curl but the destinations url doesn’t support ip for custom webhooks and even though i defined my hostname in the hosts file it did not work i don’t know how can i bypass this limitation
Thank you