Configuring SMTP 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 SMTP servers. You can either include the results in the email body, or create an attachment.
Prerequisites
-
Email addresses for sending and receiving email results.
-
Information about your mail server, including host, port, user name, password, and authentication information.
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 (SMTP) 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 the body of the email by default.
If you want to attach a file to the email instead of having the data in the body of the email, edit the Advanced settings for the Email destination and select Attachment. Specify a file name and whether the file should be compressed.
The data format for email destinations is HTML by default. 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.