Managing interfaces

Organize interfaces by applying locations or labels. Locations are a user-defined hierarchy of networks and physical locations. Labels are attributes that are added to the interface based on a set of conditions, and you can set actions to ignore, purge, mark unmanageable, or send notifications on the interfaces that match the conditions of the label.

View interface data

On the Interfaces pages, you can view interfaces by several different categories. You can customize and filter these results, and export the results to a CSV file.

Note: In addition to the Summary page, use the Managed, Unmanaged, Unmanageable, and Ignored pages.

View charts

You can view bar charts that represent the device types, locations, and labels of interfaces.

  1. From the Main menu, go to Modules > Discover > Interfaces.

    The Interfaces page opens and contains a Top 10 Results section and a Details section. The Top 10 Results section is collapsed by default.

  2. Add filters at the top of the page to apply to data in both the Top 10 Results section and the Details section.

    For more information, see Filter interfaces.

  3. Expand the Top 10 Results section to view a graph of the top ten results by Manufacturers, Locations, or Labels.
  4. The Details section contains a table with interface results.

    You can click Details ExpandSidePanelIcon to open a side panel with a summary of the interface. The summary includes information about the interface hardware, discovery details, applied labels, and associated profiles. In addition, you can add a label, and you can mark an unmanaged interface as manageable or unmanageable.

    Example filter on the Interfaces page in Discover
    Note:

    The Manufacturer column refers to the manufacturer of the network interface, not the endpoint. This value is derived from the organizationally unique identifier (OUI) in the first three octets of the MAC address assigned to the network interface.

    • For a universally administered address (UAA) that was assigned by the device manufacturer, it displays the manufacturer's name.

    • For a locally administered address (LAA) not assigned by the device manufacturer, it displays Unknown (randomized MAC address) or Is Locally Administered MAC. For example, an operating system randomly generates an LAA MAC address to enhance privacy.

Determine data source that found an interface

The value in the Discovery Method column in the Details table on the Interfaces page corresponds to the data source that discovered the interface.

Table 1. Possible values for the Discovery Method column

Discovery Method

Data Source

arp

Distributed level 1 scan

connected

Distributed level 1 scan

ping

Distributed level 2 scan

nmap

Distributed level 3 or level 4 scan

aws api

Centralized Amazon EC2 environment scan

Note: aws api is a legacy discovery method that is no longer available. This method appears in the Discovery Method column for interfaces that were discovered with this legacy method.

centralized nmap

Centralized nmap scan

Note: centralized nmap is a legacy discovery method that is no longer available. This method appears in the Discovery Method column for interfaces that were discovered with this legacy method.

satellite nmap

Satellite scan

managed

  • If IPv6 compatibility is enabled, data comes from the Discover - Managed Interfaces Include IPv6 saved question.

  • If IPv6 compatibility is disabled, data comes from the Discover - Managed Interfaces saved question.

Add columns to data grid

From any of the data grids on the Interfaces pages, you can customize the columns in the data grid. Click Customize Columns customize-columns. Then, sort the results on that column, add columns to the data grid, and filter the results. For more information, see Apply table filters.

Export data

To export the current data grid of interfaces to a CSV file, click Export Data GridExportIcon_legacy-ActivePrimary-32. The export includes the data that currently appears in the data grid. The CSV file does not include ignored interfaces unless you apply the Ignored saved filter before exporting.

The Unmanageable column in the CSV file indicates if the endpoint can be managed by the Tanium Client. The following table explains the numbers in the Unmanageable column.

Table 2. Possible values for the Unmanageable column

Number

Label

0

Managed or Manageable (automatic)

1

Unmanageable (automatic)

2

Manually Marked Manageable

3

Manually Marked Unmanageable

Mark interfaces as manageable or unmanageable

