You can create your own task library such that the output of the task is shown as the last line of the output. This means, only the last line of the output, of the executed task, will be seen in Privileged Task Management logs. These tasks can run on a Windows or Unix asset by specifying the respective asset type. You may click on the History button to view the history of a job and see the output for the task in the logs as per your choice. To add task library for SSH/PowerShell/Telnet to get last line of the output, you need to perform below recommended steps:
- Login to the system and select PAM from the product navigator.
- Go to Manage → Task Library → + Add Task Library
- Select the Base Access Type → SSH/PowerShell/Telnet
- Provide the command that needs to be configured as a task.
- Select Log Display option → Display Last Step Output
- Provide tags if necessary and fill in the details.
- Click on Save.
For telnet command execution, you need to make sure that the port no of asset should be default telnet port i.e. 23.