Security

How to create a user role with capabilities to manage users and roles in Splunk Web, but have no other admin capabilities?

andrey2007
Contributor

Hello Splunkers

I need to assign a special role to a user to manage users and roles. Which capabilities should I delete from an admin role to prevent it from managing users and roles through Splunk Web?
Also, which capabilities should I add to a user role to manage users and roles, but have no more admin capabilities?

Thanks for all answers

0 Karma

effem
Communicator

In Addition to the capabilities, you need to make the manager endpoints readable in the metadata of the search-app:

[manager]
access = read : [ splunk_developer, admin, splunk_analyst ], write : [ splunk_admin, admin]
export = system

[manager/accesscontrols]
access = read : [ splunk_admin, admin ], write : [ splunk_admin, admin ]

richgalloway
SplunkTrust
SplunkTrust

I believe you want to assign the edit_roles and edit_user capabilities to the security manager role (and remove them from the admin role). You can see descriptions for all capabilities at http://docs.splunk.com/Documentation/Splunk/6.3.1511/Security/Rolesandcapabilities

---
If this reply helps you, Karma would be appreciated.
0 Karma

andrey2007
Contributor

Hi, richgalloway

if I add some capabilities to user roles I do not see Access Control section in Settings menu at all

0 Karma

richgalloway
SplunkTrust
SplunkTrust

So I see. I don't know how to fix that.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

After consulting an instructor and experimenting, I came up with a work-around. Bookmark the Access Controls page and give that bookmark to the access manager. Once he uses that link to get to the page he should be able to edit users and roles.

---
If this reply helps you, Karma would be appreciated.
0 Karma

andrey2007
Contributor

I created new role by adding "edit users" and "edit roles" capabilities to user role and created user with this role after that I followed link to edit users and edit roles peges.
It really works this way but only for "Edit users" tab and [Processing error] "Default app inherited from" column at admin user little confuse me.
Tab "Edit users" opens with error message "There was an error retrieving the configuration, can not process this page."

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...