Announcing Python 3.12 Support

Since version 7.2 of its converged endpoint management (XEM) platform, the Tanium Client has supported Python as a runtime language for sensors and packages.

Starting on October 30, 2024, Tanium will begin the rollout in Tanium Cloud of Endpoint Configuration Toolset Manifest Version 2.7, which will update Python from 3.8 to 3.12 on Tanium Clients 7.6.2 and above. All client versions older than Tanium Client 7.6.2 will continue to use Python 3.8. This migration is transparent and automatic and will not remove Python 3.8 runtime if that runtime is required to meet dependencies for tooling on the endpoint. To ensure a smooth transition, you should consider configuring Endpoint Configuration Change Management to control deployment, update antivirus and security exclusions to add the new Python 3.12 paths and test any custom Python based sensor or package content for compatibility.

  • Configure Endpoint Configuration Change Management (ECM). Configuring ECM allows you to control the deployment of the 2.7 toolset including Python 3.12 in your environment. You can use ECM to deploy the new toolset through one or more test groups as well as control the overall timing of the change being introduced within your environment. For more information and instructions about how to configure one or more test rings, see the Managing Tanium Client and endpoint tool upgrade rollouts page in the Endpoint Configuration User Guide.

Note:

For more information and instructions about how to configure one or more test rings, see the Managing Tanium Client and endpoint tool upgrade rollouts page in the Endpoint Configuration User Guide.

  • Update your antivirus and security exclusions to add the new paths for Python 3.12:

    • Windows

      • <Tanium Client>\python312\TPython.exe

      • <Tanium Client>\python312

    • Linux

      • <Tanium Client>/python312/python

    • Mac

      • <Tanium Client>/python312/python

Note:

For more information about security exclusions, see the Reference: Endpoint security exclusionsNo Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/client/security_exclusions.dita page in the Client Management User Guide.

  • Verify your custom content that uses Python. Custom developed Python sensor and package content can fail to execute if it is incompatible with Python 3.12. If you have developed custom Python sensors or packages, you should ensure that content is compatible with Python 3.12. Custom content could fail if the Python language and library semantics changed between Python 3.8 and Python 3.12 versions in a way that the Python sensor or package code does not work correctly on 3.12, or if the content references a directory path to Python that has changed with the introduction of Python 3.12. Using ECM, you can use an existing or newly created test ring to deploy the 2.7 Toolset to a small subset of endpoints to verify that the custom developed Python content continues to function as expected before progressing the rollout of Python 3.12 to the entire environment.

To be notified when your Tanium instance is updated, you can view and sign up for notification of module install updates from within the Cloud Management Portal. The Python 3.12 update will be available after the installation of the 2.7 Endpoint Configuration Toolset Solution. For more information on how to view and configure notifications see the Cloud Management Portal GuideNo Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/cloud/managing_cmp.dita.

References