Create Connections

You can send data from Tanium to Sentinel through three methods: Stream to Sentinel, Connect (preconfigured via Tanium’s Data Connector), and Connect (custom). You can mix and match between these methods.

Stream to Sentinel

Use this method to have your endpoints stream data directly to Sentinel. This allows your security team to work with near real-time data.

Unlike traditional SIEM ingestion pipelines that rely on periodic polling or batch uploads, Tanium delivers live data from endpoints, enabling analysts to work with near real-time data when conducting investigation and remediation.

You can forward exactly the type of data you need for your organization’s needs.

Get Your Workspace ID and the Primary or Secondary Key

For this connection type you will need your Workspace ID and the Primary or Secondary key from your Log Analytics Workspace.

Because the workspace keys are considered secrets they are not displayed in the Azure Portal, you need to run either Azure PowerShell or Azure Cli to obtain them. For more information see:


Create Connections

To get started, see: Configuring Stream connections in Threat Response

Connect (Preconfigured) via Tanium’s Data Connector

Use this method to set up the connections required for Tanium’s Sentinel Workbook and Analytics rule. We provide a preconfigured Connect file that defines the set of connections needed and makes it easy to set up in a few clicks.

Important:

If you haven't installed the data connector, do so before proceeding. See Install Tanium Connector in the Content Hub.

  1. Go to Tanium Data Connector for Microsoft Sentinel to obtain the JSON file for the connections necessary to send Tanium data to your Sentinel Log Analytics Workspace.

  2. After you download the JSON file, you’ll need to replace the Tenant Id, Client Id, Client Secret, DCR Immutable Id, and the Logs Ingestion URL in the JSON file with your own. You should have been shown these values when you deployed the Tanium Data Connector.

    You can do this by using find and replace using the following table.

    Placeholder

    Azure Configuration Value

    {{TenantId}}

    Tenant ID (Directory ID)

    {{ClientId}}

    Entra App Registration Application ID (aka Client ID)

    {{ClientSecret}}

    Entra App Registration Secret

    {{IngestionEndpoint}}

    Data Collection Endpoint URI

    {{DcrImmutableId}}

    Data Collection Rule Immutable ID

    Important:

    Whenever your App Registration's secret expires and you generate your new secret, you'll need to go into each connection within Tanium and update the secret value.

    Important:

    In order to follow principles of least privilege when creating this preconfigured connection, see RBAC Permissions Guidance for built-in content.

    Note:

    To learn more about creating connections using a Persona, see Using Personas to Control Your Data Exports in Tanium Connect

  3. Within Tanium, navigate to Connect -> Connections.

  4. Click Import on the top right and then Import File. Load in the JSON file you’ve downloaded and edited in the previous steps.

    1. If you see errors in the Status column, make sure you’ve replaced all of the placeholders as described in the previous step.

    2. For each connection you’d like to enable, check the corresponding checkbox and then click Save. See [Get to know our Content] for more information.

    3. Your connections should now be set up and scheduled to send the data over to your Log Analytics Workspace (default: every day at 12:00 AM UTC).

See Confirm your Connections.

Connect (Custom)

Use this method to choose the specific data to send from Tanium and meet your organization’s unique needs.

See Configuring Microsoft Azure Monitor destinations for information needed to create your custom connection, including configuring the source, destination, filters, scheduling, and verifying your connections.

See Confirm your Connections.

Confirm your Connections

If you followed either Connect option (preconfigured or custom), your Connections are now set up. You can run them manually by clicking the Connection and clicking Run, or you can wait for the scheduled trigger.

It may take a few minutes for data to populate the Log Analytics tables.

After the connections have run successfully, they will appear on the screen with a green checkmark in the Last Run Status column.

To confirm data has been received by Log Analytics:

  1. Navigate to your Log Analytics workspace and navigate to Logs -> Tables -> Custom Logs. You should see the table names with _CL appended for each of the names specified in the Tanium Connections.


    Create Connections
  2. Query each of the tables within the Logs page to ensure data is populated. If you are in KQL mode, type in the name of the table and click Run to see the data appear in the Results section.


    Create Connections
  3. After you confirm that data has been received by your Log Analytics Workspace from your Tanium instance, you can begin using this data to populate your different Azure resources.

Configure Egress Rules

Tanium contains settings to ensure secure and controlled communication between your systems and external networks. These egress rules help protect sensitive data, enforce compliance, and limit exposure to threats.

Within Tanium, to configure egress rules and firewall/proxy exclusions, add the logs ingestion URI to the egress list in the Tanium Console. Use a list of the outbound IP Addresses for each Logic Apps region to narrow down the scope of the trusted IP Addresses. See Managed connectors outbound IP addresses for this list.

For Tanium Cloud, you can create exclusions within the Cloud Management Portal. For more information, see Configuring network egress in CMP.

This port and workspace info is also used for firewall/proxy exclusions for the Tanium instance to allow communication with the Log Analytics Gateway.

Note:

For guidance from Microsoft on which IP addresses to configure, see Managed connectors outbound IP addresses.

Note:

These are basic configurations to get your system working. Your network environment may have additional security requirements.

Scenario

Required Ports

FQDNs / Targets

Notes

General Requirements

TCP 443

<workspace ID>.ods.opinsights.azure.com

Ensure DNS resolution works; allow HTTPS outbound.

ExpressRoute or Perimeter Setup

TCP 443

<workspace ID>.ods.opinsights.azure.com

For Azure Government:

<workspace ID>.ods.opinsights.azure.gov

Ensure perimeter firewall and routing allow outbound HTTPS

Network Security Group (NSG)/firewall rules should not block traffic.

Tanium Cloud or Zone Server

TCP 17472

Tanium infrastructure endpoints

Required for Tanium platform communication.

Azure Government

TCP 443

<workspaceID>.ods.opinsights.azure.us

Use Azure Gov endpoints. Check Azure Gov IP ranges for firewall/proxy exclusions.