Splunk Search

What field name should I use for privileged users on change datamodel?

3DGjos
Communicator

Hello,

Right now i'm developing some compliance app. All my panel searches are with | tstats, so my fields are limited to the CIM datamodel ones.

So far I was doing great, until today, when I found myself trying to make a panel with all the privileged users activity. The problem is that Change only describes a src_user_category included in the Account_Management dataset.

My question is... what field should I use to describe privileged users activity that is not Authentication or Account_Management? I mean, lets suppose I have to make a panel with activity from privileged users regarding to other changes than account_management, for example the modification of a OU or the modification over a file's permissions.

I have to make a lookup with a list of my privileged users, and call the X field from there, assuming that my app has to be CIM compliant, what field should I use to search only for the privileged users?

Thanks!

0 Karma
1 Solution

woodcock
Esteemed Legend

If you are committed to CIM (and there are many good reasons to be), then you are on the right track that you definitely SHOULD NOT CHANGE the definition (JSON). This leaves you with 2 main approaches.
1: Hijack the *_bunit fields. They exist in all CIM DMs and hardly anybody uses them for anything.
2: Create custom tag values. The tag field exists in all CIM DMs but in v7.*+ you need to modify the tag whitelist to accept your new values.

I suggest the latter. You can have a lookup create a field called foo with value bar and then have a tag definition foobar for when foo = bar. Then you can search for Datamodel_Dataset.tag = foobar

View solution in original post

0 Karma

woodcock
Esteemed Legend

If you are committed to CIM (and there are many good reasons to be), then you are on the right track that you definitely SHOULD NOT CHANGE the definition (JSON). This leaves you with 2 main approaches.
1: Hijack the *_bunit fields. They exist in all CIM DMs and hardly anybody uses them for anything.
2: Create custom tag values. The tag field exists in all CIM DMs but in v7.*+ you need to modify the tag whitelist to accept your new values.

I suggest the latter. You can have a lookup create a field called foo with value bar and then have a tag definition foobar for when foo = bar. Then you can search for Datamodel_Dataset.tag = foobar

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...