Enforcing scan configurations

Manage your scan configurations to select how and when scans are enforced. The list of available Windows and Linux patches comes from scanning the endpoints in your network. The scan configuration determines a scanning technique and frequency. A scan configuration is enforced by targeting computer groups.

For Windows endpoints, the available scanning techniques include the offline CAB file, online Microsoft Windows Update, and Tanium Scan.

For Windows scan configurations, you can enable isolated endpoints to download patch files directly from Microsoft instead of the Tanium Server to free network resources. An isolated endpoint is a Tanium Client that has no peer Tanium Clients. To download patches directly from Microsoft, an isolated endpoint must be connected to a user-configured list of Tanium Zone Servers or IP address ranges for split-tunnel VPN clients.

For Linux endpoints, the available scanning techniques include Repository Scan and Tanium Scan.

Windows scan techniques

Tanium Scan

Important: Do not set the IgnoreWindowsUpdateGroupPolicies configuration service provider (CSP) policy on endpoints that use Tanium Scan for Windows. This policy prevents Windows from correctly using the internal WSUS server hosted by Tanium, resulting in issues with Tanium Scan.

Tanium Scan for Windows allows Atlas to assess all Microsoft Products (excluding Microsoft 365 Apps, Office 2019, and Office LTSC) and Update Classifications (excluding Drivers, Definition Updates, and Upgrades) on supported Windows 10 or later endpoints. The Atlas service on the Module Server is configured to synchronize update metadata and detection rules directly from Microsoft.

After the update metadata and detection rules are synchronized, the Atlas service distributes portions of this data (in a client database file) to applicable machines on the network. The Windows Update Agent performs the scan against selected products and classifications and return data in the form of applicable and not applicable patches.

Tanium Scan for Windows is much less resource intensive than the offline CAB file scan method and provides more robust scan results. Tanium Scan does not rely on each endpoint having network access to Microsoft Update. For more information about Tanium Client requirements, see Core platform dependencies.

Note: If you want to use Tanium architecture to deliver cumulative updates for Windows 11 version 22H2 or later endpoint, you must use Tanium Scan.

If enabled in Configuration Settings, the Online Microsoft Windows Update scan technique supports direct download of patches from Microsoft to isolated endpoints.

Offline CAB File

The Windows Cabinet (CAB) file is stored locally by the Tanium Client and contains security updates, update rollups, and service packs for all products in the Microsoft Update Catalog, including Windows and Office. On the Patch Overview page, the latest status of the offline CAB file is available. The active CAB file is the most recent, verified file published by Microsoft. Atlas uses only the active CAB file for scan configurations. A rejected CAB is not pushed to a computer group. Atlas checks for an updated CAB file every 15 minutes. You can click Update CAB to force a new download outside of the normal schedule.

Example CAB file status
cab_file_info
Note: Offline CAB File includes only Security Updates, Service Packs, and Update Rollups updates. Because other scan methods include more updates than Offline CAB File includes, if you change the scan configuration technique on an active deployment from Offline CAB File to another technique, additional patches might be installed on endpoints.

Online Microsoft Windows Update

The Online Microsoft Windows Update option creates additional network traffic between the Tanium Client and Microsoft and is for Microsoft updates in Windows operating systems only. The full range of patches in the following list are available for scanning in the Windows operating system:

  • Critical patches

  • Cumulative security and quality patches

    CAUTION: The Microsoft online APIs do not always provide the required URLs to download and install cumulative update patches. Use this option only in situations where you are auditing patch compliance.
  • Non-security and optional updates

If enabled in Configuration Settings, the Online Microsoft Windows Update scan technique supports direct download of patches from Microsoft to isolated endpoints.

Linux scan techniques

For Linux endpoints, the available scanning techniques include Repository Scan and Tanium Scan.

Note: To simplify Linux scanning, enable Enhanced Linux Support in the Configuration Settings. This setting lets you create a single scan technique that applies to multiple Linux distributions, instead of having to create separate OS-based scan techniques.

