From f018f68e46f55267120fe74a2f1162c8c794cc4b Mon Sep 17 00:00:00 2001 From: Katheryn Satterlee Date: Thu, 21 Mar 2024 13:50:18 -0500 Subject: [PATCH] Update script execution documentation (#17147) Removed reference to **Scripts** tab and added instructions for accessing the **Run Script** modal from the host detail page. # Checklist for submitter Docs-only change --------- Co-authored-by: Brock Walters <153771548+nonpunctual@users.noreply.github.com> Co-authored-by: Rachael Shaw --- docs/Using Fleet/Scripts.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/Using Fleet/Scripts.md b/docs/Using Fleet/Scripts.md index 5ed888688b..64b9957fff 100644 --- a/docs/Using Fleet/Scripts.md +++ b/docs/Using Fleet/Scripts.md @@ -30,7 +30,11 @@ Fleet UI: 2. Head to the **Hosts** page and select the host you want to run the script on. -3. On your target host's host details page, select the **Scripts** tab and select **Actions** to run the script. +3. On your target host's host details page, select the **Actions** dropdown and select **Run Script** to view the **Run Script** menu. + +4. In the **Run Script** menu, select the **Actions** dropdown for the script you'd like to execute and choose the **Run** option. + +Scripts run from the Fleet UI will run the next time your host checks in with Fleet. You can view the status of the script execution as well as the output in the target host's activity feed. Fleet API: API documentation is [here](https://fleetdm.com/docs/rest-api/rest-api#run-script)