After the future removal of the classic playbook editor, your existing classic playbooks will continue to run, However, you will no longer be able to visualize or modify existing classic playbooks.
For details, see:
Platform installation for Python 3
The Splunk SOAR installation includes a Python 3 runtime environment.
If you are developing an app, supports apps written in Python 3. Python 2 is not supported for Splunk SOAR (On-premises) deployments later than release 5.3.4.
Splunk does not support custom Python packages.
Python installation path
Only Python 3 is included in the platform installation.
- The path to Python 3 is
<SOAR_HOME>/usr/python39/bin/python3.9
. - For Splunk SOAR (Cloud) installations,
<SOAR_HOME>
is/opt/phantom
.
A symlink to <SOAR_HOME>/opt/phantom/usr/bin/python3
is included for convenience. Splunk SOAR (Cloud) uses this symlink to access Python.
Pip installation path
Pip 3 is included in the platform for installing Python 3 packages.
Pip 3 is included in <SOAR_HOME>/usr/python39/bin/pip3
.
A symlink to pip 3, <SOAR_HOME>/usr/bin/pip3
is included. Splunk SOAR (Cloud) uses this symlink to access pip 3.
App development script installation path
This entire section refers to scripts and CLI/SSH items which are not available in Splunk SOAR (Cloud).
The following scripts and commands are included in the platform for developing Python 3 apps:
create_tj.pyc
create_output.pyc
phenv compile_app
command
Compatible Python 3 scripts
Scripts that are compatible with Python 3 are included in the following location:
- For Splunk SOAR (Cloud) deployments,
<SOAR_HOME>
is/opt/phantom
. - For Splunk SOAR ((On-premises) privileged deployments prior to release 5.4.0,
<SOAR_HOME>
is/opt/phantom
. - For Splunk SOAR (On-premises) unprivileged deployments,
<SOAR_HOME>
is configured by your Splunk SOAR Administrator. - The path to scripts is
<SOAR_HOME>/bin/<script>
.
Run the scripts using phenv python3
as follows:
[phantom@phantom phipinfoio]$ phenv python <SOAR_HOME>/bin/<script>.pyc
Map Template | Convert apps from Python 2 to Python 3 |
This documentation applies to the following versions of Splunk® SOAR (On-premises): 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.3.0, 6.3.1
Feedback submitted, thanks!