Endpoint automation
What is endpoint automation?
Endpoint automation allows you to remotely execute scripts across multiple endpoints simultaneously without needing to start a support session, streamlining administrative tasks and improving efficiency.
How is endpoint automation useful to my organization?
Endpoint automation simplifies the management of multiple systems by enabling the automated execution of scripts, reducing the need for manual intervention and ensuring consistent updates and configurations across all endpoints.
Note
The endpoint automation feature is only available to service mode Jump Clients with an active connection on Mac, Windows, or Desktop Linux.
How do I access the Endpoint Automation page?
- Sign into app.beyondtrust.io.
The BeyondTrust Home page displays. - From the left menu, click Remote Support > Endpoint Automation.
The Endpoint Automation page displays.
Jobs tab
Note
While you can begin by creating a job directly, you may find it more efficient to start by adding resource files, then creating script templates.
The Jobs tab lets you create a job and shows a list of previously created jobs.
-
Search the list by job name.
-
Select one or more tags to filter the list.
- If you have at least one tag selected, check Last created job for selected tags to show only the most recently created job for each applied tag.
-
To hide jobs from the initial view, click Hide Jobs.
- Select one or more jobs to hide, then click Hide Selected Job(s).
- Cancel Hide Jobs cancels the current operation but leaves any previously hidden jobs as hidden.
- Now, you can filter jobs by Active, Hidden, or All.
- From the Hidden view, click Unhide Jobs to select jobs to return to active status.
- You can also show or hide a job by clicking
, then selecting either Hide or Unhide.
-
Click
to refresh the view.
-
Click
to choose which columns to view.
Note
The length of time finished job data remains on the appliance can be configured on the Security page.
Create a job
-
Click Create job.
-
Enter a name for the job.
-
Select the starting date and time. To run a job immediately, select the current date and time.
-
Create a tag to help sort and filter jobs.
-
Enter any notes if you would like to record more information about this job.
-
Select an existing script template and modify the fields as needed, or complete the following:
- Select the operating system. Scripts are usually specific to operating systems.
- Complete the run script command.
- Enter the script.
- If needed, add a resource to the script. Click Add Resource and select a previously added resource, or click Add External Resource and provide a filename and URL.
-
Now enter the search criteria for your endpoints. For more information about each option, click the i icon beside it. You must click Search Jump Clients before any endpoints become available. Remember that you will see only endpoints with the same operating system as designated by the script above.
-
From the list of search results, choose which Jump Clients to add to the job.
- Select specific Jump Clients and then click Add Selected Jump Clients to Job, or
- Click Add All Jump Clients Search Results to Job.
Modifying the search criteria updates the results without removing any Jump Clients you have already added.
-
The list of Jump Clients selected for the job appears at the bottom of the screen.
-
To remove Jump Clients from a job, select their check boxes in the Selected Endpoints list, then click Clear selected Jump Clients.
-
Once the list of Jump Clients for the job is complete, click Run job.
-
You can immediately view the job in the jobs list.
- If a job fails to start, it retries for up to 7 days.
- Only one job at a time can run on an endpoint.
- Job statuses are:
- Pending: The server is waiting to schedule the job until certain conditions are true.
- Scheduled: The job has been sent to the endpoint.
- Running: The endpoint has notified the server that the script has started.
- Finished: The endpoint has notified the server that the job has finished, or the server has declared it finished after it exceeded a timeout.
- There are also several finished types:
- Success: The script completed.
- Error: The script returned an error, or an internal error occurred at the endpoint.
- Canceled: A user canceled a pending job.
- Timed out: The job exceeded the timeout period.
- Ping timed out: The job failed to ping the server within the ping timeout period.
- Endpoint offline timed out: The endpoint was not online within the timeout period.
- Endpoint removed: The Jump Client was removed after the job was created, meaning the script could not be completed.
-
To cancel a pending job, click
, then select Cancel Pending Endpoint Jobs.
- Canceling a job doesn’t stop the process; it just prevents it from starting.
View job details
- For more information about a job, click
, then select Details.
- Details shows you all the information about the job in a static, non-editable form. In addition to the fields defined when the job was created, details include who created the script and when, when the script finished running, and if the script was cancelled.
- A table at the bottom of this page lists all jobs, which can be filtered by Successful, Failed, or All. The All view includes pending and running jobs.
- Click
to refresh the view.
- Click
to choose which columns to view.
- Click
- Click Download Report to download the output tail either as a CSV or a text file. This provides a high level overview of the results of completed scripts.
- For more details about a finished job on a specific endpoint, click
. This opens a modal window that shows the exit code, the log file path, any error codes, and the output tail, which may be useful for diagnosing errors.
Duplicate a job
- To duplicate a job, click
, then select either Duplicate With All Endpoints, Duplicate With Unsuccessful Endpoints, or Duplicate With Successful Endpoints.
- This creates a new job with all fields identical to the previous job. You can modify these fields before running it.
- If you select Duplicate With All Endpoints, the same endpoints will be automatically selected.
- If you select Duplicate With Unsuccessful Endpoints, only endpoints that failed the previous job are selected.
- If you select Duplicate With Successful Endpoints, only endpoints that succeeded with the previous job are selected.
- You can modify the selected endpoints before running the job.
- Once you have made any desired modifications, click Run job.
- You can immediately view the job in the jobs list.
- To cancel a pending job, click
, then select Cancel Pending Endpoint Jobs.
Script templates tab
The Script Templates tab lets you create a script template and shows a list of previously created script templates.
-
You can search the list by script name.
-
Click a column header to sort by that field.
-
Click
to choose which columns to view.
-
Click
to edit a script template.
-
Click
to delete a script template.
Create a script template
- Click Create Script Template
- Enter a name and description for the script.
- Create a tag to help sort and filter jobs.
- Select the operating system. Scripts are usually specific to operating systems.
- Complete the run script command.
- Enter the script.
- If needed, add a resource to the script. Click Add Resource and select a previously added resource, or click Add External Resource and provide a filename and URL.
- Save the script template.
- You can immediately view the script template in the list of templates and can select it when creating a job.
Note
We provide a default command compatible with all operating systems, along with a specific command for PowerShell. In the PowerShell command, the -ExecutionPolicy Unrestricted option is set by default. This temporarily changes the execution policy to Unrestricted for the duration of the script.
Resources tab
The Resources tab lets you upload resource files for use in endpoint automation jobs and shows a list of previously uploaded resources.
- You can search the list by resource name.
- Click a column header to sort by that field.
- Click
to choose which columns to view.
- Click
to download a resource file.
- Click
to delete a resource file.
Note
If a resource is in use, it cannot be deleted.
Add a new resource
- Click Choose and Upload Resource to select a new resource.
- Navigate to the file, and then click Open.
- You can immediately view the resource in the list of resources and can select it when creating a script template or a job.
Note
The maximum resource storage size is 1 GB by default and can be configured on the Security page.
Updated 10 days ago