Security

disabled user list

Mohsin123
Path Finder

how to get list of disabled users in splunk ? any query ?

i was checking for orphaned object query :

| rest timeout=600 splunk_server=local /servicesNS/-/-/saved/searches add_orphan_field=yes count=0
| search orphan=1

does it help ?

0 Karma

mayurr98
Super Champion

do you mean inactive users?

 | rest /services/authentication/users splunk_server=local 
 | fields realname, title
 | rename title as user
 | join user type=left [
    | search index=_audit action="login attempt" earliest=-12mon
    | stats max(timestamp) as _time by user, sourcetype
 ]
 | where isnull(sourcetype)
 | fields - sourcetype

Also, have a look at this answer
https://answers.splunk.com/answers/481/search-for-inactive-splunk-users.html

let me know if this helps!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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