Deploy the Tanium Client in Microsoft Azure environments using the Tanium™ Client VM extension
Tanium provides Azure virtual machine (VM) extensions that can be installed to automatically deploy the Tanium Client on Microsoft Azure VMs and VM Scale Sets.
Requirements for the Tanium Client VM extension
Operating system support in Microsoft Azure
The Tanium Client supports both Windows and Linux VMs in Azure. Supported versions and Linux distributions are the same as for any endpoint; see Client version and operating system requirements. However, for Linux VMs in Azure, the Tanium Client VM extension is supported only on Linux distributions that are both endorsed by Microsoft and supported by the Tanium Client. For a list of Linux distributions that are endorsed by Microsoft, see Microsoft Azure Documentation: Endorsed Linux distributions on Azure.
Tanium provides separate Azure VM extensions for Windows and Linux VMs.
Network connectivity
Each VM must be able to connect to https://content.tanium.com for the VM extension to import the files needed to deploy the Tanium Client.
Installation methods for the Tanium Client VM extension
When you install the Tanium Client VM extension on a VM, it automatically deploys the Tanium Client to the VM using the settings that you configure in the extension properties.
You can install the extension using the following methods:
-
Manually install the extension on a VM using the Azure Portal, Azure CLI or Azure PowerShell.
-
Configure the extension as a resource in an Azure Resource Manager (ARM) template. This method is useful if you deploy VMs from a controlled set of ARM templates.
-
Configure the extension as a resource in an Azure Policy. This method is useful if multiple teams deploy VMs and use a variety of templates that are not closely controlled, and it can install the extension on existing VMs.
For more information about using Azure VM extensions, see Microsoft Azure Documentation: Azure virtual machine extensions and features.
Each of these methods requires you to supply a tanium-init.dat file for your environment. You can create a Tanium Client initialization profile in Tanium™ Integrations Gallery to create this file, and optionally copy the base64 version as needed during installation. For more information, see Create a Tanium Client initialization profile.
Manually install the extension using the Azure Portal, Azure CLI, or Azure PowerShell
You can manually install the Tanium Client VM extension on an existing VM resource using the following methods:
-
Azure Portal: the Extensions + Applications menu
-
Azure CLI: the
az vm extension setcommand -
Azure PowerShell: the
Set-AzVMExtensioncommand
For more information about manually installing extensions, see the following Microsoft Azure documentation:
-
Microsoft Azure Documentation: Virtual machine extensions and features for Linux
-
Microsoft Azure Documentation: Virtual machine extensions and features for Windows.
For the properties to use to include the extension using Azure CLI or Azure PowerShell, see Resource properties for the Tanium Client VM extension. For the properties to configure the extension using any available method, see Tanium Client VM extension properties.
The following example demonstrates using the Azure CLI to manually install the Tanium Client VM extension on an existing Linux VM:
declare _base64_tanium_init_dat=$(base64 < "./tanium-init.dat")
az vm extension set --name TaniumClientLinux \
--publisher Tanium.Client \
--vm-name MyLinuxVM \
--resource-group MyResourceGroup \
--protected-settings '{"TaniumInitDat":"'$_base64_tanium_init_dat'","TaniumServer":"MyTaniumServer"}
Configure an Azure Resource Manager template
If you deploy VMs from a controlled set of ARM templates, you can add the Tanium Client VM extension to these templates to automatically deploy the Tanium Client on all newly deployed VMs. Include the Tanium Client VM extension in the resources of each ARM template and specify the properties as appropriate.
For information about creating VMs from ARM templates, see Microsoft Azure Documentation: How to create a Linux virtual machine with Azure Resource Manager templates and Microsoft Azure Documentation: Create a Windows virtual machine from a Resource Manager template.
For the properties to use in the template JSON, see Resource properties for the Tanium Client VM extension and Tanium Client VM extension properties.
The following example provides sample JSON from the resources of an ARM template to deploy the Tanium Client on a Linux VM and configure a proxy server.
{
"name": "[concat(parameters('vmName'),'/TaniumClientLinux')]",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "[resourceGroup().location]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('vmName'))]"
],
"apiVersion": "2015-06-15",
"properties": {
"publisher": "Tanium.Client",
"type": "TaniumClientLinux",
"typeHandlerVersion": "1.1",
"autoUpgradeMinorVersion": true,
"settings": {},
"protectedSettings": {
"TaniumInitDat": "TG9yZW0gaXBzdW0gb2RvciBhbWV0LCBjb25zZWN0ZXR1ZXIgYWRpcGlzY2luZyBlbGl
0LiBNdXMgaW1wZXJkaWV0IGEgZGljdHVtIGxlY3R1cyBtb250ZXMgcGVuYXRpYnVzIGluY2VwdG9zIGFyY3Uu
IFNhcGllbiBmcmluZ2lsbGEgc2FwaWVuIHB1bHZpbmFyIHRlbXB1czsgbmVjIGlhY3VsaXMgbnVuYy4gRXQgd
GluY2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BOZXR1cyBwaGFzZWxsdXMgaW5jZXB0b3MgYWxpcXVhbSBkaWFtIGNvbW1vZG8gbGFjaW5
pYSBmYWNpbGlzaS4gTmVxdWUgbWF0dGlzIHBlbGxlbnRlc3F1ZSBudW5jIHJpc3VzIGxpZ3VsYSBhdWN0b3Ig
cHJpbWlzIHVsdHJpY2VzLiBUb3JxdWVudCBzY2VsZXJpc3F1ZSB2b2x1dHBhdCBjb21tb2RvIG5pc2wgdmVsL
iBJYWN1bGlzIG5vbiBjb25kaW1lbnR1bSBtb3JiaS4K",
"TaniumServer": "mytaniumserver.mydomain",
"TaniumProxyServers": "myproxyserver.mydomain:1234"
}
}
}
Configure Azure Policies
If multiple teams deploy VMs and use a variety of templates that are not closely controlled, you can add the Tanium Client VM extension to an Azure Policy to deploy the Tanium Client on both new and pre-existing VMs. Include the Tanium Client VM extension in the resources of a policy with the effect of deployIfNotExists, and specify the properties as appropriate. You can assign policies to management groups, subscriptions, resource groups, and resources.
For information about creating and assigning Azure Policies, see Microsoft Azure Documentation: Azure Policy documentation.
For the properties to use in the policy JSON, see Resource properties for the Tanium Client VM extension and Tanium Client VM extension properties.
The following examples provide sample Azure Policies that install the Tanium Client VM extension on VMs where it is not yet deployed.
{
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Compute/virtualMachines"
},
{
"field": "Microsoft.Compute/imagePublisher",
"equals": "MicrosoftWindowsServer"
},
{
"field": "Microsoft.Compute/imageOffer",
"equals": "WindowsServer"
},
{
"field": "Microsoft.Compute/imageSKU",
"in": ["2016-Datacenter"]
}
]
},
"then": {
"effect": "deployIfNotExists",
"details": {
"type": "Microsoft.Compute/virtualMachines/extensions",
"evaluationDelay": "AfterProvisioningSuccess",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Compute/virtualMachines/extensions/type",
"equals": "TaniumClientWindows"
},
{
"field": "Microsoft.Compute/virtualMachines/extensions/publisher",
"equals": "Tanium.Client"
}
]
},
"roleDefinitionIds": [
"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleDefinitions/{builtinroleGUID}"
],
"deployment": {
"properties": {
"mode": "incremental",
"template": {
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vmName": {
"type": "string"
},
"location": {
"type": "string"
}
}
"resources": [
{
"name": "[concat(parameters('vmName'),'/TaniumClientWindows')]",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('vmName'))]"
],
"apiVersion": "2017-12-01",
"properties": {
"publisher": "Tanium.Client",
"type": "TaniumClientWindows",
"typeHandlerVersion": "1.1",
"autoUpgradeMinorVersion": true,
"settings": {},
"protectedSettings": {
"TaniumInitDat": "TG9yZW0gaXBzdW0gb2RvciBhbWV0LCBjb25zZWN0ZXR1ZXIgYWRpcGlzY2luZyBlbGl
0LiBNdXMgaW1wZXJkaWV0IGEgZGljdHVtIGxlY3R1cyBtb250ZXMgcGVuYXRpYnVzIGluY2VwdG9zIGFyY3Uu
IFNhcGllbiBmcmluZ2lsbGEgc2FwaWVuIHB1bHZpbmFyIHRlbXB1czsgbmVjIGlhY3VsaXMgbnVuYy4gRXQgd
GluY2lkdW50IG5hbSBkaWFtIG51bGxhbSBsYWNpbmlhIGVnZXQuIFF1aXMgYmliZW5kdW0gc29sbGljaXR1ZG
luIGNvbmd1ZSBtb3JiaSBsb2JvcnRpcyB2ZWxpdCBpbmNlcHRvcyBldWlzbW9kLiBMb3JlbSBlZ2VzdGFzIGh
pbWVuYWVvcyBjdXJzdXMgdml2YW11cyBhYyBwaGFzZWxsdXMgb3JuYXJlIG9kaW8uIERpY3R1bXN0IG1hdXJp
cyBlcmF0IGludGVyZHVtIHByaW1pcyBlZ2VzdGFzIGF0IGxlY3R1cy4KClNvbGxpY2l0dWRpbiBzZW0gaGVuZ
HJlcml0IGV1IG51bmMgcGVyIHNhZ2l0dGlzIHVsdHJpY2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field": "type",
"equals": "Microsoft.Compute/virtualMachines"
},
{
"field": "Microsoft.Compute/imagePublisher",
"equals": "Canonical"
},
{
"field": "Microsoft.Compute/imageOffer",
"equals": "0001-com-ubuntu-server-jammy"
},
{
"field": "Microsoft.Compute/imageSKU",
"in": ["22_04-lts-gen2"]
}
]
},
"then": {
"effect": "deployIfNotExists",
"details": {
"type": "Microsoft.Compute/virtualMachines/extensions",
"evaluationDelay": "AfterProvisioningSuccess",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Compute/virtualMachines/extensions/type",
"equals": "TaniumClientLinux"
},
{
"field": "Microsoft.Compute/virtualMachines/extensions/publisher",
"equals": "Tanium.Client"
}
]
},
"roleDefinitionIds": [
"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleDefinitions/{builtinroleGUID}"
],
"deployment": {
"properties": {
"mode": "incremental",
"template": {
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vmName": {
"type": "string"
},
"location": {
"type": "string"
}
}
"resources": [
{
"name": "[concat(parameters('vmName'),'/TaniumClientLinux')]",
"type": "Microsoft.Compute/virtualMachines/extensions",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('vmName'))]"
],
"apiVersion": "2017-12-01",
"properties": {
"publisher": "Tanium.Client",
"type": "TaniumClientLinux",
"typeHandlerVersion": "1.1",
"autoUpgradeMinorVersion": true,
"settings": {},
"protectedSettings": {
"TaniumInitDat": "TG9yZW0gaXBzdW0gb2RvciBhbWV0LCBjb25zZWN0ZXR1ZXIgYWRpcGlzY2luZyBlbGl
0LiBNdXMgaW1wZXJkaWV0IGEgZGljdHVtIGxlY3R1cyBtb250ZXMgcGVuYXRpYnVzIGluY2VwdG9zIGFyY3Uu
IFNhcGllbiBmcmluZ2lsbGEgc2FwaWVuIHB1bHZpbmFyIHRlbXB1czsgbmVjIGlhY3VsaXMgbnVuYy4gRXQgd
G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kLiBOZXR1cyBwaGFzZWxsdXMgaW5jZXB0b3MgYWxpcXVhbSBkaWFtIGNvbW1vZG8gbGFjaW5
pYSBmYWNpbGlzaS4gTmVxdWUgbWF0dGlzIHBlbGxlbnRlc3F1ZSBudW5jIHJpc3VzIGxpZ3VsYSBhdWN0b3Ig
cHJpbWlzIHVsdHJpY2VzLiBUb3JxdWVudCBzY2VsZXJpc3F1ZSB2b2x1dHBhdCBjb21tb2RvIG5pc2wgdmVsL
iBJYWN1bGlzIG5vbiBjb25kaW1lbnR1bSBtb3JiaS4K",
"TaniumServer": "mytaniumserver.mydomain",
"TaniumProxyServers": "myproxyserver.mydomain:1234"
}
}
}
]
}
}
}
}
}
}
Resource properties for the Tanium Client VM extension
The following table provides the properties of the Tanium Client VM extension to include in the resources of an ARM template or an Azure Policy, or to install it using the az vm extension set command in Azure CLI or the Set-AzVMExtension command in Azure PowerShell. Separate extensions are provided for Windows and Linux VMs.
|
Azure VM extension JSON key |
|
|
Value |
|---|---|---|---|
publisher |
--publisher |
-Publisher |
Tanium.Client |
type |
--name |
-Name |
|
typeHandlerVersion |
--version |
-TypeHandlerVersion |
Current version: 1.1 |
Tanium Client VM extension properties
Use the following settings to configure the deployment of the Tanium Client when you manually deploy a virtual machine resource, create an ARM template, or create an Configure Azure Policies.
|
Setting in Azure Portal |
JSON Key |
Required |
Description |
|---|---|---|---|
|
Base 64 of tanium-init.dat File |
TaniumInitDat |
Yes |
Provides the contents of the tanium-init.dat file that you use to deploy the Tanium Client, encoded as base64. You can create a Tanium Client initialization profile in Tanium™ Integrations Gallery to create this file and optionally download the contents already encoded as base64. For more information, see Create a Tanium Client initialization profile.
Tip: You can also use a tanium-init.dat file from a Client deployment template if you already have one that is appropriate for the Azure VM endpoints you are deploying. For more information, see (Optional) Download a tanium-init.dat file for alternative deployment.
Tip: For methods to convert a tanium-init.dat file to base64 (if you did not copy the base64 from Integrations Gallery), see Convert the tanium-init.dat file to base64.
|
|
Server Name |
TaniumServerName |
Yes |
Specifies the FQDN or IP address of the FQDN from the first Tanium Cloud Client Edge URL with which the Client connects. If the tanium-init.dat file contains the ServerNameList setting, or if you specify a Server list for the VM, the first Server that the Tanium Client selects from the listed Servers overwrites this setting. For more information, see Configuring connections to the Tanium Core Platform. |
|
Server List |
TaniumServerList |
No |
Specifies the FQDNs from Tanium Cloud Client Edge URLs with which the Client can try to connect as a comma-separated list. This value is unnecessary if the tanium-init.dat file specifies Server names. For more information, see Configuring connections to the Tanium Core Platform. |
|
Server Port |
TaniumServerPort |
No |
Specifies the port to use for communication between Clients and between Clients and Tanium Cloud. Specify 17472, or omit this value. |
|
Client Listen Port |
TaniumClientListenPort |
No |
Specifies the port on which the Client listens for communications from peer Clients. Specify 17472, or omit this value. |
|
Proxy Servers |
TaniumProxyServers |
No |
Specifies the IP address or FQDN, and port number, of an HTTPS forward proxy server through which the Tanium Client connects to Tanium Cloud. You can specify multiple proxies as a comma-separated list in the format "<proxy1>:<port>,...,<proxyN>:<port>". The Client tries to connect to the proxies in the order that you list them. After any single connection succeeds, the Client stops trying to connect with more proxies. If no proxy is available, the Client falls back to connecting directly with Tanium Cloud. For more information, see Configure specific proxy servers during Client deployment. |
|
Client Version |
TaniumClientVersion |
No |
The version of the Tanium Client to install. If you omit this value, the latest version of the Tanium Client is installed.
Note: Omit this value and install the latest version of the Tanium Client.
|
|
Log Level |
TaniumClientLogLevel |
No |
The logging level of the Tanium Client, specified as an integer.
Note:
A value of 0 disables logging. As a best practice, do not disable logging. |
Convert the tanium-init.dat file to base64
If you did not copy the base64-encoded contents of the tanium-init.dat file from Integrations Gallery, use one of the following methods to supply the file in base64 format.
Convert to base64 To copy into the template or policy JSON
You can use one of the following commands to base64-encode the tanium-init.dat file:
-
Windows: powershell "[Convert]::ToBase64String([IO.File]::ReadAllBytes('<absolute-path-to-init-file>\tanium-init.dat'))"
-
Non-Windows: base64 -i '<path-to-init-file>/tanium-init.dat'
Use a parameter in the template or policy JSON to import the file directly
You can use a parameter in Azure CLI or Azure PowerShell to provide the TaniumInitDat property and identify the tanium-init.dat file in the Azure CLI script that uses the template or policy. The following example demonstrates using a parameter in AzureCLI to import the tanium-init.dat file.
Configure the parameter in the parameters section of the template and specify the parameter for the TaniumInitDat key:
"parameters: {
"TaniumInitDat": {"type": "string"},
...
}
"protectedSettings": {
"TaniumInitDat": "[parameters('TaniumInitDat')]",
...
}
Then, specify the parameter in the Azure CLI script:
declare _base64_tanium_init_dat=$(base64 < "./tanium-init.dat")
az deployment group create \
--name "my-vm" \
--resource-group "my-rg" \
--template-file "./templates/linux-template.json" \
-p TaniumInitDat="${_base64_tanium_init_dat}"
Troubleshooting the Tanium Client VM extension
If you encounter an issue with the installation of the Tanium Client VM extension, check the following items:
- Make sure the OS on the VM is both supported by the Tanium Client and endorsed by Microsoft. For more information, see Operating system support in Microsoft Azure.
- If an ARM template or an Azure Policy fails to evaluate, review the template or policy for errors. For more information, see Microsoft Azure Documentation: Azure virtual machine extensions and features. If necessary, contact Microsoft Support. You can try installing the extension on an endpoint manually to make sure the extension itself is working with the VM. For more information, see Manually install the extension using the Azure Portal, Azure CLI, or Azure PowerShell.
- If you corrected all issues in a template or policy and continue to experience installation issues, or if you cannot manually install the extension, contact Tanium Support for assistance.