api-samples-python icon indicating copy to clipboard operation
api-samples-python copied to clipboard

search/ list structured query events 403

Open sanderlegit opened this issue 3 years ago • 1 comments

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?

sanderlegit avatar Jun 20 '22 14:06 sanderlegit

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.

goog-cmmartin avatar Jun 21 '22 15:06 goog-cmmartin