Controlling endpoint management rights through computer groups
Computer groups overview
A computer group defines a set of endpoints that you want to manage as a group with respect to operations that Tanium users and solutions perform. For example, you can define a computer group that includes all endpoints that are in a data center, and assign the group only to users who will issue questions and deploy actions to data center endpoints.
Computer groups are the building blocks of action groups, which filter the target endpoints for actions. For more information, see Targeting actions through action groups.
You can also use computer groups to filter questions, question results, and various lists in Tanium Console, such as on the page.
Review computer groups on a quarterly basis and delete any that are no longer useful. For more information, see Delete unnecessary computer groups.
Understand the best practices for computer groups before you create or edit custom groups. For more information, see Computer groups.
Computer group types
Based on the permissions that you want users to have when querying or deploying actions to sets of endpoints, you can create the following types of computer groups:
Computer management groups
A Tanium user can view question results from, and deploy actions to, only those endpoints that belong to a computer management group that is assigned to the user or persona selected for the current session. Use the page to manage computer groups that function exclusively as management groups, not filter groups.
Roles do not control access to computer management groups, but roles do control which content is available to the user for questions and actions. For example, you might want a user to see the processes running on endpoints in a data center. You must assign that user a role with Sensor read permissions on the content set containing the Running Processes sensor and also assign the user a computer management group that contains the data center endpoints.
The following figure illustrates the relationship between computer management groups and other Tanium role-based access control (RBAC) components.
Computer filter groups
Tanium users use computer filter groups as filters in questions (see Use computer group filters) and question results (see Filter question results). Users acquire permissions for a filter group when you assign it to a content set, grant filter group permissions to that content set in roles, and assign the role to user accounts, personas, or user groups. The following figure shows an example of a custom role that grants Filter Group read and write permissions to the Default Filter Groups content set:
Users cannot receive question results from endpoints in a filter group unless those endpoints also belong to a computer management group and you assign that management group to users, personas, or user groups.
To manage computer groups that function exclusively as filter groups, use the page. For more information, see Managing filter groups for filtering questions and results.
Computer management and filter groups
You can configure computer groups to function as both management groups and filter groups. The reserved computer groups All Computers and No Computers function as both types. These reserved groups are in the Reserved content set, and you cannot edit them. When you first sign in to Tanium Console after a fresh installation of the Tanium Server, the Server automatically imports additional predefined computer groups that function as both filter groups and management groups. For more information, see Default computer groups.
Use the page to manage computer groups that function as both management groups and filter groups.
Computer groups in questions
Understanding how Tanium Clients process questions can help you understand the interaction between computer management groups and filter groups, and how best to use them. The figure Computer management groups and filter groups in a question illustrates an example of how assigning computer groups and roles to a user account determines which question results the user can view and filter on the Interact Question Results page.
The example in the figure uses computer management groups named UK and France, which contain Tanium Clients in the corresponding branch offices. The sensors that define membership in the groups filter Clients based on their country codes (44 and 33). The organization headquarters is based in the U.S. (country code 1) and therefore the two groups do not contain any Clients in headquarters. The example user can retrieve question results from branch office Clients in the U.K. or France because the UK and France computer management groups are assigned to that user. The user cannot retrieve question results from Clients in headquarters because those Clients do not belong to a computer management group that is assigned to the user.
|
Name |
Membership filter |
Tanium Clients |
|---|---|---|
|
UK |
Country Code equals 44 |
UK_win_1, UK_win_2, UK_mac_1, UK_mac_2 |
|
France |
Country Code equals 33 |
FRA_win_1, FRA_win_2, FRA_mac_1, FRA_mac_2 |
The user is also assigned a role (euro_admin) that provides access to the Default content set, which includes filter groups named All Windows and All Macs. Therefore, the user can use those filter groups to filter question results. Each group contains all the Tanium Clients with a specific operating system across all branch offices and headquarters.
|
Name |
Membership filter |
Tanium Clients |
|---|---|---|
|
All Windows |
Is Windows equals True |
UK_win_1, UK_win_2, FRA_win_1, FRA_win_2, HQ_win_1, HQ_win_2 |
|
All Macs |
Is Mac equals True |
UK_mac_1, UK_mac_2, FRA_mac_1, FRA_mac_2, HQ_mac_1, HQ_mac_2 |
In this example, the user issues the following question:
Get Computer Name and PowerShell Version equals 2.0 from all machines with Country Code equals 44
All Tanium Clients that are online receive the question and process its components in the following order:
-
Computer group management permissions
Each Tanium Client first evaluates whether it belongs to a computer management group that is assigned to the user who issued the question. If not, the Client does not process the question further. In the example, only the Clients in the UK and France management groups continue processing the question.
The All Windows and All Mac filter groups bestow only filtering permissions, not the permission to receive answers from Clients. Therefore, the Windows and macOS Clients in headquarters (HQ_*) do not continue processing the question because they do not belong to any computer management group that is assigned to the user.
-
Target filter (from) clause
The from clause specifies whether question results are required from all Tanium Clients (from all machines) or only from Clients that evaluate the filtering sensor to true. The example question targets endpoints with country code 44, which corresponds to the U.K. Therefore, only the UK Clients match the target filter clause from all machines with Country Code equals 44 and continue to process the question.
-
Select statement (get) clause
The get clause specifies the sensors that Clients run to answer the question. If the clause has a filter, Clients apply the filter to the sensor results and return the filtered results to the Tanium Server. Interact then shows the filtered results in the Question Results page.
In the example, the UK Clients run the sensors Computer Name and PowerShell Version, process the equals 2.0 filter for the PowerShell Version sensor, and return the filtered results to the Tanium Server. Interact then displays results only for UK Clients that have PowerShell version 2.0 installed.
In the example, the user wants the Question Results page to show results only for Clients that run Windows. Therefore, the user selects the All Windows filter group in the Filter by Computer Group dropdown list. The Tanium Server reissues the question using both Country Code equals 44 and Is Windows in the target filter clause. The Question Results page then shows results only for Tanium Clients UK_win_1 and UK_win_2 because only those Clients match both filters.
Computer group membership
Before you create a computer management group (see Configure a computer group) or filter group (see Configure a filter group), be sure to understand the following options for defining which endpoints are members. After creating a group, you cannot change its membership definition.
Dynamic membership
Dynamic membership in a computer group is based on the results of a sensor filter expression, such as is Windows equals true. Tanium Clients process the expression to determine whether their endpoints belong to the group. For more information about using filter expressions, see Use question filters.
Whenever possible, define computer group membership based on sensors. Only groups based on a sensor dynamically adjust their membership as endpoints join or leave your network. For example, you might create a manual group called Critical Servers for three special servers. If you later add a fourth server to the cluster, you cannot change the Critical Servers membership. Instead, you would have to: create a new manual computer group; assign it to users; and re-create pertinent action groups and saved questions that you want to target the new computer group. A better approach is to define the computer group based on a sensor that identifies which servers qualify as critical, so that the fourth server automatically becomes a member.
Manually defined membership
Manually defined membership in a computer group is based on a manually entered list of computer names, IP addresses, or fully qualified domain names (FQDNs). The Tanium Client obtains configuration information for the computer groups when registering with the Tanium Server.
Default computer groups
When you first sign in to Tanium Console after a fresh installation of the Tanium Server, the Server automatically imports a content-only solution named Default Computer Groups, which includes predefined computer groups. They all function as both management groups and filter groups, and are assigned to the Default Filter Groups content set.
To list the defaults groups:
-
Go to on the page and expand
the Filters section.
-
Click Add Row, add the following filter, and click Apply
:
-
Attribute: Content Set
-
Operator: is equal to
-
Value: Default Filter Groups
-
-
Click Add
, select Add Row, add the following filter, and click Apply
:
-
Attribute: Created By
-
Operator: is equal to
-
Value: Administrator
-
The Server does not import default computer groups when you upgrade the Server.
View computer group details
Viewing computer group attributes can help you to determine if new groups are necessary and to manage or troubleshoot existing groups. For example, you might check the Expression attribute of a group to diagnose issues related to action targeting.
Configure a computer group
Considerations for creating computer groups
Create a custom computer group if the Tanium-defined groups do not address all the scenarios for managing endpoints in your environment. For example, you might want to deploy actions only to endpoints that have a certain custom tag. Before you create a computer group, be sure to understand the difference between dynamic membership and manually defined membership. For more information, see Computer group membership.
Cloning an existing computer group is usually easier than creating a group from scratch if the new group has settings that differ only a little from the original group.
To create a computer group that functions exclusively as a filter group and not as a computer management group, see Configure a filter group.
Considerations for editing computer groups
For existing computer groups, you can edit the name and enable or disable their use as filter groups. However, changing the name does not change the object ID of a computer group. Also, you cannot change the group membership definition. However, if you configure a new group with dynamic membership and base it on a custom tag, you can change tag assignments on endpoints to adjust the group membership. For more information, see Manage computer group membership through custom tags.
Create, clone, or edit a computer group
-
From the Main menu, go to and perform one of the following steps:
-
Create a computer group from scratch: Click New Computer Group.
-
Clone a computer group: Select the computer group and click Clone.
-
Edit a computer group: Click the computer group Name and click Edit Mode.
-
-
Specify a Name of up to 255 characters to identify the group.
-
Under Additional Options, select whether users can (Enable) or cannot (Disable) use this group as a filter group. If you enable the filter group function, select a content set. To use the filter group, users require a role that specifies permissions for that content set.
-
Define which endpoints are Members of the computer group.
-
Dynamic membership (best practice): Select a method for defining the membership filter:
-
Filter Bar: Use the same syntax as in the from clause of the Interact Ask a Question field. For more information, see Issue a free-form question.
-
Filter Builder: Use the same from computers with fields as in the Interact Question Builder. For more information, see Issue a question through the Question Builder.
-
-
Manually defined membership: Select Manual Group and enter a list of endpoint identifiers, which can be one of the following:
-
Computer names that match the results of the Computer Name sensor. Short forms or alternative names do not work.
-
Fully qualified domain names (FQDNs).
-
IP addresses that match the entries in the page, Network Location (from server) column.
-
-
-
Review the list of endpoints that are members of the group and click Save.
Tip: Clicking the icon for an endpoint opens the Endpoint Details dialog, where you can View details for a single endpoint.
Assign computer groups
Assign computer management groups to enable users to view question results from, and deploy actions to, the endpoints in those groups. You can assign up to 255 computer management groups to each user, persona, or user group. The user limit does not include computer groups that a user inherits from user groups. For example, if you assign 255 computer groups to a user, that user can still inherit up to 255 computer groups from each user group to which the user belongs.
A user account or persona that has the Unrestricted Management Rights option enabled can view question results from, and deploy actions to, all computer groups. You cannot enable the option for user groups.
Perform the following tasks to assign or unassign computer groups:
Manage computer group membership through custom tags
A custom tag is a user-defined label that you can assign to, or unassign from, endpoints. Tags are useful for defining computer group membership if you sometimes want to change which endpoints are members. For example, you can configure a computer group with the Members setting set to the filter Custom Tags contains "test". Then you can add or remove the tag test on endpoints that move in or out of the environment to change the group membership.
You use the Custom Tags sensor to define membership for a computer group that is based on custom tags. Before you create tag-based computer groups, review Dynamic membership for important details about using sensors to define membership.
Review custom tags
To see which custom tags are assigned to endpoints, ask a question using the Custom Tags sensor, such as:
Get Custom Tags from all machines
To see which endpoints have a specific custom tag, ask a question using the Custom Tag Exists parameterized sensor, such as:
Get Tanium Client Version from all machines with Custom Tag Exists[lab,1] equals true
For more information about asking questions, see Exploring and accessing endpoints in Console and Interact.
Add custom tags
Remove custom tags
Export or import computer groups
Export computer groups
Export computer groups as a file in the format required for your workflow:
-
CSV
You can use any application that supports CSV format to display the same computer group attributes (columns) as the Console Computer Groups grid shows and then customize the display. For example, you can use Microsoft Excel to create charts based on computer group attributes.
-
JSON
You can export multiple computer group configurations as a JSON file. Exporting configurations is useful if you want to import them into another Tanium environment. For example, you might test custom computer groups in a lab environment to ensure that they work as intended before importing the groups 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.
Perform the following steps to export computer groups:
Import computer groups
Importing is useful if you want to copy computer group configurations from another Tanium environment. For example, you might test custom computer groups in a lab environment to ensure that they work as intended. You can then export the groups from the lab environment and import them into your production environment. You can import computer groups and other content as a JSON or XML file.
You must be assigned a role with Import Signed Content permission to import content files through the following steps.
Copy computer group configuration details
Copy information from the Computer Groups page 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 content that you copy.
- From the Main menu, go to .
- Perform one of the following steps:
- Copy row information: Select one or more rows and click Copy
.
- Copy cell information: Hover over the cell, click Options
, and click Copy
.
- Copy row information: Select one or more rows and click Copy
Delete computer groups
Review the following considerations before you delete computer management groups:
-
RBAC assignments
Account for user and user group configurations that might reference the computer management group through personas. Be prepared to modify those configurations as needed.
-
Content associations
Account for other configurations that might have referenced the computer group, such as action groups, scheduled actions, and saved questions. The scheduled actions and saved questions that are configured to target the computer group continue to do so because they do not depend on the computer group ID, just the information that the computer group provided at the time it was created.
-
Scheduled content
If you intend to stop the scheduled activities (such as scheduled actions and saved questions) that target those computers, you must disable, edit, or delete the corresponding configurations.
-
Question targeting
Endpoints continue to match targeting questions as long as they match the sensor filter expression or manual group ID. The manual group ID obtained during registration is never erased from the Tanium Client configuration, so targeting questions based on a manual group ID continue to match as well.
-
Filter/management groups
Deleting a computer management group through the page removes all instances of the group from the Tanium Server even if the group also functions as a filter group. However, if you use the page to delete a filter group that also functions as a management group, the group remains on from the Server as a management group with filtering disabled.
When you are ready to delete the computer management group, perform the following steps.
- From the Main menu, go to .
- Select the computer group and click Delete
.