{{email_static_labels.alert_generated_by_unifi}}{{^email_static_labels.alert_generated_by_unifi}}You have received the following alert generated by UniFi Network{{/email_static_labels.alert_generated_by_unifi}}

{{subject}}
{{email_static_labels.alert_status}}{{^email_static_labels.alert_status}}Alert status{{/email_static_labels.alert_status}} - {{alert_status}}
{{email_static_labels.alert}}{{^email_static_labels.alert}}Alert{{/email_static_labels.alert}} - {{body_message}}

{{email_static_labels.device_details}}{{^email_static_labels.device_details}}Device details{{/email_static_labels.device_details}}
{{#device_name}}
{{email_static_labels.device_name}}{{^email_static_labels.device_name}}Device Name{{/email_static_labels.device_name}}: {{device_name}}
{{/device_name}}
{{#client_name}}
{{email_static_labels.client_name}}{{^email_static_labels.client_name}}Client Name{{/email_static_labels.client_name}}: {{client_name}}
{{/client_name}}
{{#device_model}}
{{email_static_labels.model}}{{^email_static_labels.model}}Model{{/email_static_labels.model}}: {{device_model}}
{{/device_model}}
{{#client_product}}
{{email_static_labels.product}}{{^email_static_labels.product}}Product{{/email_static_labels.product}}: {{client_product}}
{{/client_product}}
{{email_static_labels.time}}{{^email_static_labels.time}}Time{{/email_static_labels.time}}: {{time}}

{{#threat.risk}}
{{email_static_labels.risk}}{{^email_static_labels.risk}}Risk{{/email_static_labels.risk}}: {{threat.risk}}
{{/threat.risk}}
{{#threat.verdict}}
{{email_static_labels.verdict}}{{^email_static_labels.verdict}}Verdict{{/email_static_labels.verdict}}: {{threat.verdict}}
{{/threat.verdict}}
{{#threat.signature}}
{email_static_labels.signature}}{{^email_static_labels.signature}}Signature{{/email_static_labels.signature}}: {{threat.signature}}
{{/threat.signature}}
{{#threat.category}}
{email_static_labels.category}}{{^email_static_labels.category}}Category{{/email_static_labels.category}}: {{threat.category}}
{{/threat.category}}
{{#threat.class_type}}
{email_static_labels.class_type}}{{^email_static_labels.class_type}}Class{{/email_static_labels.class_type}}: {{threat.class_type}}
{{/threat.class_type}}
{{#threat.relevant_cve}}
{email_static_labels.relevant_cve}}{{^email_static_labels.relevant_cve}}Relevant CVE{{/email_static_labels.relevant_cve}}: {{threat.relevant_cve}}
{{/threat.relevant_cve}}
{{#threat.signature_id}}
{email_static_labels.signature_id}}{{^email_static_labels.signature_id}}Signature ID{{/email_static_labels.signature_id}}: {{threat.signature_id}}
{{/threat.signature_id}}
{{#threat.affected_products}}
{email_static_labels.affected_products}}{{^email_static_labels.affected_products}}Affected Product{{/email_static_labels.affected_products}}: {{threat.affected_products}}
{{/threat.affected_products}}
{{#threat.reference}}
{email_static_labels.reference}}{{^email_static_labels.reference}}Reference{{/email_static_labels.reference}}: {{threat.reference}}
{{/threat.reference}}
{{#threat.client_name}}
{email_static_labels.client_name}}{{^email_static_labels.client_name}}Client{{/email_static_labels.client_name}}: {{threat.client_name}}
{{/threat.client_name}}
{email_static_labels.associated_banner}}{{^email_static_labels.associated_banner}}This is associated with potential Trojan activity which may be harmful for your network.{{/email_static_labels.associated_banner}}
{{#threat.counterpart}}
{email_static_labels.counterpart}}{{^email_static_labels.counterpart}}Counterpart{{/email_static_labels.counterpart}}: {{threat.counterpart}}
{{/threat.counterpart}}
{{#threat.location}}
{email_static_labels.location}}{{^email_static_labels.location}}Location{{/email_static_labels.location}}: {{threat.location}}
{{/threat.location}}
{{#threat.date_time}}
{email_static_labels.date_time}}{{^email_static_labels.date_time}}DATE / TIME{{/email_static_labels.date_time}}: {{threat.date_time}}
{{/threat.date_time}}
{{#threat.source_mac_address}}
{email_static_labels.source_mac_address}}{{^email_static_labels.source_mac_address}}Source MAC Address{{/email_static_labels.source_mac_address}}: {{threat.source_mac_address}}
{{/threat.source_mac_address}}
{{#threat.source_ip_address}}
{email_static_labels.source_ip_address}}{{^email_static_labels.source_ip_address}}Source IP Address{{/email_static_labels.source_ip_address}}: {{threat.source_ip_address}}
{{/threat.source_ip_address}}
{{#threat.source_port}}
{email_static_labels.source_port}}{{^email_static_labels.source_port}}Source Port{{/email_static_labels.source_port}}: {{threat.source_port}}
{{/threat.source_port}}
{{#threat.destination_mac_address}}
{email_static_labels.destination_mac_address}}{{^email_static_labels.destination_mac_address}}Destination MAC Address{{/email_static_labels.destination_mac_address}}: {{threat.destination_mac_address}}
{{/threat.destination_mac_address}}
{{#threat.destination_ip_address}}
{email_static_labels.destination_ip_address}}{{^email_static_labels.destination_ip_address}}Destination IP Address{{/email_static_labels.destination_ip_address}}: {{threat.destination_ip_address}}
{{/threat.destination_ip_address}}
{{#threat.destination_port}}
{email_static_labels.destination_port}}{{^email_static_labels.destination_port}}Destination Port{{/email_static_labels.destination_port}}: {{threat.destination_port}}
{{/threat.destination_port}}
{{#threat.protocol}}
{email_static_labels.protocol}}{{^email_static_labels.protocol}}Protocol{{/email_static_labels.protocol}}: {{threat.protocol}}
{{/threat.protocol}}
{{#threat.total_data}}
{email_static_labels.total_data}}{{^email_static_labels.total_data}}Total Data{{/email_static_labels.total_data}}: {{threat.total_data}}
{{/threat.total_data}}
{{#threat.packets_sent}}
{email_static_labels.packets_sent}}{{^email_static_labels.packets_sent}}Packets Sent{{/email_static_labels.packets_sent}}: {{threat.packets_sent}}
{{/threat.packets_sent}}
{{#threat.packets_received}}
{email_static_labels.packets_received}}{{^email_static_labels.packets_received}}Packets Received{{/email_static_labels.packets_received}}: {{threat.packets_received}}
{{/threat.packets_received}}
{{#threat.bytes_sent}}
{email_static_labels.bytes_sent}}{{^email_static_labels.bytes_sent}}Bytes Sent{{/email_static_labels.bytes_sent}}: {{threat.bytes_sent}}
{{/threat.bytes_sent}}
{{#threat.bytes_received}}
{email_static_labels.bytes_received}}{{^email_static_labels.bytes_received}}Bytes Received{{/email_static_labels.bytes_received}}: {{threat.bytes_received}}
{{/threat.bytes_received}}

{{email_static_labels.device_url}}{{^email_static_labels.device_url}}Device url{{/email_static_labels.device_url}}: {{controller_url}}
