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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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