All Apps and Add-ons

Best Practice in RBAC to give views to tenant apps

Skins
Path Finder

In a RBAC scenario where there are multiple tenants .
How to control access to their apps so that 'User A' who belongs to 'Role A' and when they log into Splunk all they see is 'Role A' App and no other Apps which are on that system ?

Similarly 'User B' who belongs to 'Role B' and when they log into Splunk all they see is 'Role B' App or Apps

And we can also Add a User C that inherits from Role A & B - and when they log in all they have is visibility of App A and AppB and none of the other Apps show in the Splunk GUI ?

Gratzi

Tags (1)
0 Karma

rglennacn
New Member

It seems there are multiple ways to do this (e.g. index filters or search filters tied to a role). As far as best practices, I think a major question is how these filters might affect performance. E.g. if we have, say, over 1k roles, and each role has a unique search filter all with access to the same index, will we start hitting significant performance slowdowns?
I've seen assertions that "search filters" have performance implications, but I haven't been able to find any specific dimensions that would impact the performance (e.g. # of filters, cardinality of filtered index, etc).

0 Karma

adonio
Ultra Champion

@rglennacn commented regarding access to data.
my understanding is that you are asking regarding apps permissions. if this is the case, the permissions are set on the app level. go to the "manage apps" page (if single SH) or modify the local.meta (both single or SHC) and configure the permissions as you desire. if Role A can see (read and write OR read only) App1, App2, and App3, they will be visible and accessible to the users that have that role on the navigation menu, same goes to Role B users and Apps 4,5,6. Users who have both roles, will be able to see all apps.
in general, RBAC in Splunk works like Union, so AB = (A U B)

0 Karma

rglennacn
New Member

@adonio thank you for your response. I am looking into this, and it does look like it might be at least part of the solution.
Just so I'm clear, if one were to modify the local.meta file for a role associated with (in our case) the Add-on for GCP, would those logs only be available in the Search & Reporting (i.e. default search) app for users with that role?
We will have multiple workloads (managed by distinct teams and with varying levels of confidentiality), and the logs generated by these workloads must be isolated to the development teams.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...