How to Add a Script to a Playbook

Use the steps here to add a script to your playbook logic.

Overview

Playbooks can run a script (when certain conditions are met).

This article describes how run a script from a playbook.

Before Getting Started

Supported UTF-8 Scripts

  • If you are using a UTF-8 script, ensure you load a UTF-8 script
  • Do NOT attempt to load a UTF8-BOM script. UTF8-BOM scripts are not supported.

How to Add a Script to the Spirion Console

Use the following steps to add a script to the Spirion Console.

In Spirion Sensitive Data Platform:

  1. From the left side navigation menu, click Settings at the bottom of the menu.
  2. Select Script Repository from the navigation menu.
  3. Click the blue Actions button at the far right.
  4. Select Add Script from the drop-down menu that appears.
  5. Fill in the Custom Script Details:
    • Enter a Script Name
    • Enter a Script Description
      • What does the script do and when?
    • Next to Upload Script, click the magnifying glass to select the script you want to upload
  6. Select Save.
  7. Toggle the switch under Script Status from grey to blue to activate it.

How to Add a Script to the Playbook

Use the following steps to add a script to the Spirion Console.

From Spirion Sensitive Data Platform:

  1. Navigate to Scans.
  2. Select Scan Playbooks.
  3. Select the playbook you wish to add the script to, or select Add Playbook.
  4. In the Action box, click the drop-down menu and select Execute Script. See the screenshot below:
  5. Select the script (saved from the above section) from the drop-down menu. See the screenshot below:


Was this article helpful?