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!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...