Repository Scan

Using repositories for patching activities gives the option for the full range of patch types for all updates in the repositories. However, you must configure one or more repositories, and updates must be maintained in the repositories. The Tanium Client must be able to contact the repositories for scanning as well as patch downloads.

For the Repository Scan technique, you can use all repositories from which an endpoint can pull.

Note: When using the Repository Scan technique with Red Hat distributions, endpoints must be directly registered with Red Hat or a Red Hat Satellite server.

Tanium Scan

Note: For best results, create a single scan configuration for Tanium Scan for Linux targeting the Patch Supported Systems computer group with each included repository targeted to the proper operating systems. For more information, see Red Hat Linux endpoints stuck in Waiting for Initial Scan status.

Tanium Scan for Linux uses external repositories, but only the Tanium Server needs connectivity to the repositories. The Tanium Client stores the repository scanning logic in the local Tanium Client directory. Package managers (for example, Yum, DNF, Zypper, and Apt) cache repository data in the /var partition. In most cases, the cache does not exceed 500 MB. If you use lean partitioning or have a high count of configured repositories, evaluate the available disk space and partition configurations to ensure /var has sufficient free space. If you patch from repository snapshots, ensure that the /var partition has at least two times the needed free disk space, as both the snapshot and non-snapshot repository data occupy this space.

Tanium Scan supports AlmaLinux, CentOS, Debian, openSUSE, Oracle Linux, Red Hat, Rocky Linux, SUSE, and Ubuntu distributions. With Tanium Scan for Linux, you can create and use repository snapshots for deployments. For more information, see Linux repository snapshots.

Note: When using the Tanium Scan technique with Red Hat distributions, you must use Red Hat Content Delivery Network, Red Hat Satellite 6 or later, or custom repositories.

Tanium Scan incompatibility with LibZypp Services Plugins

Tanium Scan for Linux is not compatible with LibZypp Service Plugins, such as Spacewalk. LibZypp Service Plugins provide a client a list of repositories. This method conflicts with Tanium Scan being the sole source of repositories.

If a LibZypp Service Plugin is in use when attempting to run Tanium Scan, scan and deployment error messages are displayed because this configuration is unsupported.

To determine if there are any LibZypp Service Plugins on an endpoint, review the /usr/lib/zypp/plugins/services directory, where all LibZypp Service Plugins are listed. If the /usr/lib/zypp/plugins/services directory is not empty, Tanium Scan is not supported.

You cannot disable LibZypp Service Plugins during a Tanium Scan. If possible, uninstall the plugin and create repositories using Tanium. If the plugin package cannot be uninstalled, use Repository Scan instead of Tanium Scan.

Create a scan configuration

You can create multiple scan configurations and add computer group enforcements as needed.

