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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...