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.

Note: For the user role permissions that are required to manage actions and view action history, see Action management permissions.

Scheduled actions overview

Tanium Cloud 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:

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 action deployments and playbook runs.

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 https://help.tanium.com.

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.

Note: Adaptive actions cannot have future start dates or reissue intervals, and therefore the Scheduled Actions page does not list them. If you use the Action History page to reissue an adaptive action, the reissued action becomes a simple action, even though its name on the Scheduled Actions page is Ring Deployment (ID: <deployment ID>, Ring Index: <ring index>).
Note:

To reduce resource use on 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 Tanium Maintenance User Guide: Review and update scheduled actions.

Do not delete the predefined scheduled actions that Tanium solutions provide. When Tanium Cloud imports solution updates, the update process restores any predefined actions that users deleted.

  1. From the Main menu, go to Administration > Actions > Scheduled Actions.
  2. (Optional) To find specific actions, configure any of the following filters.
    Table 1. Filtering options for scheduled actions

    Filter by

    Description

    Text string

    Filter the grid by any value text in any column by entering a text string in the Filter items field.

    Date Range

    Filter the grid to display only actions for which the Next Issue Time is within a specific future date range, such as the next 24 Hours. The default All means no date range filter is applied.

    Source Package

    The default All specifies that the grid shows all actions regardless if the settings in their associated packages changed after the actions were last issued or saved. To show only actions that have changed package settings, click Has Updates. In the Source Package column, clicking Update Source Package Refresh opens the Edit Action page, where you can update the package that is associated with the action. For more information, see Update action packages.

    Action group

    Add one or more action groups as a filter by selecting one at a time in the Select Action Group drop-down.

    Attribute (column)

    Expand Expand the Filters section, select an action attribute (such as Issuer), select an operator (such as is equal to), enter an attribute value (such as Administrator), and click Apply Apply. For each additional filter, click Add, select Add Row, and configure the filter. Boolean AND logic applies if you configure multiple filters.

    Note: The Status attribute indicates whether the action is enabled or disabled. For the action status that Tanium Clients report after running an action (such as Completed or Failed), see View status for simple actions.
  3. Select the actions that you want to manage.
    Tip: To export all actions, you can skip this step.

    Action buttons for administrative tasks appear above the grid and in the Source Package column. The available buttons depend on the row you select. For example, the Status column displays a green check mark Enabled to indicate enabled actions and a red minus Disabled to indicate disabled actions. When you open the More dropdown list for an enabled action, the options include Disable Action, but not Enable Action. If the status column indicated a disabled action, the More list would include Enable Action but not Disable Action.

    Figure 1. Scheduled Actions page
    Scheduled Actions page
  4. Click a button or menu to perform one of the following tasks.
    Note: To stop deploying a scheduled action, you must use the More menu to disable or delete it instead of clearing the Start At and Re-issue every values.
    Table 2. Administrative tasks for scheduled actions

    Button / Task

    Guideline

    Reissue

    Opens the Reissue Action page, where you can change the name, schedule, and the action group to target before re-issuing the action. For information about these settings, see Deploying actions and playbooks in Console and Interact. If you selected multiple actions, use the Previous and Next widgets to navigate among the pages for each action.

    Tip: To use the same start time and distribution period for multiple actions in a one-time deployment, select More > Bulk Reissue instead.
    Edit

    Opens the Edit Action page. The only action settings that you can edit are the time standard (Local Time/UTC), Deployment Schedule settings, and Action Group (see Configure action settings). If you selected multiple actions, use the Previous and Next widgets to navigate among the pages for each action.

    Tip: To set the same scheduling values for multiple actions, select More > Bulk Edit instead.

    Status

    (Re-download files)

    Displays details about any files associated with the action package. You can use this dialog to re-download package files if you encountered issues with outdated files. For more information, see Re-download package files.

    Copy Options Copy

    Copies information from the selected rows to your clipboard to paste the information into a message, text file, or spreadsheet. Each row in the grid is a comma-separated value string in the copy.

    Tip: To copy information from an individual cell, hover over the cell, click Options Options, and click Copy Copy.
    More > Enable/Disable Action(s)

    Prompts you to enable or disable the action. You can click the name of an action to review its configuration in the Edit Action page before clicking Confirm to enable or disable it.

    More > Change Group

    Prompts you to select a new action group for the scheduled action.

    More > Copy Action

    Prompts you to copy the scheduled action to a new action group. You can copy only one action at a time.

    More > Bulk Reissue

    For a one-time deployment only, select this option to configure multiple actions with the same values for the following settings, and then re-issue the actions:

    • Local Time / UTC (time standard)

    • Start At date/time

    • Distribute Over period

    For a description of these settings, see Deploying actions and playbooks in Console and Interact.

    Note: If you bulk reissue multiple recurring actions, Tanium Cloud creates copies of the actions with their Schedule Type set to One Time Deployment.
    Tip: To use a different start time or distribution period for each action, click Reissue instead.
    More > Bulk Edit

    Select this option to configure multiple actions with the same values for one or more of the following settings. The bulk edit applies only to the settings that you change.

    • Local Time / UTC (time standard)

    • Schedule Type (One Time Deployment or Recurring Deployment)

    • Re-issue every interval (for recurring deployments)

    • Start At date/time

    • End At date/time

    • Distribute Over period

    For a description of these settings, see Deploying actions and playbooks in Console and Interact.

    Tip: To use different values for each action, click Edit instead.
    More > Delete

    Prompts you to delete the selected actions.

    Important: Do not delete the predefined scheduled actions that Tanium solutions provide. When Tanium Cloud imports solution updates, the update process restores any predefined actions that users deleted.

    Local Time / UTC

    Specify the time standard that the Scheduled Actions grid uses to display settings that have date/time values:

    • Local Time (default), which is local to the system that you use to access Tanium Console

    • UTC (Coordinated Universal Time)

    Refresh Refresh

    Manually refresh the Scheduled Actions grid.

    Export Export

    Export actions as a file.

    Customize Columns Customize Columns

    Select hidden columns to show them in the grid or deselect columns to hide them. Some columns are hidden by default, such as ID and Issue Count.

    Update Source Package Refresh

    This icon appears in the Source Package column only for actions that use a package that was updated after the action was initially created. Clicking the icon opens the action in edit mode to enable updating the package parameters. For more information, see Update action packages.

Update action packages

When new versions of Tanium modules, shared services, or content-only solutions become available, Tanium Cloud automatically updates those solutions and any packages that they include. Tanium notifies you when updates occur that affect packages. After packages are updated, perform the following steps to verify whether any scheduled actions use the packages and then update the actions.

Note: To review notifications about updates, see Tanium Cloud User Guide: View module installation activity.
  1. From the Main menu, go to Administration > Actions > Scheduled Actions and set the Source Package filter to Has Updates.

    The grid lists only the actions that have updated packages. Perform the remaining steps for each of those actions.

  2. In the Source Package column, click Update Source Package Refresh to edit the action.
  3. Perform one of the following sub-steps in the Deployment Package section:
    • If Tanium Console shows the original parameters, click Update Source Package and enter the new values.

    • If Tanium Console shows the message, Original package parameters cannot be displayed, you must leave the Edit action page to review the original parameters:

      1. Go to Administration > Actions > Action History, select an instance of the action that deployed before the package update, click Status, and review the package Command. The Command value shows the original parameters.

      2. Repeat the previous steps to edit the action, click Click here to continue to use updated package parameters, and enter the new values.

  4. Update other action settings, click Show Preview to Continue, and click Save Action. For more information, see Configure action settings.

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 review them outside Console in an application that supports JSON. You must be assigned a role with the Export Content permission to export a JSON file. The Admin reserved role has export permissions.

    Note: The export file excludes non-recurring actions that are in progress or expired.

Perform the following steps to export actions:

  1. From the Main menu, go to Administration > Actions and select Scheduled Actions or Action History.
  2. (Optional, CSV exports only) To add or remove attributes (columns) for the CSV file, click Customize Columns Customize Columns in the grid and select the attributes.
  3. Select rows in the grid to export only specific actions. If you want to export all actions, skip this step.
  4. Click Export Export.
  5. (Optional) Edit the default export File Name.
    Note: The file suffix (.csv or .json) changes automatically based on the Format selection.
  6. Select an Export Data option: All actions in the grid or just the Selected actions.
  7. Set the file Format to JSON (Administrator reserved role only) or CSV.
  8. Click Export.

    Tanium Cloud exports the file to the downloads folder on the system that you used to access Tanium Console.

Manage actions that are completed or in progress

Note: The Action Oversight page is an improved version of the Action History page for managing and viewing the status of Tanium Automate playbook runs, platform actions, and other deployments. For more information, see Managing action deployments and playbook runs.

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.

  1. From the Main menu, go to Administration > Actions > Action History.

    The page displays the Status of each action:

    • Open: The time window for the action has not expired. For more information about how the expiration is determined, see Deploying actions and playbooks in Console and Interact.

    • Closed: The time window has expired. If an action is reissued, the grid displays a new row based on the new start time.

    • Stopped: A user stopped the action.

    Note: For the action status that Tanium Clients report after running an action (such as Completed or Failed), see View status for simple actions.
    Tip: For each action, the Computer Groups column displays the number of computer groups in the targeted action group and whether they use Boolean AND or OR combination logic. For more information about the combination logic, see Targeting actions through action groups. To display a tooltip that lists the computer group names, hover over the entry in that column.
  2. (Optional) To find specific actions, configure any of the following filters:
    Table 3. Filtering options for actions that are completed or in progress

    Filter by

    Description

    Text string

    Filter the grid by any value text in any column by entering a text string in the Filter items field. The filter also applies to the names of computer groups in the targeted action group.

    Tip: You can filter the grid to show only adaptive actions by entering a string that reflects their naming convention: Ring Deployment (ID: <deployment ID>, Ring Index: <ring index>). To see additional details and perform additional management tasks for an adaptive action, append its ID value to the URL of the Acton Oversight page, as described in Analyze and manage a single action or playbook run.

    Date Range

    Filter the grid to display only actions for which the Start Time is within a specific past date range, such as the last 24 Hours. The default All means no date filter is applied.

    Action group

    Add one or more action groups as a filter by selecting one at a time in the Select Action Group drop-down.

    Attribute (column)

    Expand Expand the Filters section, select an action attribute (such as Issuer), select an operator (such as is equal to), enter an attribute value (such as Administrator), and click Apply Apply. For each additional filter, click Add, select Add Row, and configure the filter. Boolean AND logic applies if you configure multiple filters.

  3. Select the actions that you want to manage.
    Tip: To export all actions, you can skip this step.
    Figure 2. Action History page
    Action History page
  4. Click a button to perform one of the following tasks.
    Table 4. Administrative tasks for action history

    Button / Task

    Guideline

    Show Status

    Display the Action Status page to see additional status details, view information from action logs, or edit the package that is associated with the action. For more information, see View status for simple actions.

    Stop

    Stop the action if its Status is Open.

    Reissue

    Displays the Reissue Action page, where you can change the name, schedule, and the action group to target before reissuing the action. For more information about these settings, see Configure action settings. If you selected multiple actions, use the Previous and Next widgets to navigate among the pages for each action.

    Tip: To set the same start time and distribution period for multiple action in a one-time deployment, select More > Bulk Reissue instead.

    Copy Options Copy

    Copies information from the selected rows to your clipboard to paste the information into a message, text file, or spreadsheet. Each row in the grid is a comma-separated value string in the copy.

    Tip: To copy information from an individual cell, hover over the cell, click Options Options, and click Copy Copy.
    More > Bulk Reissue

    For a one-time deployment only, select this option to configure multiple actions with the same values for the following settings, and then re-issue the actions:

    • Local Time / UTC (time standard)

    • Start At date-time

    • Distribute Over period

    For a description of these settings, see Configure action settings.

    Note: If you bulk reissue multiple recurring actions, Tanium Cloud creates copies of the actions with their Schedule Type set to One Time Deployment.
    Tip: To use a different start time or distribution period for each action, click Reissue instead.

    Local Time / UTC

    Specify the time standard that the Action History grid uses to display settings that have date-time values:

    • Local Time (default), which is local to the system that you use to access Tanium Console

    • UTC (Coordinated Universal Time)

    Export Export

    The steps to export actions from the Action History page are the same as from the Scheduled Actions page except that your user account requires the Admin reserved role to export the actions as a JSON file. For more information, see Export actions.

