Splunk Dev

When trying to filter the endpoint, why replacing the user and app fields don't seem to effect the result at all?

joemaz95
Path Finder

Using Python to access the rest api, servicesns/{user}/{app}/saved/searches endpoint does not filter by app or user
When trying to filter this endpoint, replacing the user and app fields don't seem to effect the result at all. Is there something I'm missing? I'm using the requests library in Python 3.

0 Karma
1 Solution

joemaz95
Path Finder

Looks like the issue is that the endpoint doesn't look for what app the searches are associated with, it looks at the permissions on the searches. I've been getting the searches that are associated with the app as well as the ones that are shared globally. The workaround is to parse the search["acl"]["app"] property.

View solution in original post

joemaz95
Path Finder

Looks like the issue is that the endpoint doesn't look for what app the searches are associated with, it looks at the permissions on the searches. I've been getting the searches that are associated with the app as well as the ones that are shared globally. The workaround is to parse the search["acl"]["app"] property.

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...