Splunk SOAR

How to install dependencies in SOAR Cloud Custom App

annielee
Explorer

Hi,

I am now adding a new action "ingest excel" to the existing SOAR App CSV Import. Two dependencies are required to be installed for this action: pandas and openpyxl.

However, after adding the dependencies in App Wizard, it still show me the output 

ModuleNotFoundError: No module named 'pandas'

I found that in the app JSON, my dependencies in only added to "pip_dependencies" , but not  "pip39_dependencies". Is that the reason why dependency is not installed?

Please advise. Thank you.

 

annielee_3-1737443217663.png

 

annielee_1-1737443157875.pngannielee_2-1737443187652.png

 

 

Labels (1)
0 Karma
1 Solution

annielee
Explorer

Hi,

I finally solved this issue by downloading the source code from Splunkbase and manually moving the wheel file to the path: wheels/py3/. Then, I tarred the source code and installed it to SOAR Cloud.

The JSON file is also updated with the following configuration.

annielee_1-1737713266988.png

annielee_0-1737713248166.png

 

View solution in original post

0 Karma

annielee
Explorer

Hi,

I finally solved this issue by downloading the source code from Splunkbase and manually moving the wheel file to the path: wheels/py3/. Then, I tarred the source code and installed it to SOAR Cloud.

The JSON file is also updated with the following configuration.

annielee_1-1737713266988.png

annielee_0-1737713248166.png

 

0 Karma

phanTom
SplunkTrust
SplunkTrust

@annielee have you tried using the relevant .whl file for the 2 libs and adding to the app as a wheel dependency? 

--- Hope this helped? Happy SOARing! ---

0 Karma

annielee
Explorer

Yes. The result is the same.

annielee_0-1737451168789.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!

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 ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...