RBAC overview

Role-based access control (RBAC) enables you to configure granular permissions that control what individual Tanium users can see and do with Tanium solutions, and which endpoints those users can monitor and manage. For example, you can configure RBAC that allows all data center users to issue questions to data center servers but allows only administrators to deploy actions to those servers.

In the Tanium implementation of RBAC, permissions derive from roles and computer groups that are assigned to user accounts, personas, and user groups. Content such as sensors, packages, and saved questions are assigned to content sets, for which permissions control user access. For example, if your organization allows only data center administrators to reboot data center servers, you can create a role that includes Package read permission on the Core Content content set, which contains the packages for rebooting endpoints. You would also create a computer group that includes the servers, and then assign the role and computer group to the administrators.

Tip: To investigate and remediate RBAC issues, see Troubleshoot RBAC issues.
Note: Review and, if necessary, update RBAC configurations on a quarterly basis to ensure that users can access all the Tanium features they need but without access to sensitive information they do not need. For more information, see Tanium Maintenance User Guide: Review and update RBAC permissions and authentication settings.

Roles and permissions

Permissions define the activities that users can perform in the Tanium Core Platform (see Permission-controlled Tanium activities), as well as the features and configuration objects that users can access during those activities (see Permission-controlled Tanium features and configuration objects). A role specifies allow permissions to enable access or deny permissions to prohibit access. You assign the roles to users, user groups, and personas.

Note: For more information, see Managing access permissions through roles and best practices for Roles.
Table 1. Permission-controlled Tanium activities

Activity

Description

Read

Read permissions control object visibility. For example, the Package read permission allows users to open the Administration > Content > Packages page and view package configurations.

Write

Write permissions control the ability to manage (create, edit, or delete) objects. For example the Package write permission allows users to manage package configurations.

Execute

Execute permissions control the ability to:

  • Run processes, such as initializing endpoints for Tanium™ Patch.

  • Use service accounts, such as the Tanium™ Connect service account.

  • Perform API operations, such as through the Tanium™ Detect API.

Delete

Delete permissions control the ability to delete objects that are beyond the scope of write permissions. For example, the Threat Response Live Connection File delete permission allows users to delete a file on an endpoint during a live connection.

Special

Special permissions control the ability to perform activities that are beyond the scope of other permissions. For example, most Tanium solutions have a show permission that allows users to view the solution workbench.

The configuration pages for roles, users, user groups, and personas group permissions based on the type of features and configuration objects for which the permissions control access:

Table 2. Permission-controlled Tanium features and configuration objects

Feature or object type

Description

Platform content

Platform content permissions control access to content types that apply across all Tanium solutions and that are assigned to content sets. For example, you can assign permissions for sensors, packages, and saved questions in the Default content set. For more information, see Content sets.

Solution

Solution permissions control access to Tanium solution workbenches, features, and solution-specific content, such as Tanium Reporting dashboards.

Administration

Administration permissions control access to the Administration > Permissions and Administration > Configuration pages of Tanium Console.

Global

Global permissions control access to activities that are for reserved roles.

Content sets

A content set is a group of configuration objects (such as sensors, packages, and saved questions) for which permissions control access at the set level. For example, you can configure a role that applies Sensor read permission to all the sensors in the Base content set. A content set can contain solution-specific content (such as Tanium Reporting dashboards) or platform content that applies across all solutions (such as sensors). You cannot explicitly assign actions to a content set but they effectively belong to the same content set as their associated packages.

Tanium provides several predefined content sets through Tanium solutions. You can create a content set to contain custom content or to accommodate changes in the RBAC configuration of your Tanium deployment.

You can assign each content object to only one content set. For example, you cannot assign the Domain Name sensor to both the Base and Default content sets, although you can move the sensor from one set to another. A role can apply a permission to multiple content sets.

For more information, see Managing access to content through content sets and best practices for Content sets.

Users

