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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...