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.

Labels (1)
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"

View solution in original post

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!