Session Fields
Names, types, and definitions of fields used in policy rule conditions and session records.
Session fields describe a connection and how the firewall handled it. For example, a security rule can match destination_ip against an address object for a payroll server. In the session record, that same field shows which address the client contacted, while security_rule_action shows whether the firewall allowed or denied the traffic.
Rule conditions
The rule editor offers the fields supported by the policy you are editing. These session record fields can also be used in rule conditions. See Policies for how the firewall matches fields against objects.
| Match traffic by | Session record fields |
|---|---|
| Endpoint or zone | source_ip, destination_ip, source_mac, source_zone, destination_zone |
| Protocol or port | ip_protocol, source_port, destination_port |
| Application or domain | application_uuid, destination_fqdn, dns_qname, http_url |
| TLS fingerprint or detection tag | tls_ja4, tls_ja3s, detection_tags |
Some conditions use a related field. For example, a destination-country condition matches a country object, while the log shows the country as destination_geo_country_name and destination_geo_country_iso_code.
Session record fields
In Logs > Session Records, use security_rule_uuids to identify the rules that applied, source_bytes and destination_bytes to see how much traffic passed in each direction, and end_reason to see why the session ended. Which sessions appear depends on the device and rule logging settings.
Source and destination refer to the sender and receiver of the session’s first packet. Protocol-specific fields have values when the device observes the corresponding traffic. See Concepts for how the firewall derives field values.
Connection and traffic
| Field name | Type | Definition |
|---|---|---|
decoded_protocol | string | Application-layer protocol identified by the decoder. BASE means no application protocol was identified. |
destination_as_number | uint32 | Autonomous system number associated with the destination IP address. |
destination_bytes | uint64 | Number of bytes sent from destination to source. |
destination_fqdn | string | Fully qualified destination domain name derived from HTTP Host, TLS SNI, or QUIC SNI. |
destination_geo_country_iso_code | string | ISO country code associated with the destination IP address. Private addresses use the internal region. |
destination_geo_country_name | string | Country name associated with the destination IP address. Private addresses use the internal region. |
destination_ip | ip-address | IP address at the destination of the session. |
destination_mac | string | Destination MAC address in the Ethernet header. |
destination_packets | uint64 | Number of packets sent from destination to source. |
destination_port | port | Transport port at the destination endpoint. |
destination_registered_domain | string | Registered part of the destination FQDN, such as example.com for www.example.com. |
destination_zone | uuid | UUID of the security zone on the destination side of the session. |
destination_zone_role | string | Role assigned to the destination zone, such as external. |
direction | string | Traffic direction derived from the two zone roles. For example, internal to external is outbound. |
duration_ms | uint32 | Elapsed time from session start to end, in milliseconds. |
end_reason | string | Reason the session ended, such as aged-out. |
end_time_ms | timestamp | Time the session ended, in milliseconds since the Unix epoch. |
event_time_ms | timestamp | Time of the recorded event, in milliseconds since the Unix epoch. |
ip_protocol | uuid | UUID of the IP protocol object. ICMPv4 and ICMPv6 share the ICMP object. |
log_uuid | uuid | Unique identifier for this log record. |
origin | string | Session origin. The firewall records host for sessions it identifies as device-initiated and transit for other sessions. This field is independent of traffic direction. |
session_uuid | uuid | Unique identifier for the session described by this record. |
source_as_number | uint32 | Autonomous system number associated with the source IP address. |
source_bytes | uint64 | Number of bytes sent from source to destination. |
source_geo_country_iso_code | string | ISO country code associated with the source IP address. Private addresses use the internal region. |
source_geo_country_name | string | Country name associated with the source IP address. Private addresses use the internal region. |
source_ip | ip-address | IP address of the endpoint that initiated the session. |
source_mac | mac-address | Source MAC in the first packet’s Ethernet header. Across a routed hop, this is the adjacent router’s MAC. |
source_packets | uint64 | Number of packets sent from source to destination. |
source_port | port | Transport port at the source endpoint. |
source_zone | uuid | UUID of the security zone on the source side of the session. |
source_zone_role | string | Role assigned to the source zone, such as internal. |
start_time_ms | timestamp | Time the session began, in milliseconds since the Unix epoch. |
Source device
| Field name | Type | Definition |
|---|---|---|
source_device_hostname | string | Source device name learned from mDNS or DHCP option 12. The mDNS name takes precedence. |
source_device_model | string | Model reported by the source device. Known Apple board IDs appear as model names. |
source_device_os | string | Source device operating system identified from DHCP options 55 and 60 when a fingerprint matches. |
source_device_type | string | Device class assigned to the source, such as a phone or printer. |
source_device_vendor | string | Manufacturer identified from the source MAC prefix. Absent for randomized MAC addresses. |
Policy decisions
| Field name | Type | Definition |
|---|---|---|
app_signature_rule_uuids | uuid-array | Custom signature rules whose identification results the session used, in order of first use. |
detection_rule_uuids | uuid-array | UUIDs of detection rules that began tracking a new value because of this session. |
detection_tags | uuid-array | UUIDs of detection tags assigned when the session was created. |
nat_rule_uuids | uuid-array | NAT rules whose decisions took effect, including explicit decisions to leave addresses untranslated. |
security_rule_action | string | Action taken by the last security rule applied to the session, such as allow or deny. |
security_rule_uuids | uuid-array | Security rules applied during the session, in order of first use. Includes a zone default if it took effect. |
shaping_rule_uuids | uuid-array | Traffic shaping rules applied during the session, in order of first use. |
statistics_rule_uuids | uuid-array | Statistics rules applied to the session with resolved execution parameters, in order of first use. |
Application
| Field name | Type | Definition |
|---|---|---|
application_category | string | Broad category of the identified application, such as networking. |
application_characteristic | string | Comma-separated characteristics of the application, such as streaming. |
application_name | string | Name of the application identified in the session. |
application_risk | uint32 | Application risk rating, from 1 (lowest) to 5 (highest). |
application_subcategory | string | More specific classification of the application, such as video streaming. |
application_transition | string | Sequence of application identifications made as the session progressed. |
application_uuid | uuid | Stable identifier for the application identified in the session. |
TLS
| Field name | Type | Definition |
|---|---|---|
tls_client_hello_malformed | boolean | Whether the decoder found a malformed TLS ClientHello. |
tls_ja3s | string | JA3S fingerprint of the server’s TLS ServerHello. |
tls_ja4 | string | JA4 fingerprint of the client’s TLS ClientHello. |
tls_sni | string | Server name requested in the TLS ClientHello. |
tls_version | string | TLS version negotiated during the handshake. |
DNS
| Field name | Type | Definition |
|---|---|---|
dns_opcode | uint32 | Numeric code for the requested DNS operation. |
dns_qname | string | Domain name in the DNS question. |
dns_qr | uint32 | DNS message direction. A value of 0 indicates a query and 1 indicates a response. |
dns_qtype | uint32 | Numeric type of the requested DNS record, such as 1 for an A record. |
dns_rcode | uint32 | DNS response code indicating the outcome of a query. |
dns_transaction_id | uint32 | DNS message identifier used to pair a response with its query. |
QUIC
| Field name | Type | Definition |
|---|---|---|
quic_ja4 | string | JA4 fingerprint of the client’s QUIC ClientHello. |
quic_sni | string | Server name requested during the QUIC handshake. |
quic_user_agent | string | User agent extracted from the QUIC handshake or its application protocol. |
quic_version | string | QUIC protocol version negotiated for the connection. |
HTTP
| Field name | Type | Definition |
|---|---|---|
http_host | string | Value of the request’s Host header. |
http_referer | string | Referring URL supplied by the client in the Referer header. |
http_request_bytes | uint64 | Size of the HTTP request in bytes, including headers and body. |
http_request_line | string | Complete request line, including method, request target, and HTTP version. |
http_request_method | string | Method used for the request, such as GET or POST. |
http_response_bytes | uint64 | Size of the HTTP response body in bytes. |
http_response_line | string | Complete response line, including HTTP version, status code, and reason phrase. |
http_response_status_code | uint32 | Numeric status returned by the server, such as 200 or 404. |
http_url | string | Full URL requested in the HTTP transaction. |
http_user_agent | string | Value of the request’s User-Agent header. |
http_version | string | HTTP protocol version observed in the transaction. |
Policy verification inputs
| Policy | Fields you can supply |
|---|---|
| Security and NAT | Source IP, Destination IP, IP Protocol, Source Port, Destination Port, Source Zone, Destination Zone |
| NAT only | Destination Interface |
| Security only | Source MAC, Destination FQDN, Application UUID, HTTP URL, DNS Query Name, TLS JA4 Fingerprint, TLS JA3S Fingerprint |
For Destination Zone, supply the zone from the initial route lookup when verifying NAT and the zone after any DNAT when verifying Security. See Policy Verification.
The device looks up country and ASN using the supplied IP addresses and reports them as enriched fields.