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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...