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 Modules > Connect > Overview, click Settings cog, and then go to the Configuration tab.

Table 1. Connect settings

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:

  • 10.0.0.0/8

  • 127.0.0.0/8

  • 169.254.0.0/16

  • 172.16.0.0/12

  • 192.168.0.0/16

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.

Important: On installation, Connect creates a Connect user to automatically manage the Connect service account. Do not edit or delete the Connect user.

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: Microsoft 365 was previously known as Office 365 (O365).

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:

For more information, see Configuring email destinations.

  1. From the Main menu, go to Modules > Connect > Overview.
  2. Click Settings cog and go to the Email Server tab.
  3. Click Create Email Profile.
    Example Create Email Server Profile page
  4. Enter a profile Name and Description.
  5. For the Provider, select Microsoft Office 365 Graph.
  6. Select the Host and Authority Host of the destination.

    The Authentication Method and Port are predefined.

  7. Enter the Microsoft Azure Tenant ID in hexadecimal UUID format. For more information, see Microsoft Azure documentation: How to find your Azure Active Directory tenant ID.
  8. Enter the Microsoft Azure application Client ID in hexadecimal UUID format. For more information, see Microsoft Azure documentation: Sign in to the application.
  9. Enter the Microsoft Azure application Client Secret. For more information, see Microsoft Azure documentation: Option 2: Create a new application secret.
  10. Enter a Microsoft Entra ID (formerly Azure Active Directory) user User Principal Name attribute or Object ID as the From User (Principal Name or ID). Emails sent using this email server profile show this user in the From field. For more information, see Microsoft Azure documentation: Add or update a user's profile information and settings.
  11. To verify your configuration, enter an email address in the Send a Test Email field, then click Send Test Email. An email from the configured From User with the subject Tanium Connection Test is sent to this email address. If you receive this email in the email address inbox within the next few minutes, continue to the next step. Otherwise, check the following:
    • Check the recipient email address spam folder and deleted items folder to see if a rule redirected the email from the inbox.
    • Check the sender email address sent email folder to verify that the email was generated and sent.
    • Check that your email server profile settings are correct, including the Tenant ID, Client ID, and Client Secret.
    • Verify that your network allow list contains properly configured rules for graph.microsoft.com, graph.microsoft.us, login.microsoftonline.com, and outlook.office.com, and outlook.office365.com.
  12. Assign a Content Set to this email server profile.
    Tip: Ensure that users who configure connections with this email server profile are able to access this content set.
  13. Click Create.

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.

Note: Standard TCP ports for secure email using SMTP include 465 and 587. Do not send unencrypted data over TCP port 25 outbound.

