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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

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