Scripts Library

The Scripts library contains a listing of all scripts that are currently stored and available for use within a task.

This includes the out of the box scripts that can be used for common code execution like resetting or rotating Windows or Linux passwords as well as any custom scripts that have been created by System Administrators.

When configuring a Task, only scripts that are created and stored in the Scripts library will be available for use.

Any user who has been granted the global System Administrator role may access and modify the contents of the Script Library, located at Administration > Scripts.

Any user who has been granted the global Auditor role may access but not modify the contents of the Script library.

Creating Custom Scripts

Adding your own scripts to the system’s Scripts library allows you to incorporate your custom code with PAM’s automated, policy driven task engine.

To create your own scripts, navigate to Administration > Scripts and click the Create button. Enter the values as needed into the available fields and click Save to complete the creation process.

Script Name

Enter a name for your custom script

Description

Enter a description for your custom script

Job Execution Strategy

Select the job execution strategy that will be used to execute the custom code. The selected value is usually representative of the device, service or endpoint that the code will be executed against.

Custom Code

Enter your custom code or script into this field.

Editing Existing Scripts

To edit an existing script, navigate to Administration > Scripts and click the Edit button for the desired script. Make the necessary changes and click the Save button to complete the edit operation.

When working with one of the “out of the box” scripts, you can use the Factory Default button to restore the script and its configuration to its default, shipped state, overwriting any changes that have been made to this script.

Click the Save button after using this option.

TIP: PAM comes “out of the box” with many prebuilt scripts. While it is possible to edit or delete any of these scripts, we recommend that you create new scripts rather than editing or deleting them.

Deleting Existing Scripts

To delete an existing script, navigate to Administration > Scripts and click the Delete button for the desired script. 

Scripts that are currently assigned to a task or are in-use cannot be deleted.

TIP: PAM comes “out of the box” with many prebuilt scripts. While it is possible to edit or delete any of these scripts, we recommend that you create new scripts rather than editing or deleting them.