Managing software

You can use Software Management to specify conditions for deploying software packages and determine how software will interact with your environment. For example, you can enable package cleanup to manage how many versions of a software package you keep in your environment. You can also create software packages to deploy third-party software that is not available in the predefined package gallery. Use software packages to install, update, or remove software on a set of target computers. Create software bundles to specify a sequenced list of software packages to deploy.

Atlas also provides a gallery of common software packages in the Predefined Package Gallery. See Reference: Predefined Package Gallery. The Predefined Package Gallery page lists predefined software package templates that you can import. Use the Predefined Package Gallery to import third-party software package templates to install, update, or remove software on a set of target computers.

Note: Tanium does not repackage or redistribute third-party software installers. The Tanium software package templates provide you with the remote file paths to directly download the software installer from the third-party vendor. You must review any applicable third-party End User Licensing Agreement (EULA) before you import third-party software to the Tanium software package catalog. Tanium is not responsible for accepting, nor does it accept, any EULAs from third-party software vendors on your behalf.

Create a software package

  1. In Tanium Atlas, enter the following chat prompt: Create a Deploy software package.
  2. When Atlas asks for details, enter the following in the chat:
    Important: If you leave out a value, Atlas can choose a placeholder for it. Before you approve, check that the details are the ones you intended.
    1. Identify the software. Enter the product vendor, product name, product version, and platform (Windows, macOS, or Linux).
    2. Add the installer. Enter the download URL of the installer. Atlas has the Tanium Server download the file to get its hash and size, and asks you to approve the download. If the URL does not end in the file name, enter the file name too.

      You can add more than one file. Atlas cannot use a file attached in chat, so host each file at an HTTP, HTTPS, or UNC location that the Tanium Server can reach.

      Important: If you add a remote file, configure network egress allow list rules to ensure that Tanium Cloud can access the remote location. For more information, see Configuring network egress for Tanium Cloud.
    3. Describe the installer. Enter the installer type (MSI, EXE, or MSIX). For an EXE installer, enter the vendor's silent-install switches. If the software installs for the current user only, say so, and Atlas runs the commands as the active user.

      (Optional) To end or pause a running process before the installation, enter the process name, for example, application.exe.

      Important: Do not use a command that causes a system restart. With this type of command, the deployment malfunctions and endpoints can reboot multiple times without warning. To deploy a software package that needs to restart, use the restart settings in deployments and Self Service profiles. For more information, see Manually deploy a software package or bundle and Create a Self Service profile.
    4. Choose operations. Enter which operations the package supports: install, update, and remove.
    5. Set system requirements. Enter the minimum system requirements for the software package to run on the endpoint.
      • Architecture: The allowed architectures for the software package based on the platform. On endpoints where the architecture does not match, the software package shows a status of Not Applicable.

        • (Windows) Enter x86 for software that cannot be installed on 64-bit Windows systems. Enter x64 for software that can only be installed on x64 Windows systems. Enter ARM64 for software that can be installed on ARM-based Windows systems. Enter all three for x86 software that can be installed on x64 and ARM-based Windows systems.
        • (macOS) Enter x64 for software that should only be installed on Intel-based Mac endpoints. Enter ARM64 for software that has only a native ARM64 binary. Enter both for software that has a universal binary, does not install a binary, or can run using Rosetta.
        • (Linux) Enter x86, x64, or ARM64 based on the platform for which the software is compiled. Enter any combination of the three for software packages that do not install compiled code or that do so in a platform-agnostic fashion.
      • Disk space: (Optional) The minimum available system disk space required. For best results, specify at least three times the total size of the package files.
      • RAM: (Optional) The minimum physical RAM required.
      • Operating systems: (Optional) The supported operating systems on which to allow Atlas to install or update the software package.

        Note: Specify an operating system only if the software package should never be installed or updated on other operating systems.
    6. Identify the application. Enter the name that the Deploy inventory reports for the software. Atlas uses the name to configure the applicability rules that determine whether the software package is installed, and, if the package supports update, whether it is update eligible. If an endpoint has the software installed, Atlas reads the name for you. If no endpoint does, Atlas marks the rule as unverified.

      For more information about how Atlas determines applicability, see Software package applicability in Atlas.

    7. (Optional) Add installation requirements. Enter the software that determines whether this software package is install eligible.
    8. (Optional) Add other details. Enter details to display in the Self Service Client on the endpoint, or a content set.
      • Self Service display name: A name to display in the Catalog tab.
      • Support link: A URL to display in the package tooltip. Users can click the URL to visit the provided destination.
      • Description: An extended description to display in the package tooltip.
      • Content set: The content set for the package.

        Important: Because of the complexities of managing permissions with multiple users, you cannot move a software package from one content set to another after the initial assignment.
  3. When Atlas asks you to approve creating the package, review the details, and then choose Approve once. Atlas creates the package but does not deploy it.

    You can also ask Atlas to save the package as in progress to finish creating the package later.

