Managing access to content through content sets

Content sets overview

A content set is a group of Tanium content objects to which a permission applies. You apply content set permissions through role configurations that you assign to users. The association between content sets and permissions ensures that only authorized users can use content that might have a significant impact on managed endpoints.

For example, the Core Content set contains sensors, packages, saved questions, dashboards, and filter groups that you use for many common Interact tasks. One such package is Restart Service - ||Service Details_Service Name||, which you can use to restart a service that is stopped on Windows endpoints. You require Package read permission on the Core Content set to deploy an action with that package.

Tanium provides several predefined content sets through Tanium modules, shared services, and content-only solutions. You can create a content set to contain custom content or to accommodate RBAC changes in your organization. For example, you can create a content set for sensors and packages related to Tanium Client maintenance, and then configure roles that allow a wide group of users read access to the content but allow write access to a smaller group of users.

Note: Understand the best practices for content sets before you create or edit custom sets. For more information, see Delete a content set.
Note:

For more information and procedures related to specific content types, see Solution content overview.

For the user role permissions required to manage content sets, see Manage content sets.

Role permissions for content sets

You can assign content to only one content set. A role can specify permissions for multiple content sets. Configure custom roles to define platform content permissions for content that is used across all Tanium solutions and solution permissions for solution-specific content. Tanium also provides pre-defined solution roles for solution-specific content.

The following figure shows the relationship between contents sets and content, permissions, and roles.

Figure 1. Content sets in relation to content, permissions, and roles
Content sets in relation to content, permissions, and roles

To manage content set permissions for a role, see Manage content set permissions for a role.

View content set details

Viewing content set attributes (columns) can help you manage RBAC for your organization. For example, the Used By column indicates which Tanium solutions use the content in each content set, which can help you decide whether it makes sense to move content between sets.

Note: If the Used By column displays no value for a content set, that means its content is used across the Tanium Core Platform and is not solution-specific.
  1. From the Main menu, go to Administration > Permissions > Content Sets.

    The Content Sets grid shows attributes (such as Name) to identify each content set and to indicate which solutions use its content.

    Note: The Used By column shows Data to indicate Tanium Reporting uses the content.
  2. (Optional) Enter a search string in the Filter items field to find specific content sets based on Name or Description values.
  3. Click the Name of the content set for which you want to review content and permissions.
    Note: A content set might list two types of dashboards:
    • Interact dashboard: This is a group of related saved questions. The Preview Content Sets page use an icon Interact dashboard to identify this dashboard type. For more information, see Interact dashboards and categories.

    • Reporting dashboard: This is a group of related panels that provide charts (visualizations of report data), text, and action deployment options. For more information, see Reporting overview.

  4. Expand Expand the content type that you want to review.

    The top grid lists all the objects of that type in the content set.

    The bottom grid displays the Roles Role, Users User, and User Groups User Group with permissions that are associated with the content.

  5. When you finish reviewing, click Exit to return to the Content Sets summary page.

Create a content set

Create custom content sets if your organization has RBAC requirements that existing sets do not satisfy. For example, you might create a content set to contain custom packages that only privileged users can use.

Note: After you save a content set, you cannot edit its name or description, but you can move its content to another set.
  1. From the Main menu, go to Administration > Permissions > Content Sets and click New Content Set.
  2. Enter a Content Set Name of up to 255 characters and an optional Description, and then click Save.
  3. Perform the following tasks to assign content to the content set:

Move content between content sets

Move custom content between content sets to accommodate RBAC changes in your organization. For example, if a sensor collects sensitive information from endpoints, you might want to move that sensor to a content set that only highly privileged user roles can access.

To move content between content sets, you require the Administrator or Content Set Administrator reserved role or a role that has write permission on the content and content sets. You can move content between any content sets except:

  • The Reserved content set, which includes fundamental sensors that the Tanium Core Platform uses.

  • Certain Tanium solution-based content sets.

Before you begin

Before moving content, be sure that you understand how the move affects workflows. For example, if a user configures a scheduled action, and you later move the associated package to a content set for which that user does not have permission, the Tanium Server does not deploy the action.

Tip: Content attributes might influence the content set you that you assign. For example, if a sensor description indicates the sensor collects hardware information, you would not move it to a set for virtualization-related content. Use the Administration > Content pages to review content attributes. Optionally, you can also reassign content sets through those pages by editing the content. For more information, see:

Move content to a different content set

Perform the following steps to move content.

Tip: As a workaround for solution-based content sets that do not allow moving content, you can clone the content, move the clones to other content sets, and instruct users to use the clones in their workflows instead of the original content.
  1. From the Main menu, go to Administration > Permissions > Content Sets.
  2. Click the Name of the content set that contains the content you want to move.
  3. Expand Expand the content type and select the content that you want to move.
  4. Click Move to Content Set, select the target content set, and click Confirm.

Export or import content sets

Export content sets

Export content sets as a file in the format required for your workflow:

  • CSV

    You can use any application that supports CSV format to display the same content set attributes (columns) as the Console Content Sets grid shows and then customize the display. For example, you can use Microsoft Excel to create charts based on content set attributes.

  • JSON

    You can export multiple content set configurations as a JSON file. Exporting configurations is useful if you want to import them into another Tanium 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 content sets:

  1. From the Main menu, go to Administration > Permissions > Content Sets.
  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 content sets. If you want to export all content sets, 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 content sets in the grid or just the Selected content sets.
  7. Select the file Format:
    • List of Content Sets - CSV

    • Content Set Definitions - JSON (Administrator or Content Set Administrator reserved role only)

  8. Click Export.

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

Import content sets

Importing is useful if you want to copy content set configurations from another Tanium environment. You can import content sets 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.

  1. (Non-Tanium-provided content only) Digitally sign the content file and ensure a public key is in place to validate the signature. For more information, see Authenticating content files.
    Note: You do not have to generate keys or signatures for Tanium-provided solutions. Tanium signs this content before making it available, and the associated public key is distributed to the Tanium Server key store during the Server installation process.

    If you plan to import a file that another user signed, you can first perform an integrity check on the file. For more information, see Verify content file signatures.

  2. From the Main menu, go to any of the following Administration pages:
    • Configuration > Solutions
    • Permissions > Filter Groups
    • Under Content, select Sensors, Packages, or Saved Questions
    • Under Actions, select Scheduled Actions, All Pending Approvals, or Actions I Can Approve
  3. Select an Import option based on the source of the content:
    • Import > Import Files: Perform one of the following steps to select one or more files:

      • Drag and drop files from your file explorer.

      • Click Browse for File, select the files, and click Open.

    • Import > Import URL: Enter the URL in the Import URL field, and click Import.

  4. For each file, expand Expand the File name, review the content to import, and select resolutions for any conflicts with existing content. For more information, see Resolve import conflicts.
  5. If you want to overwrite existing content set assignments for all imported objects with the default Tanium-defined assignments, select Include content set overwrite. By default, Include content set overwrite is cleared and the Tanium Server preserves the existing content set assignments.
  6. Click Begin Install.

Delete a content set

Important: Do not delete the predefined content sets that Tanium solutions provide. When you import solution updates, the update process restores any predefined content sets that users have deleted.

Delete a custom content set only if it is no longer needed to control permissions for accessing content.

You must empty a content set configuration before you can delete it. You have the following options to empty a content set:

Perform the following steps when you are ready to delete a content set:

  1. From the Main menu, go to Administration > Permissions > Content Sets and click the content set Name.
  2. Click Delete Content Set.