Getting Data In

Looking for suggestions on implementing a complicated access control setup: Need to give some users access to only a subset of data from an index, and all data from other indexes.

Ricapar
Communicator

Gonna paint out a scenario to help explain what I'm looking for.

I have a user, he's a developer for a specific application. I have other users who are devs for other applications. They all belong to the same line of business within the company.

The business's index is readable only to people within that business unit's AD group structure.

We also have several other indexes that are readable to anyone who can authenticate into Splunk. This is all internally public data.

Right now, application data for each line of business comes into an index for the entire business. This was set up this way to simplify deployment server (serverclass.conf) configurations, and to minimize the amount of inputs.conf configurations we'd have to roll out.

However, the business is now asking for the ability to give developers access to only non-production data for only their applications.

We don't want to split into different indexes, since we'd then end up with index names of the sorts of "bu-myapp-prod", "bu-myapp-dev", etc.

A few things to make it easier.. I have a lookup table (regenerated daily) that when matched with a host, tells me the application and tier it belongs to.

I'm hoping to use this in conjunction with role search filters to get to the state I want. I'm almost there - I have a role created where the user is only able to search for data for his/her app and tier's data.

However, right now I lose access to the globally shared data.

My idea set up would look like:

  • If index=business, then use data from the lookup table and filter only provided
  • If the index is one of the public ones, then proceed as normal.

Essentially, I only want to filter results if they are coming from one specific index. All others should go through unfiltered.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

If you want to apply myCondition as a role search filter to only one index myIndex, you can define this as a filter:

index!=myIndex OR (myCondition)

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

If you want to apply myCondition as a role search filter to only one index myIndex, you can define this as a filter:

index!=myIndex OR (myCondition)
0 Karma

Ricapar
Communicator

Wow, that was easy. I feel bad now!

Thank you!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...