Security

Splunk add role

asarolkar
Builder

I want to create a user with more privileges (Capabilities) than a power role but less than an admin role.

If you go to Manager > Access roles > Roles, you can create a new role and configure it as you wish.

There are several ways to go about it from a sysadmin point of view.

  1. You first define a new role under Selected roles and call it admin_lite.

  2. Im unsure of the approach to take to configure this new role :

The first approach says I do not need the new role to inherit admin, power or user.

The second approach says I inherit power and NOT add any capabilities on top of that.

Is it necessary for us to define an inheritance when creating a new role ? Inheritance merely gives you a set of capabilities and you cannot add new capabilities outside of what is CUSTOM to the "power" or the "user" inheritance.

Q. What are the advantages to picking an inheritance / or just not picking one ? How would you set "inheritance" and "capabilities" ?

This is a best practices question. Because of the nature of this hybrid role, which we want to custom-define, we need to understand how inheritance/capabilities work.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

First, if you modify the "lower" role from which you inherit, your new role will inherit the changes automatically. This would not be the case if you create one from scratch. Second, inheriting a role inherits "allowed indexes" as well as the capabilities.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner   Watch on demand us for a demo-driven ...