You can automatically or manually mark interfaces as manageable or unmanageable. A manually applied label overrides an automatically applied label. For example, if an interface was automatically marked as unmanageable, you can override that label by manually marking the interface as manageable.

  • You can use the Mark Unmanageable label activity to automatically mark interfaces as unmanageable with custom criteria. For more information, see Automatically label interfaces.

  • You can manually mark an interface as manageable.

    1. From the Main menu, go to Modules > Discover > Interfaces.

    2. At the top of the page, select Unmanageable. By default, the Unmanageable OS Platforms predefined automatic label defines which interfaces are marked as unmanageable and shows on the Unmanageable page.

    3. Select an interface from the Details table.

    4. Click Mark Manageable to apply the Manually Marked Manageable label.

  • You can manually mark an interface as unmanageable.

    1. From the Main menu, go to Modules > Discover > Interfaces.

    2. At the top of the page, select Unmanaged.

    3. Select an interface from the Details table.

    4. Click Mark Unmanageable to apply the Manually Marked Unmanageable label.

Filter interfaces

You can apply saved filters, advanced filters, and table filters to Discover interfaces.

Important: Ignored interfaces appear only when you apply the Ignored saved filter and do not appear in other saved filter results, including All. When you apply the Manually Ignored advanced filter, ignored interfaces appear only if you also apply the Ignored saved filter. When you apply the All saved filter, the total item count in the Details section might be higher than the number of interfaces listed because the table count includes ignored interfaces. For more information, see Ignore interfaces.

Apply saved filters

Click a saved filter option to filter data by interface type. Saved filters apply to both the Top 10 Results section and the Details table.

Figure 1. Saved filters for Discover interfaces
Saved filters for Discover interfaces

Apply advanced filters

To see advanced filters, expand Filters. Use advanced filters to filter interfaces by attributes such as IP address, OS platform, and discovery method:

  1. To add an individual filter, click Add Row. To add a group of filters, click Add Group.
  2. Select an attribute from the Select Attribute list.
  3. Select an operator from the Select Operator list. The available operators depend on the attribute that you select.
  4. Enter or select a filter value. The available values depend on the attribute that you select.
    Important: The values for the equal to and not equal to operators are case-sensitive.
  5. To switch between Boolean operators, select OR or AND.
  6. To apply a filter, click Apply Apply on the filter row. To remove a filter before you apply the filter, click Close Close.

You can modify advanced filters after you apply them:

  • To edit a filter, click Edit Edit. Update the attribute, operator, or value. Then click Apply Apply to save your changes.

  • To reorder a filter, drag the filter by the handle Drag.

  • To remove a filter, click Delete Delete.

  • To remove a group and all filters in the group, click Delete Group Delete Group.

Tip: If you add a range of addresses with the IP Address filter, you can enter the range in CIDR notation or as starting and ending addresses separated by a hyphen (-). If you enter starting and ending addresses, both addresses must use the same IP version (IPv4 or IPv6) and you must order the addresses from low to high. For example, fe80::-fe80:ffff:ffff:ffff:ffff:ffff:ffff:ffff is a valid range.

Advanced filter options are similar to the filter options available in the Tanium Interact Question Builder. For more information, see Issue a question through the Question Builder.

Apply table filters

You can filter the Details table by MAC address, manufacturer, host name, IP address, and OS platform. Table filters apply only to the Details table and do not filter the Top 10 Results charts. Filters that you enter appear at the top of the table. To remove individual filters, click Close Close. To remove all table filters, click Clear Filters.

Ignore interfaces

When you ignore an interface, the interface is removed from the list of interfaces and is added to the list on the Interfaces > Ignored page. The Top 10 Results charts and the Details table do not include ignored interfaces unless you apply the Ignored saved filter.

  • To ignore interfaces, select interfaces and click Ignore, or create an automatic label to ignore interfaces. To create automatic labels, see Automatically label interfaces.

  • To start tracking an interface again, update the interface on the Interfaces > Ignored page. If you ignore an interface with an automatic label, you cannot override the Ignored filter with a manual setting on the interface. If you have manually ignored an interface, locate the interface with the Ignored saved filter and click Unignore.

Locations

Important: Locations does not support IPv6.

