You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am an analyst and I created a case for a threat hunting project. I have 100+ IPs that I have to enter as observables in the HIVE. Is there a way to do a bulk insert instead of entering IPs one by one. Thanks.
The text was updated successfully, but these errors were encountered:
Please take a look at the API docs under the section of Create Alert.
In case you want to do it with thehive4py you want to use the TheHiveApi.alert.create method:
hive=TheHiveApi(url="https://my-hive.local", apikey="your-apikey")
hive.alert.create(alert={
"sourceRef": "your-source-ref",
"source": "your-alert-source",
"type": "your-alert-type",
"title": "your alert title",
"description": "your alert description",
"observables": [
{"data": "192.168.0.1", "dataType": "ip"},
{"data": "192.168.0.2", "dataType": "ip"},
# all the observables can be listed here
]
}
)
I am an analyst and I created a case for a threat hunting project. I have 100+ IPs that I have to enter as observables in the HIVE. Is there a way to do a bulk insert instead of entering IPs one by one. Thanks.
The text was updated successfully, but these errors were encountered: