Create a Local Script (Remediation) Action

To create a remediation action:

  1. Access the Create Action pane. See Create and Modify Actions inActions.
  2. Select Run a script or executable on problematic Nodes in the Create Action pane and click OK.
  3. After entering a name for the action, in the field that terminates the Relative path to script entry, enter the rest of the path to the executable script.Remediation scripts must be stored in a sub-directory of the machine agent installation. The sub-directory must be named local-scripts. These paths are all valid:
    CODE
    ${machine.agent.directory}/local-scripts/runMe.sh
    ${machine.agent.directory}/local-scripts/johns_scripts/runMe.sh
    ${machine.agent.directory}/local-scripts/ops/johns_scripts/runMe.sh
  4. In Absolute paths to log files, enter each log file that the action should collect. If remediation log-path validation is enabled on the target Machine Agent, each path must resolve within a directory configured in that Agent's local allowlist. A rejected path is not uploaded, but rejection alone does not fail an otherwise successful action. Review the Machine Agent log for rejection details. See Machine Agent Configuration Properties.
  5. Enter the timeout period for the script process in minutes.
  6. To mandate an approval before the script action can be started, select the Require approval before executing this Action check box and enter the email address of the individual or group that is authorized to approve the action. See Actions Requiring Approval for more information.