You can group discovered interfaces by mapping subnets to geographic or physical locations. After you map the network address and network address translation (NAT) address (CIDR, IP, or IP range) to your own hierarchy of locations, you can see information about how many devices are at a location on the Interfaces page. You can also assign access to network interface information to Tanium user groups.

Note: To develop the location hierarchy, work with your network team. Typically, the network team has location information in an IP Address Management (IPAM) database.
Important: For location permissions to work with personas, user groups that are assigned to a location must be added to the default persona for a user, not to an alternative persona. For more information about personas and user groups, see Managing role and computer group permissions through personas and Managing user groups.

Create location spreadsheet

Import locations by creating a comma-separated values (CSV) file. This file must be UTF-8 encoded.

Note: Discover does not read location information from custom tags applied to endpoints. You must import the location values into Discover.

Discover provides formatting guidance and a CSV file template. From the Main menu, go to Modules > Discover > Locations > Import Locations. To view an example of a correctly formatted CSV file, expand Guidance for Formatting CSV Files. To download the LocationsTemplate.csv template, click Download CSV Template.

CSV header

The first row of the CSV file must contain at least three headers: Network, NAT, and at least one location column. You can have multiple headers for location to create a hierarchy of location information. The naming of the headers does not need to follow a certain pattern, but the first two columns must contain Network and NAT values.

CSV values

