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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...