For more information, see Configuring email destinations.

  1. From the Main menu, go to Modules > Connect > Overview.
  2. Click Settings cog and go to the Email Server tab.
  3. Click Create Email Profile.
    Example Create Email Server Profile page
  4. Enter a profile Name and Description.
  5. For the Provider, select SMTP.
  6. In the Configuration section, click Secure to secure the connection with TLS.
    Note: If you do not select Secure, authentication information is encrypted at rest, but passed unencrypted to the destination.
  7. (Optional) If you have a certificate, you can upload the certificate to provide additional security. Click Upload Certificate, select the certificate, and then click Import. Certificates must be uploaded in PEM format.
  8. Enter the Host and Port of the SMTP server.
  9. To authenticate with the SMTP server, click Use Authentication, and then enter the User Name and Password to sign into the SMTP server.
  10. Enter a connection Timeout (in seconds), and then enter an email address for the From User.

    Emails sent using this email server profile show this user in the From field.

  11. To verify your configuration, enter a destination email address in the Send a Test Email field, then click Send Test Email. An email from the configured From User with the subject Tanium Connection Test is sent to this email address. If you receive this email in the email address inbox within the next few minutes, continue to the next step. Otherwise, check the following:
    • Check the recipient email address spam folder and deleted items folder to see if a rule redirected the email from the inbox.
    • Check the sender email address sent email folder to verify that the email was generated and sent.
    • Check that the email server profile settings are correct.
    • Check that your network egress allow list contains properly configured rules for the SMTP server.
  12. Assign a Content Set to this email server profile.
    Tip: Ensure that users who configure connections with this email server profile are able to access this content set.
  13. Click Create.

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.

  1. From the Main menu, go to Modules > Connect > Overview.
  2. Click Settings cog and go to the Cloud Storage tab.
  3. Click Create Cloud Storage Profile.
    Example Create Cloud Storage Profile page with Microsoft Azure Blob configuration
  4. Enter a profile Name and Description.
  5. Select Azure Blob from Provider.
  6. Enter the Microsoft Azure storage account Container Name.
  7. Enter a blob Path Prefix to define the directory path to store the blob, based on your bucket configuration. Use the format of /<directory-name-1>/<directory-name-2>/<directory-names-n...> to define path prefixes. If you configure a cloud storage profile with a Path Prefix, select this cloud storage profile for a Cloud Storage destination, and also configure a destination Path Prefix, the generated endpoint contains both Path Prefix values. The cloud storage profile Path Prefix value precedes the destination Path Prefix value, such as https://myaccount.blob.core.windows.net/container-name/<profile-path-prefix>/<destination-path-prefix>/blob-file-name.
    Note: Directory names and the directory path must conform to Microsoft Azure storage account directory rules and blob name virtual directory rules. For more information, see Microsoft Azure documentation: Directory Names and Microsoft Azure documentation: Blob Names.
  8. Enter the Microsoft Azure storage Account Name.
  9. Enter the Storage Account Key associated with the storage account.
  10. Assign the cloud storage profile to a Content Set.
    Tip: Ensure that Tanium operators who configure connections with this cloud storage profile have the Blob External Storage write permission for this content set.
  11. Click Create.

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:

    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.

  1. From the Main menu, go to Modules > Connect > Overview.
  2. Click Settings cog and go to the Cloud Storage tab.
  3. Click Create Cloud Storage Profile.
    Example Create Cloud Storage Profile page with Google Cloud Storage configuration
  4. Enter a profile Name and Description.
  5. Select Google Cloud Storage from Provider.
  6. Enter the Google Cloud Storage Bucket name.
  7. Enter a blob Path Prefix to define the folder path to store the blob, based on your bucket configuration. Use the format of /<folder-name-1>/<folder-name-2>/<folder-names-n...> to define path prefixes. If you configure a cloud storage profile with a Path Prefix, select this cloud storage profile for a Cloud Storage destination, and also configure a destination Path Prefix, the generated endpoint contains both Path Prefix values. The cloud storage profile Path Prefix value precedes the destination Path Prefix value, such as https://storage.googleapis.com/bucket_name/profile-path-prefix/destination-path-prefix/blob-file-name.
  8. Enter the HMAC key Access ID. This HMAC key must be associated with the Google Cloud Storage service or user account that is assigned bucket permissions.
  9. Enter the HMAC key Secret. This HMAC key must be associated with the Google Cloud Storage service or user account that is assigned bucket permissions.
  10. Assign the cloud storage profile to a Content Set.
    Tip: Ensure that Tanium operators who configure connections with this cloud storage profile have the Blob External Storage write permission for this content set.
  11. Click Create.

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:

    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.

  1. From the Main menu, go to Modules > Connect > Overview.
  2. Click Settings cog and go to the Cloud Storage tab.
  3. Click Create Cloud Storage Profile.
    Example Create Cloud Storage Profile page with OCI configuration
  4. Enter a profile Name and Description.
  5. Select Oracle Cloud Storage from Provider.
  6. (Optional) Enter a blob Path Prefix to define the folder path to store the blob, based on your bucket configuration. Use the format of /<folder-name-1>/<folder-name-2>/<folder-names-n...> to define path prefixes. If you configure a cloud storage profile with a Path Prefix, select this cloud storage profile for a Cloud Storage destination, and also configure a destination Path Prefix, the generated endpoint contains both Path Prefix values. The cloud storage profile Path Prefix value precedes the destination Path Prefix value in the object path. For more information about OCI object paths, see Oracle Cloud Infrastructure documentation: Downloading an Object Storage Object from a Bucket.
  7. Enter the Namespace of the top-level container for all buckets and objects.
  8. Enter the OCI Bucket name.
  9. Enter the Region of the cloud storage destination
  10. Enter the Access ID. The ID must be associated with the OCI service or user account that is assigned bucket permissions.
  11. Enter the Secret. This secret must be associated with the OCI service or user account that is assigned bucket permissions.
  12. Assign the cloud storage profile to a Content Set.
    Note: Ensure that Tanium operators who configure connections with this cloud storage profile have the Blob External Storage write permission for this content set.
  13. Click Create.