Getting Data In

Which REST API to use to check user access to a specific app?

zhipengy_splunk
Splunk Employee
Splunk Employee

Current I am using "authentication/current-context" endpoint to check the roles of current user, and check if "admin" is one of it. This way is not very flexible as we do not want to always use an admin account to edit the app.

Meanwhile, in the UI or via CLI, we are able to grant R/W access to different roles for each app. Wondering if there is another endpoint to check the roles that have R/W access for a specific app? If we can get the information, we can have better access control without using admin accounts.

0 Karma
1 Solution

zhipengy_splunk
Splunk Employee
Splunk Employee

Just got the answer from my friend: "servicesNS/nobody/system/apps/local"

View solution in original post

0 Karma

zhipengy_splunk
Splunk Employee
Splunk Employee

Just got the answer from my friend: "servicesNS/nobody/system/apps/local"

0 Karma
Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...