Reference: User-specific saved questions
Overview of user-specific saved questions
Multiple users can work with the same saved questions during activities such as collecting information from endpoints. However, each user might see different settings for the same question based on the role permissions of that user and changes that the user makes to the question. To ensure that users can work productively with shared questions, it is important to understand and manage the properties that control question visibility:
-
User role permissions
To view and edit a saved question, a user must have the required role permissions for the content set to which the question is assigned. Additionally, the Visibility setting in the question determines whether the question is visible only to the owner (question creator) or to any user who has the required role permissions. For more information about the role permissions, see Manage saved questions.
-
User-specific configuration changes
When a user saves changes to the question configuration, the Tanium Server saves a copy of the question. When users sign in to Tanium Console, the users see only the copy with their own changes.
-
Computer group management rights
The computer groups assigned to users, user groups, and personas determine the visibility of the saved question Reissue interval and recent question results. For more information about assigning computer groups, see Assign computer groups.
Example: Saved question shared among multiple users
The following sections use an example scenario to describe how various factors determine the visibility of a question and its settings and results. All users in the example have permissions to read, create, and edit the Installed Applications on Windows Workstation question.
To see the question settings described in the following sections:
-
From the Main menu, go to .
-
Click the title of a saved question to preview and edit the saved question.
For the example, the following table lists the users in the order that they made changes to the question configuration.
|
User name |
Role permissions |
Computer group management rights |
Question configuration edits |
|---|---|---|---|
|
Admin1 |
Administrator reserved role |
Unrestricted management rights |
Created and saved the question with the Display this question in the list of questions that are available for drilling down and Display this question in the list of questions that are available to merge options disabled, and the Reissue interval set to one day. |
|
User1 |
Read, create, and edit the saved question |
All Windows (endpoints that run any Windows OS) |
Resaved the question with Display this question in the list of questions that are available to merge enabled. |
|
Admin2 |
Content Administrator reserved role |
Unrestricted management rights |
Resaved the question with Display this question in the list of questions that are available to merge reverted to disabled after User1 enabled it. |
|
User2 |
Read, create, and edit the saved question |
All Windows desktops (endpoints that run the Windows desktop OS) |
Resaved the question with Display this question in the list of questions that are available for drilling down enabled. |
|
User3 |
Read, create, and edit the saved question |
All Windows |
Made no changes. |
Role permissions
Visibility
Whether a saved question is visible to users depends on their role permissions and the Visibility option in the question configuration:
-
According to RBAC
All users who have the necessary role permissions can see the question. In this example, all users have the role permissions required to read and edit saved questions in the content set that contains this question. Therefore, this option enables all users to see the question.
-
Only the Owner and Admins can see this object
Only users with the Administrator or Content Administrator reserved role, and the question owner (creator), can see the question. In this example, this option enables only Admin1 and Admin2 to see the question.
User settings
The User Settings in a saved question configuration vary based on the role permissions and any default settings. In addition to the merge and drilldown settings, administrators can see and set default settings. The default settings are useful when you want a question to initially have the same User Settings for all users until the users edit those settings. In this context, administrators are users who have the Administrator reserved role (Admin1 in this example) or Content Administrator reserved role (Admin2 in this example). The default settings differ based on whether the administrator creates a new question or edits an existing question.
For information about all saved question settings, see Create a saved question.
User settings for a new saved question
The following figure shows the User Settings in a saved question configuration for an administrator who creates the question.
The default settings include:
-
Save these settings for myself and other users with no prior settings saved: For each non-administrator user, the Tanium Server applies the User Settings according to the changes that the user made to these settings. For non-administrator users who never changed the settings, the Server applies the settings according to whichever administrator was the last to save changes. For administrators, the latest changes that an administrator makes override any earlier changes that other administrators made. For all the users in this example, the Server applies the settings that Admin1 configured when creating the saved question, with the following exceptions:
Table 2. Example: Settings for a new saved question that apply to the current user and other users User
Settings
User1
Merging is enabled for this user because the user made that change.
User2
Drilldown is enabled for this user because the user made that change.
User3
The settings are as Admin2 configured them because Admin2 was the last administrator user to save changes to the settings and User3 made no subsequent changes.
-
Save these settings for my view only: For each user, the Tanium Server applies the user settings according to the changes that the user made to these settings. For all the users in this example, the Server applies the settings that Admin1 configured when creating the saved question, except as follows:
Table 3. Example: Settings for a new saved question that apply only to the current user User
Settings
User1
Merging is enabled for this user because the user made the change.
User2
Drilldown is enabled for this user because the user made that change.
User3
The settings are as Admin1 configured them because User3 made no changes.
User settings for an existing saved question
The following figure shows the User Settings in a saved question configuration for an administrator who is editing the question.
The options are as follows:
-
Save these settings for my view only: For each user, the Tanium Server applies the User Settings according to the changes that the user made to these settings. For all the users in this example, the Server applies the settings that Admin1 configured when creating the saved question except for the changes that each user saved, as follows:
Table 4. Example: Settings for an existing saved question that apply only to the current user User
Settings
User1
Merging is enabled for this user because the user made that change.
User2
Drilldown is enabled for this user because the user made that change.
User3
The settings are as Admin1 configured them because User3 made no changes.
-
Save these settings for myself and other users with no prior settings saved: For each user, the Tanium Server applies the User Settings according to the changes that the user made to these settings. For a user who never edited the settings, the Server applies the settings according to whichever user was the last to save changes. For all the users in this example, the Server applies the settings that Admin1 configured when creating the saved question, except as follows:
Table 5. Example: Settings for an existing saved question that apply to the current user and other users User
Settings
User1
Merging is enabled for this user because the user made that change.
User2
Drilldown is enabled for this user because the user made that change.
User3
Drilldown is enabled for this user because User2 was the last user to set the values and User3 made no subsequent changes.
Saved question configuration copies
The Tanium Server maintains a copy of a saved question configuration for each user who saves changes to it. Users who make no changes share the same configuration as the question creator.
In this example, the Server maintains the original configuration that Admin1 created and adds a copy for Admin2, User1, and User2 because those users made changes. The Server does not add a copy for User3 because that user made no changes. Upon signing in to the Server, User3 sees the saved question that Admin1 created, whereas the other users each see their own copy.
Recent results and computer group assignments
The Tanium Server creates a management rights identifier (computer management group ID) for each identical set of computer group assignments, and associates that identifier with each user who has the set. If a user specifies a Reissue interval when creating a saved question, other users who subsequently sign in to Tanium Console can see that setting only if they have the same computer management group ID as the creator. Otherwise, users must set their own Reissue interval, at which point the Server creates user-specific copies of the question configuration.
In this example, Admin1 creates the saved question Installed Applications on Windows Workstation and sets the Reissue interval to one day. Admin1 and Admin2 have the same computer group assignments (Unrestricted management rights), so Admin2 can see the Reissue interval that Admin1 configured. However, because User1, User2, and User3 have different computer group assignments than Admin1, they cannot see the Reissue interval that Admin1 configured.
The computer management group ID that controls Reissue visibility requires exact matching for computer group assignments. For example, if User2 creates a question, User1 and User3 cannot see its Reissue interval even though their computer group All Windows includes all the endpoints in the All Windows desktops computer group that is assigned to User2. As another example, consider what happens when an administrator assigns two computer groups to User1 (All Windows and All macOS), but assigns only one computer group to User3 (All Windows). User1 and User3 will have different computer management group IDs because the combination of computer groups assigned to each user differs. Therefore, if User1 then creates a saved question, User3 cannot see its Reissue interval.
The Tanium Server issues a saved question at the interval specified in each user-specific configuration. However, if multiple users have the same computer management group ID, the Server consolidates the redundant traffic. For example, consider what happens when User1, User2, and User3 keep the Reissue interval at one day and User3 enables drilldown. Because User3 changed a setting, the Server adds a User3-specific copy of the question. Nevertheless, User1 and User3 have the same computer group assignments (All Windows), so the Server issues the question once per day for both users instead of twice per day. The Server also has a User2-specific copy of the question. However, even though the User2 copy has the same Reissue interval as the User1 and User3 copies, User2 has a different computer group assignment (All Windows desktops), so the Server issues the User2 question separately from the other users. Ultimately, the Server issues the same question twice per day: once to the All Windows computer group (for User1 and User3) and once to the All Windows desktops computer group (for User2).
Recent results and computer group assignments
When you view the results of a saved question in Tanium Console, the results grid provides the option to show Current, Recent, or Cached data. Current data includes results only from endpoints that are currently online. In addition to data from online endpoints, Recent data includes results from offline endpoints if those results still reside in the Tanium Server cache. The Server stores results for seven days by default. If an endpoint is offline when the Server issues a question, the Server passes any cached result for that endpoint to the results grid.
When caching results for a question, the Tanium Server maintains a separate cache for each set of results that is associated with a distinct computer management group ID. Consequently, users with different computer management group IDs might see different recent results for the same endpoints.
To understand how recent results might differ for each user, consider an example where the Tanium Server reissues the question Installed Applications on Windows Workstation twice per day: once for each computer management group ID. For offline endpoints, the Server caches one set of results for the computer management group ID associated with All Windows (results are visible to User1 and User3) and one set for the computer management group ID associated with All Windows desktops (results are visible to User2). User1 and User2 then show the results in the Saved Question Results grid and set the Zoom setting to Recent. However, say a different set of endpoints were offline when the Server issued the question to All Windows than when issuing the question to All Windows desktops. As a result, the Server saved different updates to the separate results caches. User1 and User2 then see different recent (cached) results for the same endpoints that are offline while they are viewing the results grid.