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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...