Security

How to update LDAP group name mapping to splunk role with REST ?

rbal_splunk
Splunk Employee
Splunk Employee

would like to update the LDAP group name to role mapping using REST on my search head.

Tags (1)
0 Karma

rbal_splunk
Splunk Employee
Splunk Employee

To confirm - the roles <> group mapping created using REST wil be replicated among Search Head Cluster Member.

rphillips_splk
Splunk Employee
Splunk Employee

using the curl command you can add or remove splunk roles mapped to a given LDAP group name. This example adds the 3 roles (admin, user, power) to the LDAP group name 'splunk_test'.

curl -k -u admin:password https://localhost:8089/servicesNS/-/launcher/admin/LDAP-groups/test_AD%2Csplunk_test -d roles=admin -d roles=user -d roles=power

test_AD is the strategy name
splunk_test is the LDAP group name

0 Karma
Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...