TheHive
TheHive copied to clipboard
[Question] WebHook FilteredEvent Blocklist
Hello,
On TheHive4 webhooks, we're struggling with FilteredEvent. We'd like to blocklist only events from "objectType": "case_artifact", however we don't get any events with the following value:
{
"value": [
{
"delegate": false,
"trigger": [
{
"name": "AnyEvent"
},
{
"name": "FilteredEvent",
"filter": {
"_and": [
{
"_not": {
"objectType": "case_artifact"
}
}
]
}
}
],
"notifier": {
"name": "webhook",
"endpoint": "Dev"
}
}
]
}
We also tried the following value but it didn't work:
{
"value": [
{
"delegate": false,
"trigger":
{
"name": "FilteredEvent",
"filter": {
"_and": [
{
"_not": {
"objectType": "case_artifact"
}
}
]
}
},
"notifier": {
"name": "webhook",
"endpoint": "Dev"
}
}
]
}
Is there a way to trigger any webhook event except for the observables ones?
Thank you