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!

Monitoring MariaDB and MySQL

In a previous post, we explored monitoring PostgreSQL and general best practices around which metrics to ...

Financial Services Industry Use Cases, ITSI Best Practices, and More New Articles ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Splunk Federated Analytics for Amazon Security Lake

Thursday, November 21, 2024  |  11AM PT / 2PM ET Register Now Join our session to see the technical ...