Variables for Windows applicability scans and command-line operations

When you create a Windows software package, you can use ||PROGRAMFILES32BIT||, ||PROGRAMFILES||, ||ACTIVEUSERPROFILE||, or ||ACTIVEUSERREGISTRY|| as variables for applicability scans and command-line operations. For the Requirements, Update Detection, and Install Verification sections, you can use these variables if you select the Registry Path, Registry Data, File Path, File Size, or File Version filter fields.

Installer Architecture

Variable

Path

32-bit on 32-bit endpoint

||PROGRAMFILES32BIT||

Full path to %programfiles% folder

(example: C:\Program Files)

32-bit on 64-bit endpoint

||PROGRAMFILES32BIT||

Full path to %programfiles% (x86) folder

[example: C:\Program Files (x86)]

32-bit on 32-bit endpoint

||PROGRAMFILES||

Full path to %programfiles% folder

(example: C:\Program Files)

64-bit on 64-bit endpoint

||PROGRAMFILES||

Full path to %programfiles% folder

(example: C:\Program Files)

Any

||ACTIVEUSERPROFILE||

Profile directory of the active authenticated user

(example: C:\users\john.smith)

Any

||ACTIVEUSERREGISTRY||

Registry hive of the active authenticated user

(example: HKEY_USERS\USER-SID\)