Note: Any supported endpoint should be targeted by at least one scan configuration.
  1. In Tanium Atlas, enter the following chat prompt: Create a scan configuration.
  2. When Atlas asks for details, enter the following in the chat. Include any optional settings in the same message.
    1. Name: A name for the scan configuration.
    2. Operating system: The operating system of the endpoints to scan.
    3. Configuration technique: (Windows and Linux) The technique to use: Tanium Scan, Offline CAB File (Windows), or Repository Scan. For Linux, also enter the distribution and the repositories to scan.
      Note:
      • For Windows endpoints, use Tanium Scan.

      • For CentOS, Debian, Oracle Linux, Red Hat, SUSE, and Ubuntu endpoints, to use repository snapshots for Linux deployments, use Tanium Scan.

      • For Amazon endpoints, you must use Repository Scan.

    4. Frequency: A number and a time parameter.
      Note: Use a value of less than three days to improve the Patch coverage metric.
    5. (Optional) Also specify any of the following:
      • Description: A description of the scan configuration.

      • Random scan delay: A time to distribute the network activity. The default is 120 minutes.

        Tip: For VDI environments, use a longer scan delay, such as 480 minutes or higher, depending on the density and hardware performance of your VDI environment, to reduce the impact of the scan on the host system.
      • Scan window: Restrict scans to a certain time of day or day of the week. For example, scan daily, but only from 6:30 PM to 11:30 PM. Specify the following:

        • Whether the scan window repeats daily or weekly, and any additional frequency options.

        • Whether to use the local time on the endpoint or UTC.

        • The start time and the duration of the window.

        • (Optional) Scan immediately if the scan age is older than a threshold, in hours or days. This overrides the scan window settings. Use less than two days to improve the Patch coverage metric.

        Note: The scan window specifies when a scan can start. If you use a random scan delay, scans can start as late as the specified delay after the end of the scan window. For example, if a scan attempts to start one minute before the end of the scan window, but receives the full random scan delay of 120 minutes, the scan does not start until after that 120 minutes and continues to run until completion, even though the scan window is already closed.
        Note: A scan window is different from a maintenance window. Maintenance windows are mandatory, one-time or repeating time frames that define when Windows and Linux patches can be applied to a computer group. Scan windows are optional restrictions that define when endpoints are scanned.
      • Download and scan immediately upon new CAB release: (Windows, Offline CAB File) Ensures that endpoints are scanned when a new CAB file is published. This overrides the frequency settings, but scans still wait for the scan window.

      • Deployment snapshots: (Linux) To use repository snapshots for Linux deployments, the repository name and the snapshot.

        Note: If you use this feature, be aware that the snapshot files use additional disk space in the /opt/Tanium/TaniumClient/Tools/Patch/data/repos and /var/cache directories. For example, the directories might contain repo-42 and repo-42-snapshot-1 files.
  3. When Atlas asks you to approve creating the scan configuration, review the details, and then choose Approve once.
  4. To enforce the scan configuration, enter the following chat prompt, where <scan configuration> is the name or ID of the scan configuration and <computer group> is the name or ID of the computer group: Enforce <scan configuration> on <computer group>. Then approve the request as in step 3.

The list of available patches might appear within 15-30 minutes. Longer scan delays might result in patches appearing slowly. If no data appears after the scan delay, Delete a scan configuration. If an endpoint cannot be scanned, for example if it is offline, it is scanned at the earliest opportunity.

View enforcement status

By reviewing a scan configuration, you can see which endpoints in the computer group contain the enforced configuration.

  1. In Tanium Atlas, enter the following chat prompt: View a scan configuration.
  2. When Atlas lists the scan configurations, enter the name or ID of the scan configuration to open.
  3. Review the results. Atlas shows the settings of the scan configuration. For each computer group that the scan configuration is enforced on, Atlas also shows the number of endpoints in each enforcement status.
    Note: Investigate endpoints with scan errors that have scan results older than two days and resolve the errors for each endpoint. For more information, see Troubleshoot scan errors on Windows and Linux endpoints.

Edit a scan configuration

  1. In Tanium Atlas, enter the following chat prompt: Edit a scan configuration.
  2. When Atlas asks which scan configuration to edit and what to change, enter the name or ID of the scan configuration and the settings to change.
  3. When Atlas asks you to approve the changes, review the details, and then choose Approve once.

Remove a scan enforcement

Removing a computer group from a scan configuration removes the enforcement.

  1. In Tanium Atlas, enter the following chat prompt: Remove a scan enforcement.
  2. When Atlas lists the enforcements, enter the name or ID of the scan configuration and the name or ID of the computer group to remove.
  3. When Atlas asks you to approve the removal, review the details, and then choose Approve once.

Delete a scan configuration

After the enforcements are removed, you can delete a scan configuration.

  1. In Tanium Atlas, enter the following chat prompt: Delete a scan configuration.
  2. When Atlas lists the scan configurations, enter the name or ID of the scan configuration to delete.
  3. When Atlas asks you to approve the deletion, review the details, and then choose Approve once.