Scripts

You can customize playbook functionality using the Script Action block.

Go to Settings >> SOAR Settings from the navigation bar and click Scripts to view, add, edit, and delete SOAR_based scripts. Currently, you can only use Python scripts.

../_images/LP_SOAR_SOARSettings_Scripts.png

Python Scripts Page

Adding a Script

  1. Go to Settings >> SOAR Settings from the navigation bar and click Scripts.

  2. Click Add New Script.

../_images/LP_SOAR_SOARSettings_Scripts_Add_Script.png

Adding a Script

  1. Enter the Script Name and Description.

  2. The Script Language is selected by default as Python.

  3. Click Edit Python Script, edit the script, and click Save.

    ../_images/LP_SOAR_SOARSettings_Scripts_Add_Script_Code_Screen.png

    Editing the Script

You can test the output of the script by clicking Test.

../_images/LP_SOAR_SOARSettings_Scripts_Add_Script_Test.png

Testing the script

  1. Enter the Input Parameters and Output Parameters. You can add multiple input and output parameters.

  2. Click Save.

Editing a Script

  1. Go to Settings >> SOAR Settings from the navigation bar and click Scripts.

  2. Click the (Vertical_dots) icon and click Configure.

  3. Edit the information.

  4. Click Save.

Cloning a Script

  1. Go to Settings >> SOAR Settings from the navigation bar and click Scripts.

  2. Click the (Vertical_dots) icon and click Clone.

  3. Enter the name for the cloned script.

  4. Click Save.

Exporting a Script

  1. Go to Settings >> SOAR Settings from the navigation bar and click Scripts.

  2. Click the (Vertical_dots) icon and click Export.

Deleting a Script

  1. Go to Settings >> SOAR Settings from the navigation bar and click Scripts.

  2. Click the (Vertical_dots) icon and click Delete.

  3. Click Delete to confirm.


Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support