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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...