Important: Use double quotation marks (") if any part of the path in a command contains a space, even if you use variables.

File/Folder actions

You can perform the following actions for files and folders.

Important:
  • Do not use quotation marks in the folder path or file name in File/Folder actions.

  • (Windows) Use ||ACTIVEUSERPROFILE|| to refer to paths in user's profile folders. Do not use %userprofile% or %appdata% or %localappdata% unless you need to interact with the SYSTEM account profile. For more information, see Variables for Windows applicability scans and command-line operations.

  • Copy File/Folder: Specify the fully qualified path and file name. If the destination is a folder, Atlas copies the source to the destination folder; it does not replace an existing folder. For example, a command to copy firefox.app to /Applications/firefox.app with overwrite enabled produces the following results, depending on whether /Applications/firefox.app is an existing folder:

    • If /Applications/firefox.app is not an existing folder, Atlas creates /Applications/firefox.app.

    • If /Applications/firefox.app exists, Atlas creates /Applications/firefox.app/firefox.app.

    To always replace /Applications/firefox.app, set the destination to /Applications instead of /Applications/firefox.app.

  • Create Folder: Creates a folder. If you specify a parent folder path that does not exist, it is created. For example, c:\temp\myfiles creates c:\temp folder and myfiles subfolder.

  • Delete File/Folder: Any subfolders of the folder that you specify are also deleted.

  • Extract File/Folder: Supported file types for extracting a file are 7Z, TAR, ZIP, BZIP2, GZIP, XZ, and Z. You can specify the following options for extract commands.

    Important: Extract commands fail on operating systems based on Linux Kernel 2.6 (RHEL 6, CentOS 6, Oracle Linux 6, and openSUSE 11). Use another method for file extraction on these operating systems.
    • Specify whether to overwrite existing files. If there is an existing file, however, you must also select Continue in the On Failure or Error section; otherwise, the extract command fails and Atlas retries the software package operation.

    • Specify a Command Timeout in minutes. The extract operation will time out after the number of minutes you specify. For best results, specify 1 minute for each 50 MB of file size. For example, if your file is 1 GB, specify a Command Timeout value of 20 minutes.

    • In the Extract To section, specify an option. Root of Destination extracts the contents of the compressed file in the specified destination. Folder within Destination creates a folder in the specified destination with the same name as the compressed file, and then extracts the file to the newly created folder.

    • As an example, to use the contents of an attached package file example.zip in a software package, specify example.zip as the Source and . as the Destination. Select Root of Destination and Overwrite Existing Files. Then, if example.zip contains a Setup.exe file that should be executed in this software package operation, add a Run Command step with Setup.exe at the start of the Run Command.

  • Rename File/Folder: Specify the existing (source) and new (updated) fully qualified path and file names.

(Windows) Guidance for creating software packages to manage user-installed software

You can use Software Management to detect and manage user-installed software on Windows endpoints.

User-specific installations

Some software titles must be managed on a per-user basis. User-specific installations most commonly exist when a user who is not a member of the local Administrator group installs an application. By default, some software installers install or run in user context even when run by a local Administrator account. Some software only installs on a per-user basis, such as Microsoft Teams classic. Generally, you do not need to create separate packages for system-wide and user-specific installations because many software installers update or replace user-specific installations when installed system-wide.

To create software package applicability rules to detect user-installed software, create Installed Application rules that use only the Active User type. For file paths in user profiles, create rules and commands using the ||ACTIVEUSERPROFILE|| variable. For registry paths in the user's loaded profile hive, use the ||ACTIVEUSERREGISTRY|| variable.

System-wide installation

Some application installers designed to run under user context are installed under the SYSTEM account profile, instead of machine-wide, when executed by the SYSTEM account. By default, Atlas runs commands as the SYSTEM account. You can force most Windows Installer (.msi) files to install system-wide if you include the ALLUSERS=1 property in the command-line arguments. For more information, see Microsoft documentation: Windows Installer Installation Context and Microsoft documentation: Windows Installer ALLUSERS property.

To create software package applicability rules to detect only system-wide software installations, create rules for system-wide file paths, such as ||PROGRAMFILES||, or for system-wide registry paths, such as HKLM\Software. For more information about Deploy variables, see Variables for Windows applicability scans and command-line operations.

Verify installations with applicability rules

Use Software Management to set rules that detect the correct installation types. The following examples illustrate how attributes and software package specifications detect the correct system and user installation types.

In this example, the Install Verification rule in the 3T Software Labs Ltd Studio 3T (All Users) software package uses the File Version attribute to ensure only system-wide installations are detected.

Install Verification section of the Create a Software Package page with the “||PROGRAMFILES||\3T Software Labs\Studio 3T\uninstall.exe” is equal to “2024.1.0” applicability rule.

In this example, the Install Verification rule in the 3T Software Labs Ltd Studio 3T (Active User) software package uses the File Version attribute to ensure only the installation of an active user is detected.

Install Verification section of the Create a Software Package page with the “||ACTIVEUSERPROFILE||\AppData\Local\Programs\3T Software Labs\Studio 3T\uninstall.exe” is equal to “2024.1.0” applicability rule.

Additionally, the 3T Software Labs Ltd Studio 3T (Active User) software package specifies Active User in the Deploy Operations section of the Create Software Package page.

Software package page in view mode specifying Run As: Active User.

Because both 3T Software Labs Ltd Studio 3T software packages detect only the correct installation types, the packages can be deployed to the same endpoints in a bundle to ensure all user copies stay updated, regardless of the original installation context.

Export a software package

You can export a software package so that you can later import the package.

  1. In Tanium Atlas, enter the following chat prompt: Export a Deploy software package.
  2. When Atlas asks which package, enter the name of the package.

Atlas saves the package definition as a JSON file that you can download from the chat.

Import a software package

You can import a previously exported software package.

  1. In Tanium Atlas, attach the exported JSON file to the chat and enter the following chat prompt: Import this Deploy software package.
  2. If the package already exists, Atlas does not import the package. To import the package anyway, tell Atlas what to change, such as the product name.
  3. When Atlas asks you to approve, review the details, and then choose Approve once.

    Atlas first checks the package definition. This check does not create the package.

View software package applicability

To view software package applicability and understand the results of your applicability rules, ask Atlas for the package applicability, the package requirements, and the reasons for each endpoint.

  1. In Tanium Atlas, enter the following chat prompt: View the applicability of a Deploy software package.
  2. When Atlas asks which package, enter the name of the package.
    • Atlas shows how many endpoints are in each applicability state: Installed, Install eligible, Update eligible, Update ineligible, and Not applicable.

    • The counts come from cached data. Cached data includes endpoints that are offline, but it is only as current as the last collection.

  3. To see the rules that decide applicability, ask Atlas for the requirements of the package.
    • Atlas lists the rules for the package, such as platform, architecture, disk space, memory, installation requirements, and update detection.

    • The rules are not evaluated in the order that Atlas lists them. For the evaluation order, see Software package applicability in Atlas.

  4. To find out why endpoints are not applicable, enter the following chat prompt, where <package> identifies the package by its name: Why is <package> not applicable on some endpoints?
    • When Atlas offers to check the endpoints, ask it to check the platform, architecture, disk space, and RAM.

    • Atlas shows the reason for each endpoint, such as Architecture requirement not met. Each reason is the result of one applicability rule. If an endpoint does not meet one rule, the package is Not applicable on that endpoint.

    • Only endpoints that are online answer the check, so the results can show fewer endpoints than the counts in step 2.

    For information about configuring applicability scans, see Applicability scans.

Software package applicability in Atlas

When determining software package applicability, Atlas checks the criteria specified in the software package in the following order, stopping at the first section with matching criteria.

  1. System architecture on the endpoint: If the architecture does not match any of the architectures defined in System Requirements, Atlas marks the software package as Not Applicable and moves on to the next software package.

  2. Install Verification criteria: If those criteria match, Atlas marks the software package as Installed and moves to the next software package.

  3. Update Detection: If an Update operation exists, Atlas then checks the Update Detection criteria. If those criteria are met, Atlas checks System Requirements:

    • If System Requirements match, Atlas marks the software package as Update Eligible and moves to the next software package.

    • If System Requirements do not match, Atlas marks the software package as Update Ineligible and moves to the next software package.

  4. Installation Requirements criteria: If Installation Requirements criteria do not match, Atlas marks the software package as Not Applicable and moves on to the next software package. If Installation Requirements criteria match, Atlas then checks System Requirements:

    • If System Requirements match, Atlas marks the package as Install Eligible and moves on to the next software package.

    • If System Requirements do not match, Atlas marks the package as Not Applicable and moves on to the next software package.

Keep the following clarifications in mind as you review software package applicability:

  • Installation Requirements affect only Install operations, not Update operations.

  • If you do not specify Installation Requirements, then the software package is marked Install Eligible if the endpoint meets System Requirements criteria for the software package.

View confidence score of software package

Confidence scores rate the probability that a package deployment will succeed. The score also provides information about performance degradation after a successful installation. Use the score to decide whether a package is reliable enough for deployment.

Tanium does not calculate confidence scores for certain gallery packages. These packages have a confidence score of N/A. For more information about packages that do not have confidence scores, see Software package confidence score.

Note: Confidence score is not available in Tanium Cloud for U.S. Government. For more information, see Feature availability in Tanium Cloud for U.S. Government.
  1. In Tanium Atlas, enter the following chat prompt: View the confidence score of a Deploy software package.
  2. To find the score for a specific package, enter the following chat prompt, where <package> identifies the package by its name: Show me the confidence score for <package>.

    Atlas shows the score status and the percentages. A package with not enough deployment history shows a status of Calculating.

    Table 1. Confidence score values

    Score

    Description

    High

    A score that indicates a package has a high execution success rate with few or no failed executions, and minimal or no performance degradations.

    Moderate

    A score that conveys caution because the number of failed executions or degradations is significant but not critical.

    Low

    A score that constitutes an alert due to a critical number of failed executions or degradations.

    Calculating

    Tanium Cloud has not yet collected results from the minimum number of endpoints (1,000) that is required for a valid score.

    N/A

    Tanium does not calculate a confidence score for this package. This applies to gallery packages that require customization before deployment, such as packages that need you to upload files or edit commands, or that use non-standard deployment operations, such as Microsoft InPlace upgrade packages.

  3. Review the metrics that Tanium uses to calculate the score.

    Each value represents the percentage of endpoints that meet the defined metric conditions, calculated from the number of reporting endpoints. Atlas also shows the number of endpoints behind each percentage.

    If a category has no data, Atlas leaves it out of the results.

    Table 2. Deploy confidence score metrics

    Metric

    Description

    Endpoint Readiness

    Percent likelihood that endpoints are in a suitable state to deploy a package.

    Risk Factors are endpoint conditions that could negatively affect readiness, such as low disk space or no enforced maintenance window. For example a Low Disk Space risk factor at 73% means that, on endpoints where low disk space is detected, the predicted deployment success rate is 27% lower than it would be if that issue were resolved.

    Execution Success

    Percent likelihood of execution success across endpoints that ran the package in prior deployments.

    Major Risk Factors are endpoint classifications, such as operating system version or device type, with the lowest execution success percentages. For example, if Google Chrome fails to install on a Windows 11 laptop, the failure is captured in the Windows 11 attribute and the Laptop attribute. When Show Additional Data is on, this sub-header changes to Top Risk Factors and shows up to 10 risk factors.

    Endpoint Health

    Percentage of endpoints that ran the action and did not experience any notable degradation in performance. Endpoint health is based on the following individual metrics:

    • No Application Crashes: Software is stable, operating reliably, and has not experienced any unexpected crashes. A crash is defined as an unexpected termination of the software application process due to errors, faults, or instability.

    • No CPU Spikes: Software is operational without experiencing sudden short-term surges in CPU usage. A CPU spike is detected when the software consumes 99% for any core on the endpoint for 3 minutes after software deployment. Spikes might indicate inefficient processes or performance degradation caused by the software.

    • Normal CPU Usage: Software CPU usage is operating within expected performance thresholds over time. Abnormal CPU usage is detected when usage exceeds two standard deviations above normal at any point in a 72-hour monitoring period. Abnormal CPU usage might indicate excessive processing load or performance degradation caused by the software.

    • Normal Memory Usage: Software memory usage is operating within expected performance thresholds. Abnormal memory usage is detected when usage exceeds two standard deviations above normal at any point in a 72-hour monitoring period. At least 15 minutes of usage is required to establish an average. Abnormal memory usage might affect performance or indicate memory‑related issues.

    • Local Data: Shows data relevant to your environment.
    • Global Data: Shows information across all endpoints that Tanium manages.

Create a software bundle

Create software bundles to specify a sequenced list of software packages to deploy. Use software bundles to manage multiple software packages at once and order their deployments. For example, you can create a software bundle with the software packages macOS Ventura - Phase 1: Pre-Cache and macOS Ventura - Phase 2: Upgrade in an ordered sequence to deploy a macOS 13 (Ventura) upgrade.

  1. In Tanium Atlas, enter the following chat prompt: Create a Deploy software bundle.
  2. When Atlas asks for details, enter the following in the chat:
    • Name: The name of the bundle.
    • Description (Optional): A description of the bundle.
    • Content set: The content set for the bundle.

      Important: Because of the complexities of managing permissions with multiple users, you cannot move a software bundle from one content set to another after the initial assignment.
    • Platform: The platform for the bundle. All software packages in a bundle must apply to the same platform.
    • Software packages: The software packages to add to the bundle. You can enter the platform, vendor name, or package title.
    • Version: A specific version, or Latest Applicable to automatically select the latest available version for each endpoint.
    • Operation: Install Or Update, Install, Update, or Remove.
    • On failure: Whether you want the bundle to exit or continue if the package fails.
    Tip: Atlas runs the packages in the order you list them.
  3. When Atlas asks you to approve creating the bundle, review the details, and then choose Approve once. Atlas creates the bundle but does not deploy it.

Edit a software package or bundle

Complete the following steps to edit a software package or bundle.

Note: Software packages imported from the Predefined Package Gallery are managed by Tanium and cannot be edited. To change one, import a custom copy or create a new package.
  1. In Tanium Atlas, enter the following chat prompt: Edit a Deploy software package.

    Or, to edit a bundle, enter the following chat prompt: Edit a Deploy software bundle.

  2. When Atlas asks which package or bundle and what to change, specify the following:
    • Name: The package name and version, the bundle name, or the ID of either.
    • Changes: What you want to change, for example, the title, the install or uninstall command, or the packages in a bundle.
  3. When Atlas asks you to approve the edit, review the details, and then choose Approve once.

Copy a software package or bundle

To copy a package or bundle, ask Atlas. Atlas creates a new package or bundle from the definition of the original. The copy does not deploy.

  1. In Tanium Atlas, enter one of the following chat prompts:
    • To copy a package: Copy a Deploy software package.
    • To copy a bundle: Copy a Deploy software bundle.
  2. When Atlas asks for details, enter the following in the chat:
    • Name of the original: The name of the package or bundle to copy.
    • Name of the copy: A name for the new package or bundle. Atlas does not add a prefix.
    • Content set: The content set for the copy. Enter the same content set as the original to keep the copy there.
  3. When Atlas asks you to approve creating the copy, review the details, and then choose Approve once.

Delete a software package or bundle

  1. In Tanium Atlas, enter one of the following chat prompts:
    • To delete a package: Delete a Deploy software package.
    • To delete a bundle: Delete a Deploy software bundle.
  2. When Atlas asks which one to delete, enter the name of the package or bundle. To delete multiple packages, enter more than one name.
  3. When Atlas asks you to approve the deletion, review the details, and then choose Approve once.
Note:

You cannot delete a software package if it is referenced in bundles, active deployments, or Self Service profiles or if it is the latest auto-imported version of a Tanium Managed package. If you delete a software package in an automatic deployment configuration and the package is used in a pending or ineligible deployment, the deployment status is changed to Skipped.

You cannot delete a software bundle if it is referenced in active deployments or Self Service profiles.