A Tanium user configuration associates the following RBAC components with a user account:

  • Roles: A user is assigned one or more roles. Users have no permissions other than what their roles provide. A user with no roles can sign in to Tanium Console, but is directed to a page indicating insufficient permissions.

  • Computer groups: A user is assigned one or more computer groups.

  • User groups: A user is assigned zero or more user groups. The default persona of a user inherits roles and computer groups that are assigned to the default persona of every user group in which the user is a member.

  • Personas: Every user is assigned a default persona and zero or more alternative personas. Users can select their assigned personas for Tanium sessions. Users can also select the alternative personas that are assigned to user groups in which the users are members.

Users authenticate through a Security Assertion Markup Language (SAML) identity provider (IdP). For more information, see User authentication.

For more information, see Managing users and best practices for User permissions.

User groups

A Tanium user group configuration associates the following RBAC components with a set of users who inherit all the permissions of the user group:

  • Users: A user group is assigned zero or more users.

  • Roles: A user group is assigned one or more roles.

  • Computer groups: A user group is assigned one or more computer groups.

  • Personas: Every user group is assigned a default persona and zero or more alternative personas.

For more information, see Managing user groups and best practices for User group permissions.

Personas

All user accounts have a predefined default persona, which is the persona that applies automatically when users sign in to Tanium Console. When using the default persona, a user has permissions derived from all the roles and computer groups that are assigned to that persona. The default persona of a user also provides permissions that are inherited from the default personas of user groups to which the user is assigned.

You can assign alternative personas directly to a user account or to the user groups in which the user is a member. After signing in for a Tanium session, the user can select any alternative persona that is assigned directly or inherited from a user group. After the user switches to an alternative persona, the user has only the permissions that are derived from the roles and computer groups that are assigned to that persona. An alternative persona does not inherit permissions from user groups to which the persona is assigned.

For more information, see Managing role and computer group permissions through personas.

Computer groups

Tanium users can issue questions and deploy actions only to endpoints that belong to a computer management group that is assigned to those users or their user groups. For more information, see Controlling endpoint management rights through computer groups and best practices for Computer groups.

Tanium users use computer filter groups as filters in questions and question results. Users can use only the filter groups that are assigned to a content set that is associated with a role, and the role must be assigned to those users or their user groups. For more information, see Managing filter groups for filtering questions and results.

RBAC configuration overview

The following figure illustrates the relationships among RBAC components. The arrows indicate how you assign the components to configure user permissions. Note that the roles and computer groups that you assign directly to user groups and user accounts are effectively assigned to the default persona of those user groups and users.

Figure 1. Relationships and assignments among RBAC components
Relationships and assignments among RBAC components

The following tasks summarize the workflow for configuring RBAC and explain how RBAC components interact to define the effective permissions of users when they access Tanium Console under different personas. The figures in these tasks depict two user groups to illustrate the different implications of assigning roles and computer groups to alternative personas and default personas.

Important:

Before starting this workflow, review the important details and best practices described under Plan your RBAC implementation.

1. Configure custom roles

Roles with platform content permissions and solution permissions apply permissions to content sets. Tanium solutions provide predefined content and content sets. You can also create custom content and content sets.

The following figure shows an example with one system role that defines solution permissions (B) and three custom roles (A, C, D).

Figure 2. User role configurations
User role configurations

The next figure illustrates the relationships among content, content sets, and permissions in each example role configuration (roles A through D in the figure User role configurations).

Figure 3. Role permissions and content sets
Role permissions and content sets

For more information, see Managing access permissions through roles.

2. Define computer management groups

You can assign computer management groups to user groups or directly to user accounts (default personas) and alternative personas.

Figure 4. Computer management group configurations
Computer management group configurations

For more information, see Controlling endpoint management rights through computer groups.

4. Configure user groups

Configure the user groups. You can assign alternative personas to each user group, and assign roles and computer management groups to the default persona of each user group.

Figure 6. User group configurations
User group configurations

For more information, see Managing user groups.

5. Configure users

Configure the user accounts. Assign alternative personas and user groups to each user. You can also assign roles and computer groups to the default persona of each user.

Figure 7. User configurations
User configurations

For more information, see Managing users.

6. Sign in to Tanium Console to access the default persona

The default persona is active by default when a user sign in to Console. The default persona has permissions for all the roles and computer management groups that are directly assigned to the user account or that are inherited from the default personas of user groups.

In this example, the RBAC_Administrator role and HQ computer group are assigned to the default persona of the user. The user also inherits permissions from the Monitor role and Europe_Branch computer group that are assigned to the default persona of user group Europe.

Figure 8. Signing in as default persona
Signing in as default persona

For more information, see Sign in to Console.

7. Switch to an alternative persona

When the user switches to an alternative persona for the Tanium Console session, that user has permissions only for the roles and computer management groups that are assigned to that persona.

In the following figure, the user selects the NAM_Monitor persona that is inherited from the NAM user group.

Figure 9. Selecting an alternative persona—example 1
Selecting an alternative persona—example 1

In the next figure, the user selects the APAC_Trends persona that is assigned to the user account (default persona).

Figure 10. Selecting an alternative persona—example 2
Selecting an alternative persona—example 2

For more information, see Select a persona for your Console session.

Complete RBAC workflow

The following figure shows the complete workflow to configure the effective permissions of all three personas in this example.

Figure 11. RBAC configuration workflow
RBAC configuration workflow

Plan your RBAC implementation

The following are important items and best practices to discuss with your team and Tanium Support (see Contact Tanium Support) when planning the RBAC implementation for your Tanium deployment.

Naming convention

Before configuring custom roles, content sets, computer groups, and other RBAC objects, devise a naming convention that enables Tanium users to easily determine the purpose for each object and to distinguish it from similar Tanium-provided objects that are imported through Tanium solutions. Distinguishing custom objects is important because it is a best practice to avoid modifying Tanium-provided objects. For example, you can use the name of your organization as a prefix in the names of custom objects.

Computer groups

Consider the following best practices before you create custom computer management groups or filter groups for actions and questions.

Membership criteria

Identify the sets of endpoints that you want to manage as a group for operations that Tanium users and solutions perform. Some user roles might be dedicated to certain functions, such as deploying patches to datacenter servers. In this case, you can create a computer group that targets those servers and assign the group to those users. Other operations might be restricted based on privacy laws that differ among locations, in which case you can create a computer group for each location.

For example, your organization might have separate users who are responsible for monitoring and managing endpoints in a particular regional office. For each region, you can create a computer group with a membership definition that includes all the endpoints in that region. If you use custom tags to define endpoint locations, a computer group for the Asia-Pacific (APAC) region might have the membership question Custom Tags equals APAC. After you assign that computer group to the corresponding user, that user can see results from all endpoints in the Asia-Pacific region for questions such as Get Running Applications from all machines. The user can also target the endpoints for actions, such as application updates.

Resource usage for actions and questions

When a user issues a question or deploys an action, Tanium Cloud sends it to endpoints within a message that includes all the computer groups that you assign to the user. Increasing the number and complexity of assigned computer groups increases the message size, which increases the networking and endpoint resources that the question or action consumes. The complexity and number of computer groups that you assign to an action group also increase the message size and therefore resource usage.

