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!

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 ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...