api-samples-python
api-samples-python copied to clipboard
search/ list structured query events 403
I've run into an issue when trying to access the structured query events api.
When called with valid credentials as follows:
python -m search.list_structured_query_events -c "pathtocreds" -ts 2022-05-01T00:00:00Z -te 2022-05-02T00:00:00Z -rq ".*"
It returns:
{ "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED" } }
I also cannot find any documentation for it. Does it only support UDM? And can logtype/source be filtered for?
Hi @sanderlegit - this code sample is for the Structured Query API; however, the API is not generally available at this time, and hence the 403 error code being returned.