Splunk SOAR

Installing pandas to use in Splunk SOAR

hiepdao
Engager

Hello team,

We want to run some custom code inside Splunk SOAR that utilize the pandas python package.

We can already install the pandas and use it using the below commands:

 

sudo su - phantom
 
/opt/phantom/bin/phenv pip install pandas

 

After installing we can use pandas in custom functions just fine.

 

I want to ask if this is good or can it lead to any compatibility issue in the future? (e.g. SOAR upgrades)

 

Thanks in advance!

Labels (1)
0 Karma

phanTom
SplunkTrust
SplunkTrust

@hiepdao whilst on-prem it should be fine but you may need to check if the lib ever needs an update. 

The best practise, especially if you ever move to Cloud SOAR, would be to create an app for the actions requiring pandas and then package the pandas .whl file as a dependency to make it more portable. 

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...