Managing scheduled actions and action history
You can use the Scheduled Actions page to view details about actions that are scheduled and use the Action History page to view details about actions that are completed or in progress. Both pages enable you to perform administrative tasks for actions, such as redeploying or editing them.
Scheduled actions overview
The Tanium Server creates a scheduled action when you deploy an action from the Question Results page and specify a Start At date (instead of deploying immediately) or set the Schedule Type to Recurring Deployment. A scheduled action configuration has the following components:
-
Package. For information, see Managing packages for platform actions.
-
Schedule settings, which include start times, end times, reissue intervals, and distribution periods. For information, see Configure action settings.
-
Deploying actions and playbooks in Console and Interact that specify which endpoints run the action.
Only simple (non-ring-based) actions can have future start dates or reissue intervals, and only simple actions appear on the Scheduled Actions page. To view and manage adaptive (ring-based) actions, see Managing ring deployments.
The Action History page lists scheduled or unscheduled (one-time deployment) actions after they deploy for the first time.
Predefined scheduled actions
Certain Tanium solutions provide scheduled actions that target the Default action group, which includes only the No Computers computer group. You must assign other action groups to those actions before they can deploy to endpoints. For more information, see Reconfigure action groups that target No Computers. For information about the action groups for particular solutions, see the user guides for those solutions at the Tanium Resource Center.
Scheduled actions with parameterized packages
A parameterized package requires input (parameters) from users before the package can run on endpoints. For more information about parameterized packages, see:
For more information about the impact on scheduled actions when a parameterized package configuration is updated, see Scheduled action with parameterized package.
Manage scheduled actions
Perform the following steps to manage simple actions that have a future start date or that recur at intervals. To create a new scheduled action, see Deploying actions and playbooks in Console and Interact.
To reduce resource use on the Tanium Server and Tanium Clients, review scheduled actions on a quarterly basis and delete any that are no longer useful or that duplicate other actions. For more information, see Review and update scheduled actions.
Update action packages
When you update Tanium modules, shared services, or content-only solutions, the Tanium Server imports any packages that are associated with those solutions. After updating solutions, perform the following steps to verify whether any scheduled actions use updated packages and then update the actions.
Export actions
Export actions as a file in the format required for your workflow:
-
CSV
You can use any application that supports CSV format to display the same action attributes (columns) as the Console Scheduled Actions or Action History grids show and then customize the display. For example, you can use Microsoft Excel to create charts based on action attributes.
-
JSON
You can export multiple action configurations as a JSON file. Exporting configurations is useful if you want to import them into another Tanium environment. For example, you might test actions in a lab environment to ensure that they work as intended before importing the actions into your production environment. You must be assigned a role with the Export Content permission to export a JSON file. If you have Import Signed Content permission, you can then import the file into another Tanium Server. The Administrator reserved role has export and import permissions.
Note: The export file excludes non-recurring actions that are in progress or expired.
Perform the following steps to export actions:
Import actions
Importing is useful if you want to copy action configurations from another Tanium environment. For example, you might test custom actions in a lab environment to ensure that they work as intended. You can then export the actions from the lab environment and import them into your production environment. You can import actions and other content as a JSON or XML file.
You must be assigned a role with Import Signed Content permission to import content files.
Manage actions that are completed or in progress
The Action History page provides a chronology of actions that are in progress or completed. The page shows only actions that have been approved (if approval is required) and have deployed at least once in the last 30 days. You can use the page to show action details (such as status and issuer), display action log data, stop actions that are in progress, and reissue actions.
View status for simple actions
The Action Status page displays details about simple actions that are completed or in progress, and enables you to:
-
Edit action settings: Click Edit Action beside the Source ID. For more information, see Configure action settings.
-
Re-download package files associated with an action: Click Status beside Files.
-
View the Managing packages for platform actions of the package that is associated with the action: Click View beside Files.
-
Investigate action-related issues through logs: Click Show Client Status Details, select up to 50 endpoints in the preview list, and click Get action log for selected machines.
The Action Status page uses the same naming convention for adaptive actions as the Action History page, as described in Before you begin. Use the Ring Deployment Status page to view the status of adaptive actions, as described in Analyze and manage a single deployment.
The Action Status page shows accurate values for the States of machines (action status on endpoints) only for actions that deployed in the last 7 days. The state counts all show as 0 for actions that deployed before that timeframe.
The Action Status page opens automatically when you deploy an action immediately instead of setting a Start At date-time in the action configuration. For any scheduled action that has deployed at least once, you can also open the page from the page by selecting an action and clicking Show Status. If you select multiple actions, the Action Status page displays a separate Action Summary for each action.
Action states
The Tanium Client reports the following states when it receives a simple action that targets the Client. You can monitor the progression of an action through these states in the Action Status page.
|
Action State |
Description |
|---|---|
|
Waiting |
This is the initial state of an action that has a non-zero Distribute over value. If Distribute over is zero, the action skips the Waiting state. An action in the Waiting state waits for a random amount of time up to the Distribute over value before proceeding to the next state. |
|
Downloading |
The Client is downloading package files if the action requires them. Otherwise, the Client skips the Downloading state and enters the Running state. An action in the Downloading state proceeds to the next state when one of the following events occurs:
|
|
Running |
The Client is running the Command that is configured in the associated package. The action proceeds to the next state when one of the following events occurs:
|
|
Completed |
The command finishes executing. This state applies regardless of whether the command produced the expected results. For example, a command might finish executing but generate errors. If the package specifies Verification Exit Codes or a Verification Query (to verify the results), the next state is Pending Verification. Otherwise, Completed is the final state. |
|
Expired |
This is the final state if the Client reaches the action timeout before finishing one of the following processes:
|
|
Failed |
The action enters this state if one of the following events occurs:
Failed is a final state. |
|
Pending Verification |
The action proceeds from the Completed state to the Pending Verification state if the associated package specifies Verification Exit Codes or a Verification Query. The Client then performs the verification to determine whether the package ran successfully:
|
|
Verified |
The action proceeds from the Completed state to the final Verified state if the associated package specifies Verification Exit Codes or a Verification Query and the verification indicates success. |
|
Failed Verification |
The action proceeds from the Completed state to the final Failed Verification state if the associated package specifies Verification Exit Codes or a Verification Query and the verification does not indicate success. |
Investigate action-related issues through logs
The Tanium Client generates action logs to record the CLI output associated with action commands. You can display the log records to investigate issues related to an action. To display the records, you require the Sensor read permission on the Client Management content set. Perform the following steps to display the log records for an action.
Track action IDs
The Tanium Server assigns an action ID to each action that you deploy. Knowing the ID is useful when you want to see details about an action. For example, to investigate unexpected outcomes related to actions (such as package scripts that failed to run), you can use action IDs to find and review actions logs and action history log entries. Tanium Console displays action IDs in multiple places.
View action IDs on Tanium Console
-
Action History page: For actions that have deployed at least once, go to and view the action ID column.
Figure 5. Action ID on the Action History page -
Scheduled Actions page: For actions that are recurring or have a future start date, go to and view the ID column, which is hidden by default. To show the column, click Customize Columns
and select ID.
-
Action Status page: The Action Status page displays the Action ID in the Details section. For more information, see View status for simple actions.
Figure 6. Action ID on the Action Status page
Navigate Tanium Client logs by action IDs
On managed endpoints, the Tanium Client displays action IDs in log files. In the following file paths, <Tanium Client> represents the Tanium Client installation directory.
-
Action logs: In the <Tanium Client>\Downloads folder, each action log contains the associated action ID in its file name. For more information, see Review action logs and associated files to troubleshoot actions and packages.
Figure 7. Action ID in action log file name -
Action history logs: In the <Tanium Client>\Logs folder, action history logs identify actions by their IDs in the log contents. For more information, see Review action history logs to troubleshoot or audit actions.
Figure 8. Action ID in action history log