Splunk Search

Splunk Query to find the AD groups not configured in SAML - Splunk Cloud.

Naa_Win
Path Finder

Hello,

I'm looking for a splunk query to capture AD groups that are not integrated with SAML in Splunk Cloud

0 Karma
1 Solution

Naa_Win
Path Finder

I got my query right 

| rest splunk_server=local /services/authorization/roles
| fields imported_roles,imported_srchIndexesAllowed,imported_srchIndexesDefault,srchIndexesAllowed,srchIndexesDefault,title
| rename title as roles
| table roles
| join type=left roles
[| rest splunk_server=local /services/admin/SAML-groups
| fields roles,title
| rename title as ADGroup
| mvexpand roles ]
| search roles!="can_delete"
| where isnull(ADGroup)

View solution in original post

0 Karma

Naa_Win
Path Finder

I got my query right 

| rest splunk_server=local /services/authorization/roles
| fields imported_roles,imported_srchIndexesAllowed,imported_srchIndexesDefault,srchIndexesAllowed,srchIndexesDefault,title
| rename title as roles
| table roles
| join type=left roles
[| rest splunk_server=local /services/admin/SAML-groups
| fields roles,title
| rename title as ADGroup
| mvexpand roles ]
| search roles!="can_delete"
| where isnull(ADGroup)

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...