Splunk Search

Why is the map command a risky command?

munang
Path Finder

Other than poor speed and performance, is there a reason why the map command is considered dangerous?

The official documentation says that the map command can result in data loss or potential security risks. But I don't see any details.

Why?

 

https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Map

 

munang_0-1725276106382.png

 

Labels (2)

munang
Path Finder

hello.  @vigneshnarendra 

So I'm curious about why maps are dangerous.

In some cases system data may be lost. I would like to know the detailed reason why it is possible.

0 Karma

vigneshnarendra
Explorer

HI @munang.

The risky command warning is only a safeguard for many commands which could be a potential risk if users run them without knowing what they are doing.

https://docs.splunk.com/Documentation/Splunk/9.3.0/Security/SPLsafeguards

You could set commands.conf as below and restart splunk to remove the warning.

[<your_command_name>]
is_risky = false

 

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...

Major Splunk Upgrade – Prepare your Environment for Splunk 10 Now!

Attention App Developers: Test Your Apps with the Splunk 10.0 Beta and Ensure Compatibility Before the ...

Stay Connected: Your Guide to June Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...