-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug][Help Wanted] - Webhook activation issue #2082
Comments
I can't reproduce this behaviour. You probably make a typo on the url. Please double check. |
Hello @To-om, You might have been right, I tried again this morning with a cool head and the command seems to have worked. {"path":"notification","defaultValue":[],"value":[{"delegate":false,"trigger":{"name":"AnyEvent"},"notifier":{"name":"webhook","endpoint":"local"}}]} And in application.log:
But I still don't get any notification, TheHivehook is active and listening on port 5000 as shown in conf file. I disabled the auth an put it to type "none" in the conf file, I want to validate the notification first. I get this error message: when the auth is set to type "none"
If you have any idea of what I should do to find the issue, pls let me know. Kind regards, |
Hello @To-om I tried to put a different authentication type in the application.conf, even if there is none expected by TheHiveHooks.
I used the following command: And got the following answer:
But I still got no notification on the webhook endpoint. Kind regards, |
Dear @To-om, I have also taken a look to #1386 and #1457. I have tried to enable the webhook using an org-admin of the org that needs it and using an org-admin from the admin org and I get the following output in both cases: in my application.conf file I have tried the following configurations:
None of them showed the expected result, which is sending notification to my webhook server. My webhook server is listening:
In thehive logs :
But I received zero notification. I'm going out of ideas. If you have any idea on things I should activate to get more verbosity in the logs or on the root issue, I'll take any input. Kind regards, |
Dear @To-om To keep you updated, after a reindexation of the database it seems to work. Kind regards, |
Request Type
Bug
Work Environment
Problem Description
I'm trying to configure the webhooks on thehive4, by following the documentation here: https://docs.thehive-project.org/thehive/installation-and-configuration/configuration/webhooks/.
But fail at step 2 ' Activate webhooks'
Steps to Reproduce
Where API_KEY is replaced by the current api key
outcome:
Complementary information
I tried to create a new org admin and use it to use the curl command but I got the same error.
As login I tried both toto and [email protected]
The text was updated successfully, but these errors were encountered: