Configuring Connect
If you did not install Connect with the Apply All Tanium recommended configurations option, you must enable and configure certain features.
No default settings are configured for Connect.
Configure a file share mount
Connect can write consumable files to disk. You can configure the Module Server to copy these files to a Common Internet File System (CIFS) or Network File System (NFS) share on a file server, or to an internal share on a Tanium™ Appliance. An internal share is a directory that the tancopy user can access using SFTP. For more information about how to configure a file share, see Configure solution module file share mounts.
Configure Connect settings
To configure the following settings, from the Main menu, go to , click Settings , and then go to the Configuration tab.
|
Setting |
Description |
|---|---|
|
Connection Run Log Expiration |
Number of days before connection run logs are removed. |
|
Connect Service Log Level |
Log level for the Connect service logs. |
|
Internal IPs |
Select this to allow anyone to run connections to IP addresses in the following internal subnets, or clear this to allow only administrator users to run connections to IP addresses in the following internal subnets:
For more information, see Test connections. |
|
Memory Ceiling |
The global maximum sum of memory (GB) for all simultaneously running connections. This defaults to 8 GB. The per-connection Memory Ceiling (by default, 1 GB) cannot exceed the global Memory Ceiling. Increase this setting when you have one or more demanding connections that frequently exhibit out of memory errors while running.
Note: If the sum of simultaneously scheduled connection Memory Ceiling values exceed the global Memory Ceiling, connections run until the global Memory Ceiling is reached, then any remaining connections enter a waiting queue if you select the Queue Connections configuration setting, or fail if you clear the Queue Connections configuration setting.
|
|
Process Count Limit |
Specify the number of scheduled connections that can run simultaneously, each with its own dedicated background process. This setting gives you better control over how many simultaneously running connections you want to allow in your environment. Set to 0 to allow unlimited simultaneous connections. |
|
Queue Connections |
Option to queue additional scheduled connections when the maximum memory or process counts is reached. If this setting is not enabled, any connections beyond the specified maximum values that attempt to run result in failures. |
Set up Connect users
You can use the following set of predefined user roles to set up Connect users.
To review specific permissions for each role, see User role requirements.
For more information about how to assign user roles, see Manage role assignments for a user.
- Connect Administrator
-
Assign the Connect Administrator role to users who manage the configuration of Connect. This role can perform the following tasks:
-
Configure Connect settings, including resource allocation and logging
-
View, run, and create connections
-
Take ownership of connections owned by other users
-
Edit and delete owned connections
-
Access the Connect REST API
-
- Connect Operator
-
Assign the Connect Operator role to users who manage the configuration of Connect. This role can perform the following tasks:
-
Configure some Connect settings, including resource allocation and logging
-
View, run, and create connections
-
Take ownership of connections owned by other users
-
Edit and delete owned connections
-
Access the Connect REST API
-
- Connect User
-
Assign the Connect User role to users who work with connections. This role can perform the following tasks:
-
Create connections
-
View, run, edit, and delete owned connections
Note: Do not assign the Connect Service Account, Email Service Account, or Email Service Account - All Content Sets roles to users. These roles are for internal purposes only. -
Configure email server profile settings for Microsoft 365
If you want to configure a connection destination to send email using Microsoft 365, you must first configure an email server profile.
Note the following settings:
-
For a walkthrough of configuration prerequisites, Microsoft Azure configuration, email server profile configuration, and connection configuration, see Tanium Community: Use Tanium Connect to Send Microsoft Office 365 Emails using Modern Authentication
-
You must have a Microsoft 365 Outlook email address associated with a Microsoft Entra ID (formerly Azure Active Directory) user.
-
You must create a Microsoft Entra ID application and service principal, and assign the Mail.Send and User.Read permissions to the application, to send an email with an attachment up to a total of 3 MB (this includes the body of the email plus the attachment). If you want to limit the application scope, create an application access policy and associate it with a mail-enabled security group containing at least one user. For more information, see Microsoft Entra documentation: Create a Microsoft Entra application and service principal that can access resources and Microsoft Graph documentation: Configure ApplicationAccessPolicy.
-
You must also generate a Microsoft Entra ID application client secret. For more information, see Microsoft Entra documentation: Option 3: Create a new client secret.
-
You must also assign the Mail.Send and User.Read permissions to the application to send emails with attachments up to a total of 3 MB. For more information, see Microsoft Entra documentation: Assign a role to the application.
Note: If a connection run generates no data, no email is sent. However, if you select a saved question source and clear Hide No Results, an email is sent per connection run, regardless of whether data is available. -
If you want to enable sending emails with attachments greater than 3 MB and up to 150 MB (subject to your Microsoft 365 attachment settings), you can assign the Mail.ReadWrite permission to the Microsoft Entra ID application. If you assign this permission, you must allow traffic to outlook.office.com over port 443/TCP and outlook.office365.com over port 443/TCP.
Important: Attachments larger than 3 MB are currently not supported for Tanium Cloud for U.S. Government customers. Connect uses the Microsoft createUploadSession API to manage attachments for Microsoft 365 email uploads. The API has a known issue with attachments larger than 3 MB. Tanium Cloud for U.S. Government customers who try to send an email with an attachment larger than 3 MB might receive a MS_GRAPH_STATUS_CODE 401 large_attachment response that contains an error message similar to caused by unexpected status code 401 from ms-graph. For more information about the createUploadSession API and the known issue, see Microsoft Graph documentation: attachment: createUploadSession.Note: The Mail.ReadWrite permission only permits a larger attachment size; the body of the email must never exceed 3 MB.Note: For the best results, if you assign the Mail.ReadWrite permission, create an access policy and limit Microsoft Entra ID application access to one user. For more information, see Microsoft Graph documentation: Limiting application permissions to specific Exchange Online mailboxes.
-
-
The Email (O365 & SMTP) destination requires an email server profile on the Tanium Server. You can configure an email server profile through the Connect workbench in Tanium Console.
-
To configure an email server profile in Tanium Console, you must have a role with the Tanium Email Config write permission. The predefined Connect Operator and Connect Administrator roles in Connect have this permission. Sending an email requires the user that configures the connection to have permission to the content set to which you assign the email server profile. For more information about predefined roles in Connect, see User role requirements. For information about configuring custom roles, see Managing access permissions through roles
Note: If you delete an email server profile configuration that is referenced by a scheduled connection, future scheduled instances of that connection fail. For more information, see Issue: Emails to Microsoft 365 destinations fail to send. -
-
The email server profile uses login.microsoftonline.com for authentication to the graph.microsoft.com host over port 443/TCP. If you want to change the host from graph.microsoft.com, Contact Tanium Support.
-
Configure your network allow list to allow traffic outbound from your Tanium Module Server to the following Microsoft 365 URLs and enable access for Microsoft 365 mail resources:
-
graph.microsoft.com:443
-
graph.microsoft.us:443
-
login.microsoftonline.com:443
-
outlook.office.com:443 and outlook.office365.com:443 if you assign the Mail.ReadWrite permission to the Microsoft Entra ID application. For more information, see Microsoft 365 documentation: Office 365 URLs and IP address ranges.
-
For more information, see Configuring email destinations.
Configure email server profile settings for SMTP
If you want to configure a connection destination to send email through an SMTP server, you must first configure an email server profile.
Note the following settings:
-
The Email (O365 & SMTP) destination requires an email server profile on the Tanium Server. You can configure an email server profile through the Connect workbench in Tanium Console.
-
To configure an email server profile in Tanium Console, you must have a role with the Tanium Email Config write permission. The predefined Connect Operator and Connect Administrator roles in Connect have this permission. Sending an email requires the user that configures the connection to have permission to the content set to which you assign the email server profile. For more information about predefined roles in Connect, see User role requirements. For information about configuring custom roles, see Managing access permissions through roles
Note: If you delete an email server profile configuration that is referenced by a scheduled connection, future scheduled instances of that connection fail. -
-
Configure your network allow list to allow traffic outbound from your Tanium Module Server to the SMTP server.
-
To use Google Mail as an SMTP server, allow traffic to smtp.google.com.
-
-
You must have email addresses to send and receive email results.
-
Gather information about your mail server, including host, port, certificate, user name, password.
For more information, see Configuring email destinations.
Configure Microsoft Azure cloud storage profile settings
If you want to send a file to Microsoft Azure Cloud Storage, you must first configure a cloud storage profile. Note the following settings:
-
You must configure a Microsoft Azure blob storage account with the following settings:
-
Performance: select Standard for a general-purpose v2 account type, or Premium for block blobs or page blobs account type.
Note: General-purpose v1 accounts are not supported. -
Enable storage account key access: select this to enable Shared Key authorization. The External Storage (Blob) destination does not support shared access signature (SAS) authorization or Entra ID authorization.
-
Endpoint type: select Standard endpoint (in the format https://<storage-account-name>.blob.core.windows.net). The External Storage (Blob) destination does not support Microsoft Azure DNS zone endpoints (in the format https://<storage-account-name>.z[00-50].blob.storage.azure.net).
Note: Compressed and uncompressed blob files created with this destination are limited to a maximum of 200 GB.For more information about Microsoft Azure storage accounts, see Microsoft Azure Blob storage documentation: Storage account overview.
-
-
You must configure at least one storage account container to store blobs.
For more information, see Configuring cloud storage destinations.
Configure Google Cloud Storage cloud storage profile settings
If you want to send a file to Google Cloud Storage, you must first configure a cloud storage profile. Note the following settings:
-
You must configure a Google Cloud Storage bucket with the following settings:
-
Enter a globally unique name in the namespace that complies with bucket name restrictions. For more information, see Google Cloud Storage documentation: Bucket names.
-
Select a STANDARD data storage class.
-
If you want to create a folder structure to store objects, select Enable Hierarchical namespace on this bucket. For more information, see Google Cloud Storage documentation: Hierarchical Namespace.
Note: Compressed and uncompressed blob files created with this destination are limited to a maximum of 200 GB. -
-
You must configure a Google Cloud Storage service or user account with the following bucket permissions: storage.objects.create, storage.objects.delete, storage.objects.get, storage.objects.list.
-
You must configure hash-based message authentication code (HMAC) keys for Google Cloud Storage authentication to enable blob upload to the bucket. The HMAC key access ID and secret must be associated with the Google Cloud Storage service or user account assigned the bucket permissions. For more information, see Google Cloud Storage documentation: HMAC keys.
For more information, see Configuring cloud storage destinations.
Configure Oracle Cloud Infrastructure cloud storage profile settings
If you want to send a file to Oracle Cloud Infrastructure (OCI), you must first configure a cloud storage profile. Note the following settings:
-
You must configure an OCI bucket with the following settings:
-
Enter a globally unique name in the compartment that complies with bucket name restrictions. For more information, see Oracle Cloud Infrastructure documentation: Object Storage Buckets.
-
Select a STANDARD default storage tier.
Note: Compressed and uncompressed blob files created with this destination are limited to a maximum of 200 GB. -
-
You must configure customer secret keys for OCI authentication to enable blob uploads to the bucket. The access key and secret key must be associated with the OCI service or user account that is assigned the bucket permissions. For more information, see Oracle Cloud Infrastructure documentation: Creating a Customer Secret Key.
For more information, see Configuring cloud storage destinations.