mluhta
December 9, 2020, 2:09pm
21
I made a PR to improve the trigger’s support for TheHive 3 webhooks, as currently the event filter isn’t working properly for TheHive 3 webhook creation events because there’s a small change in the operation name between TH3 and TH4.
n8n-io:master
← mluhta:feature/thehive-trigger-improvements
opened 09:17PM - 07 Dec 20 UTC
This pull request adds support for TheHive 3 webhook events by adding a configur… ation option, which rewrites the operation name from ` Creation ` to ` Create `.
![image](https://user-images.githubusercontent.com/12100880/101406620-f8504180-38d9-11eb-948d-54f38106f57f.png)
Additionally adds two events to the filter list:
* Log Updated
* Log Deleted
2 Likes
mluhta
January 8, 2021, 9:25pm
22
I have a couple more PRs waiting for review, these will fix some issues that were raised at Github. I hope you guys have time to check these too
n8n-io:master
← mluhta:feature/thehive-add-observable-types
opened 07:47PM - 30 Dec 20 UTC
This pull request makes the TheHive node load observable data types from the The… Hive API. Users can create (and delete) observable data types in TheHive, so this is the best way to show them in the options menu. Fixes #1225
n8n-io:master
← mluhta:feature/thehive-markasread
opened 07:41PM - 16 Dec 20 UTC
~~TheHive 4 uses a different API endpoint for marking alerts as read than TheHiv… e 3, and the node currently has no way to mark alerts as read in TheHive 4. This PR adds operation "Mark as Read" to Alert resource when the API version is set as v1.~~
TheHive uses API endpoints ` /api/alert/<alert_id>/markAsRead ` and ` /api/alert/<alert_id>/markAsUnread ` to mark alerts as read or unread. They aren't currently implemented so this PR adds both operations.
Fixes #1226, as marking alert as read sets its status as Ignored.
Hey @mluhta thanks very much. Will have a look as a soon as I have time.
1 Like