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

View solution in original post

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!