https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.investigations/list?rep_location=africa-south1
using the above doc, im trying to pass an alertId or caseId as parameters in the filter field, but i keep getting this error -
INVALID_ARGUMENTCan anyone help on this. Many Thanks in advance.
param = {
"filter": "alertId=<alert_id>"
}
base = "https://us-chronicle.googleapis.com/v1alpha/projects/<project_id>/locations/us/instances/<instance_id>/investigations"
try:
response = mysession.session.get(url=base, params=param)
rt = response.json()
print(rt)
except Exception as e:
print("\nError ",e)
error im getting :
{'error': {'code': 400, 'message': 'failed to list investigations', 'status': 'INVALID_ARGUMENT'}}