Splunk Enterprise

How to create a role to managge risky command

silverKi
Path Finder

I want to create a custom role to manage splunk risky commands. I looked for configuration files related to risky commands and found that it is related to web.conf command.conf file and I found that you can disable risky commands by setting [command] is_risky=false in command.conf file. What I want is to give a role to manage risky_command so that I can get different search results than other users. I wonder if it is possible to create such a role.

Tags (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@silverKi- As @richgalloway mentioned it is not possible to do it for particular role or user.

But you can disable risky for particular command or for all commands.

Reference document - https://docs.splunk.com/Documentation/Splunk/latest/Security/SPLsafeguards

 

I hope this helps!!!

0 Karma

silverKi
Path Finder

Thank you for your reply.. And I have one more curious things.

I mentioned you because I had additional questions. I would like to know which file each role's functionality maps to and which path it is. Currently, I have created a new role-Capability called manage_risky_commands and the operation method has not been mapped yet.


 manage_risky_commands.png

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What you seek to do is not possible.  The contents of commands.conf apply to all roles.

Management of the commands.conf file is not controlled by role.  It is governed by whatever process your organization has for controlling CLI access to the Splunk server(s).

---
If this reply helps you, Karma would be appreciated.
0 Karma

silverKi
Path Finder

@richgalloway @VatsalJagani 

Thank you for your reply.. And I have one more curious things.

I mentioned you because I had additional questions. I would like to know which file each role's functionality maps to and which path it is. Currently, I have created a new role-Capability called manage_risky_commands and the operation method has not been mapped yet.
manage_risky_commands.png

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...