CSV values can contain alphanumerics, white space, parentheses ( ( ) ), number signs (#), or hyphens (-). The columns have the following requirements:

  • Network column: Values in the network column can contain a mix of CIDR and IP ranges.

  • NAT column: Values in the NAT column can contain a mix of CIDR and IP ranges. This column must exist in the CSV file, but the values can be left blank by using "" as the value.

  • Locations columns: Headers and values for the locations are user-defined and generally go from largest geographical location (country, region) to smallest (city, office). Use a maximum of five columns for location (for example: Country, State, City, Building, Floor).

Each row maps one Network value and one NAT value to a location. To support disjointed subnets, add a separate row for each range and repeat the location values, for example, 10.10.10.0/24 and 10.10.100.0/24.

You cannot end a row at a location that is a parent location in another row. Rows can end at different locations in the hierarchy. For more information, see Problem: Error with locations CSV file.

You can view the IP addresses and NAT IP addresses of managed endpoints on the Client Status page. From the Main menu, go to Administration > Configuration > Client Status. Review the Network Location (from Client) column for Tanium Client IP addresses and the Network Location (from Server) column for NAT IP addresses.

CSV example

CODE
"Network","NAT","Country","State","Site","Building","Floor"
"10.0.0.0/24","","United States","New York","NYC","300 Madison","33"
"10.1.5.100-10.1.5.250","","United States","New York","NYC","300 Madison","30"
"10.2.1.0/24","10.2.2.200-10.2.2.205","United States","North Carolina","RTP","Pinnacle 3005","5"

Import locations

Upload the CSV file that you created with the defined location values.

CAUTION: Each time you upload a CSV file that contains locations, any existing locations in Discover are removed and replaced with the hierarchy in the new file.
  1. From the Main menu, go to Modules > Discover > Locations.
  2. Click Import Locations and upload the CSV file you created. The location values are evaluated and applied to the interfaces list.
    Tip: Make sure the CSV file matches the required formatting that appears on the Import Locations dialog. Additionally, any values in the CSV file that contain whitespace characters must be enclosed in double quotes ("). For example: "123 Main St".
  3. A list of locations is displayed on the Locations tab.

    You can search the locations as needed. To export a filtered CSV file based on the search results, click Export Locations.

    Example Locations page in Discover

Assign location permissions

You can assign user group access to data in Discover based on location. When a user group is granted permission to a location, the users in that group can see only interfaces that are in the specified locations.

CAUTION: Before any locations are assigned permissions, all users can see all locations. After any permissions are assigned for locations, a user must be assigned location permissions to see interfaces. Tanium Administrator, Discover Administrator, and Discover Operator users can see all interfaces. If location permissions are defined, users with Discover User role can no longer create labels.
  1. Create a user group that has access to the Discover module. For more information, see Managing user groups.
  2. From the Main menu, go to Modules > Discover > Locations, open the Permissions tab, and then click Create Permission.
  3. Select user groups and associated locations.

    If a location has child locations, all the children are selected.

    Example 'Create Permissions' page with user group and location selected

    Click Save.

Location results

Locations are evaluated and applied to interfaces during the import process of a discovery scan. You can filter by location in the Interfaces > Locations chart.

Figure 2. Example Locations chart
Example Locations chart

The chart shows all interfaces regardless of assigned permissions, but the interfaces in the grid that follows the chart show only what is permitted for the user based on their assigned permissions.

Labels

Labels include descriptive information or metadata that you can use to identify and group interfaces. For example, labels let you group interfaces by attributes like device type, operating system, or business unit, making it easier to target specific interfaces for business processes and initiatives. You can also use labels to filter out interfaces that you do not want to manage to help maintain a clean and accurate interface inventory. For example, you can apply a label to ignore an interface to exclude it from views and lists, or you can purge it to remove it from Discover entirely. In addition, you can label interfaces that cannot run the Tanium Client as unmanageable, such as printers, IP phones, routers, and switches.

Types of labels

Tanium provides built-in labels and the Discovery Label Gallery so you can quickly get started applying labels to interfaces. These labels address many common use cases, but you can also create user-defined labels if you have custom requirements.

Built-in labels

Discover provides the following built-in labels:

  • Lost Interface: An interface that was not managed within the last 24 hours and was discovered in the last four hours

  • New Managed Interface: A new interface in your environment that has the Tanium Client installed

  • New Unmanaged Interface: A new interface in your environment that does not have the Tanium Client installed

  • Promote Unmanaged Interface: Promotes the interface to Tanium™ Data Service (TDS) for use in other modules except in Tanium Reporting

  • Purge Stale Interface: Purges any interface that has not been detected in seven days

  • Unmanageable OS Platforms: An interface on a device that cannot run the Tanium Client, such as a router or printer

Discover uses these built-in labels to export events for Discover notifications through Tanium Direct Connect. If you delete any of these labels, Discover recreates them with their default definitions. For more information about sending event notifications, see Create connection for event notifications.

Discover Label Gallery labels

The Discover Label Gallery is a list of commonly defined labels and their definitions. You can use these labels to implement best practices, such as identifying common device types or maintaining your interface inventory. You can also edit these labels to adapt them to your environment. Each label has a link to its definition in JSON format that you can copy and import into Discover. For more information about importing labels, see Import labels.

For more information, see Discover Label Gallery.

User-defined labels

You can create your own labels and then import them for discovery scenarios that are not addressed by built-in or Discover Label Gallery labels.

Important: User-defined labels are included in exports for Discover Label Notifications. For more information, see Export interface data to a Connect destination.

Import labels

By default, Discover provides only built-in labels. You can import additional labels definitions in a JSON-formatted file so you can apply them to interfaces.

  1. Create a JSON-formatted file that contains one or more label definitions that you want to import.
    Note:

    For best results, import labels from the Discover Label Gallery to address common use cases. You can also customize these labels to adapt them to your environment, or use them as templates for user-defined labels. The Discover Label Gallery is also available from Discover Overview > Help.

    After you locate the label collection that you want to download, right-click the link and select Save Link As. Save the file with a .json file extension. For example, label.json. For more information, see Labels for common use cases.

  2. From the Menu menu, go to Discover > Labels, and click Import Labels.
  3. Drag the JSON file into the Import Labels window, or browse the file system to upload your label file.
  4. Click Import, then view which labels were created, and click Close.

Export labels

Export labels as a JSON file if you need to backup customized labels, share labels among environments, or preserve labels as you fine-tune their definitions.

  1. From the Main Menu, go to Modules > Discover > Labels.
  2. Select the labels that you want to export:
    • To export specific labels, click the checkbox on one or more label rows.
    • To export every label, click Export All.
  3. Click Export.

Automatically label interfaces

You can configure Discover to automatically apply a label to interfaces that match specified criteria. Each automatic label has two primary components: an activity and one or more conditions. When you create the automatic label, you select an activity that Discover performs on interfaces that match the conditions. Discover applies automatic labels to interfaces each time Discover imports results.

Activities

An activity is an action that Discover takes on an interface when it matches the label conditions. The activity determines whether the interface is kept, labeled, ignored, or removed. For example, you can select the Purge activity to remove from Discover any interface that matches a printer's MAC address.

Important: The Purge activity also removes ignored interfaces that match the label conditions, even though those interfaces do not appear on the label details page. Before you create a label with the Purge activity, you can review Interfaces > Ignored for interfaces you want to keep.

Label conditions

A label condition is the set of criteria that determines when Discover automatically applies a label. For example, if you want to label interfaces on a specific subnet, you can create a condition that matches interfaces within an IP address range.

You create a label condition by defining a condition clause comprised of an attribute, operator, and value. A label can contain up to 900 conditions clauses. For more information about conditions and the information returned by each discovery method, see Reference: Data returned by profile type.

Condition operators

An operator defines how to compare the attribute to the value. Each operator has a positive form and a corresponding negative form. For example, there is a contains operator and a corresponding does not contain operator. Not every operator is supported for every attribute.

Important: The IP Address, Hostname, and Labels attributes support matching on patterns and ranges. Regular expressions are not supported.

The following table describes operators that accept special value formats.

Table 3. Condition operators

Operator

Description

equal to

An exact match, such as 192.168.1.195.

has an address in the range

For IP Address, a range or CIDR block, such as 192.168.1.195-192.168.1.197 or 192.168.1.0/24.

If you enter starting and ending addresses, both addresses must use the same IP version, and you must order the addresses from low to high. For example, fe80::-fe80:ffff:ffff:ffff:ffff:ffff:ffff:ffff is a valid range.

matches pattern

Glob match that supports * (multiple characters) and ? (single character), such as 192.168.1.??? matches IP that have three digits in the last octet.

The pattern must match the entire value.

contains

Partial match for a value.

has <value>

Match for at least one value.

is empty

No value present.

Condition wildcards

You can use the underscore character (_) as a wildcard in a label condition to represent any number or literal character. For example, consider the following MAC addresses:

CODE
02-0F-B5-61-AB-01
02-0F-B5-38-1F-39
02-0F-B5-98-5B-69
02-0F-B5-55-0C-21
02-0F-B5-32-FA-E1

The condition MAC contains B5-3_ matches the following MAC addresses:

CODE
02-0F-B5-38-1F-39
02-0F-B5-32-FA-E1

Create an automatic label

  1. From the Main menu, go to Modules > Discover > Labels, and click Create Label.
  2. For Type, select Automatic.
  3. In the Activity section, select an activity to apply to interfaces. For more information, see Activities

    If you select Promote, Discover stores the unmanaged interface data in TDS for use in other modules. Only unmanaged interfaces can be promoted. If found during a network scan, the interface must also have a MAC address.Discover automatically applies the conditions required to promote an interface. You do not need to define additional conditions. For more information about Tanium Data Service, see Managing sensor results collection through TDS.

  4. Add one or more conditions that determine which interfaces match the label. For more information, see Label conditions.
  5. (Optional) Click Calculate Applicable Interfaces in the Applicable Interfaces section to verify matching interfaces.
  6. Click Create .

Discover applies automatic labels to interfaces each time Discover imports results. To see when the last import completed and when the next import runs, from the Main menu, go to Modules > Discover > Overview and review the Recent & Upcoming Imports chart in the Activity section.

Manually label interfaces

Note: You can manually label an interface with user-defined labels only. You cannot manually add an automatic label to an interface. Discover applies automatic labels based on label conditions only. For more information, see Automatically label interfaces.

Create a manual label

Create custom labels for discovery scenarios that are not addressed by built-in or Discover Label Gallery labels. You might need to manually apply a user-defined label if you determine how you want to manage an interface after it is imported into Discover.

  1. From the Main menu, go to Modules > Discover > Labels, and click Create Label
  2. Give the label a Name. For Type, select Manual, then click Create.
  3. From the Main menu, go to Modules > Discover > Interfaces and select the row of one or more interfaces that you want to label.
  4. Click Add Label, and select the label from the list.

Remove a manual label

Remove a manually applied label from an interface when it is no longer needed to manage or track the interface.

  1. From the Main menu, go to Modules > Discover > Interfaces.
  2. In the Details section, find the interface in the grid, and click Interface Details ExpandSidePanelIcon to open a side panel that shows information about the interface.
  3. Beside Labels, find the manually applied label that you want to remove, and click close-icon to remove the label from the interface.

Best practices for labels

Implement effective labeling strategies keep your interface inventory accurate and to support business processes.

Labels for common use cases

Many environments share the same requirements for devices that are typically unmanageable or irrelevant. For example, you cannot manage devices like routers or printers that cannot run the Tanium Client, and you do not want to track inactive devices in your interface inventory. To address these common use cases, Tanium provides Collection of Labels for New Deployment or POC in the Discover Label Gallery.

This collection include the following labels:

  • D99_Common_Unmanageable_by_Manufacturer_<data-id>: These labels use manufacturer names to identify traditionally unmanageable interfaces and marks them as unmanageable.

  • D55_Managed_Systems_Disconnected_Interfaces: This label ignores interfaces that are not in use by your managed endpoints.

  • M02_Purge old Interfaces: This label purges interfaces that have not been seen for 30 days so you do not manage ephemeral or inactive devices.

    Important: If you installed Discover for the first time with version 4.4 and used the Tanium Recommended Installation workflow, you also have the more aggressive Purge Stale Interface label. This label is configured to purge interfaces that have not been detected in seven days.

For more information, see Discover Label Gallery labels.

Create a Connect job for lost interfaces

You can use the built-in Lost Interface label to create a Connect job that notifies you whenever a managed interface stops communicating with Tanium. A lost interface is any interface that was managed within the last 24 hours but is currently unmanaged. Typically, this occurs because the Tanium Client was uninstalled, or it is not registering with the Tanium Server. You should investigate lost interfaces to determine the cause of the communication issue.

You can send Connect notifications to event destinations such as email, SIEM, or Splunk. For more information about creating a Connect job for lost interfaces, see Create connection for event notifications

Apply labels by location

Labels are applied globally across all interfaces and do not respect location permissions. To help organize your interfaces by location, you should apply labels to all interfaces that are associated with that location. For example, you can create a Boston label and apply it to all interfaces discovered in the Boston location.

Applying labels by location provides the following benefits:

  • Users can filter and view interfaces associated with their location.

  • Users apply labels only to interfaces allowed through their location permissions.

  • You can implement location-based workflows with labels. For example, you can create a connect job for lost interfaces for each location, and you can create location-specific Tanium Client Management deployments. For more information about Connect jobs, see Create a Connect job for lost interfaces. For more information about deploying the Tanium Client with labels, see Endpoint onboarding.

To label interfaces by location, you must configure location permissions and create an automatic label with a condition that references the location. The following steps provide a high-level overview of the process.

  1. Create location permissions that associate one or more user groups with a location. For more information, see Assign location permissions.
  2. Create an automatic label that includes the condition: Location has a location within location-value. For more information about creating automatic labels, see Automatically label interfaces.

For more information about locations, see Locations.

Endpoint onboarding

Endpoint onboarding is the process of installing the Tanium Client on unmanaged endpoints. Labels can help you identify endpoints that you want to bring under Tanium control. You can create a label and use that label as a deployment target to deploy the Tanium Client to unmanaged interfaces. For example, you can apply a label to all interfaces in the network for a new office location and then configure a satellite to deploy the Tanium Client on interfaces with that label.

For more information about using Discover labels to deploy the Tanium Client, see Deploying the Tanium Client using Client Management.