Splunk Dev

Is there a way to compile a custom alert python script?

kingjeo2
New Member

Hi, I wanna ask if there is a way to obfuscate/hide a python code that works on Splunk? Tried Cython and py_compile to no avail. Or am I just doing it wrong? Any help would be greatly appreciated. Thank you very much!

Labels (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@kingjeo2

Have tried this?

SPLUNK_HOME/bin/splunk cmd python <<PYTHON_FILE_PATH>>

0 Karma

kingjeo2
New Member

Hi, what does that do exactly? Thanks.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...