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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...