Splunk Dev

UI-Toolkit React-App unable to fetch REST-Endpoint "services/admin/LDAP-groups"

TheEggi98
Path Finder

Hello Splunk Community,

to get into ReactJS and the Splunk UI-Toolkit i created a small App with a Component, thats fetching the Splunk-Roles and the LDAP-groups from splunks REST-API for easy mapping of matching groups and roles.

Fetching of the roles work, but the groups dont.

Codeside i fetch against '/splunkd/services/admin/LDAP-groups?output_mode=json'
That respond with 303 see other and refers to
'<locale>/splunkd/services/admin/LDAP-groups?output_mode=json'
where i get the 404 Page not Found response.

Searching for the requestId shows following:
proxy:132 - Resource not found: services/admin/LDAP-groups
error:321 - Masking the original 404 message: 'Resource not found: services/admin/LDAP-groups' with 'Page not found!' for security reasons

My User has the change_authentication capability, so theoretically it should work.
Am i doing something wrong? Or is that endpoint denied by default if its not splunk itself?

 

 



Labels (3)
Tags (4)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...