Configuring email destinations
Before your connections can successfully send data to a destination, your Tanium Cloud instance, network egress allow list, and network allow list must be configured. Note the following:
-
Managing your Tanium Account and configure a network egress allow list rule for each destination fully qualified domain name (FQDN) and associated port. For more information about how to configure the network egress allow list, see Configuring network egress for Tanium Cloud.
-
You must associate a port used for non-HTTPS destinations with only one FQDN. If multiple FQDNs are associated with the same port, traffic does not route correctly.
-
TCP traffic that does not use Server Name Indication (SNI) is limited to one destination per port. For example, SQL traffic and SMTP traffic do not use SNI.
-
TCP traffic is not supported for the following ports: 22, 25, 111, 3128, 3129, 3130, 4000, 5000, 6000, 9100, 9301, 9302, 9901, and 9902.
-
UDP traffic is not supported.
-
Your Tanium Cloud instance has a proxy cluster with 2 public IP addresses. If a destination is in your network, add inbound traffic from these IP addresses to your network allow list.
For more information, including restrictions on FQDNs and ports, see Network egress. For assistance, Contact Tanium Support.
You can send information from a connection source to a set of email addresses using Microsoft 365 email resources or through an SMTP server. You can either include the results in the email body, or create an attachment.
Prerequisites for Microsoft 365 destinations
To configure a connection destination to send email through Microsoft 365, ensure you complete the following prerequisites:
-
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 not supported for email sent through GCC M365, including FedRAMP M365. 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 in GCC M365 environments. This limitation applies to any customer whose Microsoft 365 environment is GCC M365, independent of the Tanium environment. Customers who try to send an email with an attachment larger than 3 MB through a GCC M365 environment 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 Tanium Cloud. 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 role in Connect has 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 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 the Authority Host that you select for authentication to the Host that you select, over port 443/TCP.
-
Configure a network egress allow list rule for the following Microsoft 365 URLs to enable access for Microsoft 365 mail resources:
-
graph.microsoft.com:443
-
login.microsoftonline.com:443
-
graph.microsoft.us:443
-
dod-graph.microsoft.us:443 for DoD tenants
-
login.microsoftonline.us:443
-
outlook.office.com:443 and 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.
To configure network egress allow list rules, see Configuring network egress for Tanium Cloud.
-
For more information about how to configure an email server profile, see Configure email server profile settings for Microsoft 365.
Prerequisites for SMTP destinations
-
The Email (O365 & SMTP) destination requires an email server profile on Tanium Cloud. 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 role in Connect has 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 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 a network egress allow list rule for the SMTP server.
-
To use Google Mail as an SMTP server, add a rule for
smtp.google.com. -
To configure network egress allow list rules, see Configuring network egress for Tanium Cloud.
-
-
You can use the Email (O365 & SMTP) destination to send data to an SMTP destination that is not accessible from the internet. To do so, make sure your environment meets the requirements listed at Configure sending data to an on-premises destination that is not accessible from the external internet.
-
You must have email addresses to send and receive email results.
-
Gather information about your mail server, including host, port, certificate, user name, password.
Configure sending data to an on-premises destination that is not accessible from the external internet
Certain destinations support using a configured satellite to send data to an on-premises server that is not accessible from the external internet. Make sure that your environment meets the following requirements:
-
Tanium Client: 7.7.3.8176 or later
-
Tanium Direct Connect
-
Configure at least one satellite that can establish communications with the on-premises destination. For the best results, use a satellite with at least four processor cores and 16 GB of memory. Satellites with less memory might be sufficient for small data volumes. Satellite configuration requires the Direct Connect Satellite write permission. For more information, see Managing satellites.
-
-
Tanium Endpoint Configuration
-
Tanium Endpoint Configuration installs Client Extensions and other tools for Direct Connect on endpoints. Sending Tanium Cloud data using a configured satellite requires Core CX 2.15.1306 or later and DEC CX 2.10.1745 or later. For more information, see Client extensions.
-
-
To configure the connection destination, configure a custom role that includes the Direct Connect Satellite read and Client Stream write Direct Connect permissions. For more information, see Configure a custom role.
Note: Assign the Sensor read permission for the Endpoint Configuration content set to users who need to configure satellites.-
If a user has the Sensor read permission for the Endpoint Configuration content set, satellites that do not have the required versions of core-cx or dec-cx endpoint tools do not appear as options.
-
If a user does not have the Sensor read permission for the Endpoint Configuration content set, satellites that do not have the required versions of core-cx or dec-cx endpoint tools can still appear as options. If you select a satellite that does not have the required versions of the endpoint tools, an error appears when you try to save the connection.
The Connect Operator system role contains the required permissions in addition to the Sensor read permission.
-
-
Ensure that each user is assigned the custom role, and has access to the computer group containing the satellite intended for sending data to an on-premises destination. For more information, see Manage computer group assignments for a user.
Note the following:
-
You can configure a bandwidth throttle to limit the bandwidth and the number of concurrent connections used to send data to satellites. For more information, see Managing bandwidth throttles.
-
You cannot configure a connection using a satellite until the satellite status updates to online. Satellites might take several minutes or more to update to online after configuration.
-
Connection sources that gather information from endpoints, such as the Saved Question source, must finish gathering information before the satellite connection is established.
-
The Retrieve Properties and Retrieve Columns buttons use the configured Connect Timeout advanced setting value. Because on-premises destinations might require more time to establish a connection, increase Connect Timeout to 60 seconds.
Specify general connection information
Configure the connection source
The connection source determines what data you are sending to the destination. This data is usually information from Tanium, such as a saved question, question log, client status, or event. The settings vary depending on which source you choose.
For more information about available connection sources, see Connection sources.
Configure the email results destination
Configure filters
(Optional) In the section, you can specify filters to modify the data that you are getting from your connection source before it is sent to the destination.
For more information about the types of filters you can configure, see Reference: Filtering options.
Format data for email
You can choose from any of the available formats for your email. The data is sent in an email attachment by default.
If you want to have the data in the body of the email instead of attaching a file to the email, edit the email destination settings to clear Attachment.
You can choose the columns that appear in the resulting email.
In the section, you can change the Destination Label of each column and Value Type to force the column to be a String, Numeric, or Date/Time value.
If you choose Numeric for the value, you can specify a default value that is used if the data cannot be coerced into a numeric value. You can specify any negative or positive number.
If you choose Date/Time for the value, specify the format that you want to use for the column. For more information about how to use a variable, see Time stamp variables.
For more information about column customizations, see Reference: Column customizations.
Schedule the connection
Connections can run at a highly configurable time interval, such as multiple times per hour, day, week, or month.
Use the Schedule section to update the schedule:
-
Select Enable schedule.
-
In the Schedule Type, select Basic to build a schedule with the provided controls.
-
To view or edit the cron expression directly, select Advanced - Define as a Cron Expression, and use the Advanced field to edit the cron expression.
For more information about cron syntax, see Reference: Cron syntax for Connect.
Enable listening for an event
Connections with Event sources only run when a configured event is detected, and cannot be scheduled or manually run.
Use the Enablement section to send data when a configured event is detected:
-
Select Listen for this Event.