Getting Data In

Can I create an admin role that doesn't have access to delete_by_keyword?

tchimento
New Member

There are regulatory guidelines for some institutions, such as banks, that put strict limits on the option to delete data. I need to have that limit.

0 Karma

tchimento
New Member

In the Web UI under Settings > Access controls > Roles > New Role, create a role called subadmin [or name of your choice]. In the Capabilities section select ‘add all’ in the Available capabilities.

Next, under the Selected capabilities panel remove:

• delete_by_keyword
• edit_roles

If there are any other capabilities you want to remove from the subadmin role, return them to the Available capabilities panel.

Edit the $SPLUNK_HOME/etc/system/local/authorize.conf file [DO NOT change the $SPLUNK_HOME/etc/system/default/authorize.conf] by adding this entry under the [role_subadmin]:

[role_subadmin]
grantableRoles = subadmin

Save the changes, go back to Access controls > Authentication method and select the ‘Reload authentication configuration’. This will read the Authorize.conf file and apply the changes above.

Assign all the admins to this new role (subadmin) who should not have the ability delete data or to let anyone else delete data. These users will not have that option [delete_by_keyword] in their list of capabilities, nor will they have the role ‘can_delete’.

0 Karma

tchimento
New Member

Also note that you MUST keep edit_grantable_roles in the new admin account. That replaces the edit_roles that was disabled/unselected.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

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 ...