Getting Data In

Query to generate list of users, assigned roles and AD groups

basanthp
Path Finder

Can someone advice on the splunk query to generate the list of users, assigned roles and associated Active Directory groups? We are using LDAP authentication based on AD groups.

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

You should get your users along with their roles like this:

| rest /services/authentication/users

Getting the mapped AD groups for your roles should be possible through one of these endpoints: http://docs.splunk.com/Documentation/Splunk/6.1.1/RESTAPI/RESTconfig
I don't have a Splunk to test right now though, if you don't find a way I'll get back to this later.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You should get your users along with their roles like this:

| rest /services/authentication/users

Getting the mapped AD groups for your roles should be possible through one of these endpoints: http://docs.splunk.com/Documentation/Splunk/6.1.1/RESTAPI/RESTconfig
I don't have a Splunk to test right now though, if you don't find a way I'll get back to this later.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...