When you configure computer groups and assign them to users, personas, user groups, and action groups, the following best practices enable you to minimize the resource usage of questions and actions and to avoid unexpected targeting results:

  • Minimalistic assignments

    • Computer groups: Assign only the computer groups that each user needs to perform the Tanium operations that are expected for the role of that user.

      For example, if a user has the authority to manage end-user systems but not servers, assign the All Workstations group but not the All Windows group, which includes Windows servers. As another example, instead of assigning the two groups All Windows Servers - Physical and All Windows Servers - Virtual, you can give a user the same management rights by assigning only All Windows Servers.

    • Action groups: When you configure an action group, assign only the computer groups that are necessary for the actions that you plan to deploy to that action group. If necessary, you can specify more computer groups and other filters in the Targeting Criteria of a specific action when you configure its settings. For more information, see Deploying actions and playbooks in Console and Interact.

  • Sensor- and tag-based groups

    Define Computer group membership using sensor-based filters instead of manually defined lists to enable granular control over which endpoints to include or exclude. You can achieve additional flexibility, while keeping the filtering clause simple, by defining computer groups with membership that is based on custom tags that you add to endpoints or remove as necessary. For more information, see Manage computer group membership through custom tags.

  • Precise membership expressions for fewer groups

    One computer group with a precise membership expression is more efficient than multiple computer groups in which the combined membership exceeds what a user needs. For example, you might want to give a user management rights for all Windows endpoints that have x86 architecture. Instead of assigning the two groups All Windows Servers - x86 and All Windows Workstations - x86, you can assign a single group with membership that is based on a sensor filter such as "x64/x86?" starts with x86.

  • Simple membership expressions

    As much as possible, use simple expressions to define computer group membership. Complex expressions increase the processing load on endpoints. For example, you might want a computer group for Windows and macOS endpoints that use storage encryption. The membership expression Storage Encryption Status equals "Encrypted" is efficient because it selects only Windows and macOS endpoints, and only if they use storage encryption. By contrast, the expression Is Windows equals true or Is Mac equals true requires more sensors and is less precise because it selects Windows and macOS endpoints that might or might not use storage encryption. For more examples of complex expressions that increase the processing load, see Reference: Advanced question syntax in Console and Interact.

  • Negative targeting

    As much as possible, avoid negative targeting in sensor-based filter expressions when you create computer groups with dynamic membership. Negative targeting is the use of negative conditions to target endpoints, such as expressions that use the filter operators not contains , is not equal to, and does not match. Negative targeting can be unpredictable and unintentionally include or exclude endpoints.

  • Maximum sensor or data age

    Do not lower the default Max Sensor Age or Maximum Data Age for any sensor that defines endpoint membership in a computer group. For more information, see Best practices for saved questions.

Note: For more information about the options available for sensor filters in the membership expressions of computer groups, see Filter operators. For examples of regular expressions that you can use, see Use regular expression filters.

Content sets

Determine how to organize content set permissions for controlling access to specific data and deploying actions on endpoints. As a best practice, ensure that the content in any particular content set is similar to minimize the risk of assigning unintended permissions to user roles. You can organize content sets based on the following:

  • Capability: Read or write permissions

  • Content type: For example, saved questions, sensors, or packages

  • Subject matter: For example, Tanium Client administration or Windows system administration

Note: For content that is provided through Tanium solutions, keep the content objects in their original Tanium-provided content sets. To sustain this practice when moving content between content sets, create copies of Tanium-provided content and move the copies instead of the original versions. Contact Tanium Support before proceeding if you need to move original Tanium-provided content. For more information, see Contact Tanium Support.

Roles

The following are best practices for managing roles:

  • Configuration order: Configure custom roles that specify solution permissions before configuring roles that specify platform content or administration permissions. Solution permissions allow access to a specific solution and often provide additional platform content and administration permissions.

  • Modularity: When configuring roles, take advantage of their modularity and cumulative effect on user permissions. For example, instead of creating a role with all the permissions that a particular user needs, and creating another role with only slightly different permissions for another user, create several roles with smaller but unique permissions sets. You can then mix and match these minimalistic roles among various users to achieve the same effective permissions as individual roles that have comprehensive permissions. For more information, see View effective role permissions.

Users and user groups

User group permissions

Control permissions at the user group level as much as possible instead of at the user level. Assigning computer groups, roles, personas, and users to user groups minimizes the administrative effort required to update your RBAC configuration. For example, instead of modifying role assignments for the personas of each user who might join or leave your organization, or whose responsibilities might change, you can configure user groups that use sensor-based filters to dynamically adjust group membership when such changes occur.

User permissions

To identify which permissions are needed, consider what each team in your organization needs to accomplish through the Tanium system. In particular, consider the following:

  • Solution access: Which users require access to which Tanium solution workbenches and solution content?

  • Administrator permissions: Do you want to use the Permission Administrator permission to assign full administrator permissions to a few users or assign granular administration permissions that allow or deny page-specific read and write access to the Administration > Configuration pages?