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"

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...