View status for simple actions

Note: The Action Details page is an improved version of the Action Status page for managing and viewing the status of Tanium Automate playbook runs, platform actions, and other deployments. For more information, see Analyze and manage a single action or playbook run.

The Action Status page displays details about simple actions that are completed or in progress, and enables you to:

Note:

The Action Status page uses the same naming convention for adaptive actions as the Action History page. Use the Action Oversight page to view the status of adaptive actions, as described in Analyze and manage a single action or playbook run.

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 Administration > Actions > Action History 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.

Figure 3. Action Status page
Action Status
Note:

For actions targeting endpoints managed using an entity provider, such as Tanium Connector for Microsoft Intune, the Action Status page has the following differences:

  • The Client Status Details grid includes mobile device entities alongside Tanium Client endpoints.

  • The Command and Files fields do not appear.

  • The Endpoint Details section includes a Sub-Status field with additional status information for the entity provider.

  • Additional action states might apply. For more information, see Action states.

Action states

The Tanium Client reports the following states when it receives a simple action that targets the Client. When a simple action targets an entity ingested by an entity provider, the entity provider also reports an action state. You can monitor the progression of an action through these states in the Action Status page.

Note: The action timeout controls several action states. Tanium Cloud calculates the timeout relative to the moment when you deploy the action or, if approval is required, a user approves the action. Tanium Cloud calculates the timeout by adding the expiration period to the time when the action starts. All targeted Clients then receive the same calculated timestamp from Tanium Cloud. For more information about the expiration period, see Configure action settings.
Table 5. Action states for simple actions

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:

  • The Client finishes downloading the files before the action timeout: The next state is Running.

  • The Client reaches the action timeout before finishing the download: The next state is Expired.

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:

  • The command finishes executing before the action timeout: The next state is Completed.

  • The command reaches the action timeout before finishing execution: The command terminates and the next state is Expired.

  • The command runtime reaches the Command Timeout before the action timeout and before the command finishes execution: The command terminates and the next state is Failed.

  • The command execution fails before any timeout (for example, the Client might fail to spawn a new process to run the command): The next state is Failed.

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:

  • Command execution

  • Package file downloads

Failed

The action enters this state if one of the following events occurs:

  • The command execution fails before the action timeout or command timeout

  • The command reaches the Command Timeout before the action timeout and before completing execution

  • The command completes execution but the Client does not report Verification Query results before the query timeout

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:

  • Yes: The next state is Verified.

  • No: The next state is Failed Verification.

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.

Tip: For additional troubleshooting tasks related to actions, see Troubleshoot actions.
  1. From the Main menu, go to Administration > Actions > Action History, select an action, and click Show Status to open the Action Status page.
  2. Click Show Client Status Details, select up to 50 endpoints in the preview list, and click Get action log for selected machines.

    Tanium Cloud then issues the question Get Computer Name and Tanium Action Log[<action_ID>, 100] from all machines with (Computer Name equals <computer_name>) through the Interact Ask a Question field. Clients that ran the action respond with the first 100 lines of the corresponding action log. Clients that did not run the action respond with Error: Cannot read Action_<ID>.log.

    Figure 4. Question results for action log
    Question results for action log

Track action IDs

Tanium Cloud 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 Administration > Actions > Action History and view the action ID column.

    Figure 5. Action ID on the Action History page
    Action ID on the Action History page
  • Scheduled Actions page: For actions that are recurring or have a future start date, go to Administration > Actions > Scheduled Actions and view the ID column, which is hidden by default. To show the column, click Customize Columns 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
    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.