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
When I try to make an api.find_cases call with a query containing 'ContainsString', I got an error message saying { "message": "JsResultException(errors:List((,List(JsonValidationError(List(Invalid query: unexpected {\"_wildcard\":{\"_field\":\"title\",\"_value\":\"*Vuln*\"}}),WrappedArray())))))", "type": "play.api.libs.json.JsResultException" }
Steps to Reproduce
Connect to API.
Set query to query = ContainsString('title', 'Vuln').
Call the API : siem_cases = api.find_cases(query=query).
Load the response as a json : a = json.loads(siem_cases.text).
Display the response with indent : print(json.dumps(a, indent=4, sort_keys=True)).
Run the script and you will get the error above.
The text was updated successfully, but these errors were encountered:
Request Type
Bug
Problem Description
When I try to make an api.find_cases call with a query containing 'ContainsString', I got an error message saying
{ "message": "JsResultException(errors:List((,List(JsonValidationError(List(Invalid query: unexpected {\"_wildcard\":{\"_field\":\"title\",\"_value\":\"*Vuln*\"}}),WrappedArray())))))", "type": "play.api.libs.json.JsResultException" }
Steps to Reproduce
query = ContainsString('title', 'Vuln')
.siem_cases = api.find_cases(query=query)
.a = json.loads(siem_cases.text)
.print(json.dumps(a, indent=4, sort_keys=True))
.The text was updated successfully, but these errors were encountered: