We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to get the observables of a case using the api, I get this response :
{"type": "BadRequest", "message": "Property _id for type org.thp.thehive.services.ObservableSteps not found"}
I'm using TheHive4py function : get_case_observables().
Is there another way to get all the observables of a case? Or can you please solve this bug?
Thank you
The text was updated successfully, but these errors were encountered:
@To-om this is because of the _id search operator is missing.
_id
The get_case_observable() method used the following json body to call /api/case/_search:
get_case_observable()
/api/case/_search
{ "_and": [ { "_parent": { "_type": "case", "_query": { "_id": "CASE_ID" }, } }, { ... } ] }
The issue here is that TheHive 4 doesn't have support to _id
Sorry, something went wrong.
@sisecbe we will address the issue, thanks for the catch.
This is most certainly fixed by #1344
To-om
No branches or pull requests
When trying to get the observables of a case using the api, I get this response :
{"type": "BadRequest", "message": "Property _id for type org.thp.thehive.services.ObservableSteps not found"}
I'm using TheHive4py function : get_case_observables().
Is there another way to get all the observables of a case? Or can you please solve this bug?
Thank you
The text was updated successfully, but these errors were encountered: