Skip to Content
Cybrave OS

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 bySession record fields
Endpoint or zonesource_ip, destination_ip, source_mac, source_zone, destination_zone
Protocol or portip_protocol, source_port, destination_port
Application or domainapplication_uuid, destination_fqdn, dns_qname, http_url
TLS fingerprint or detection tagtls_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 nameTypeDefinition
decoded_protocolstringApplication-layer protocol identified by the decoder. BASE means no application protocol was identified.
destination_as_numberuint32Autonomous system number associated with the destination IP address.
destination_bytesuint64Number of bytes sent from destination to source.
destination_fqdnstringFully qualified destination domain name derived from HTTP Host, TLS SNI, or QUIC SNI.
destination_geo_country_iso_codestringISO country code associated with the destination IP address. Private addresses use the internal region.
destination_geo_country_namestringCountry name associated with the destination IP address. Private addresses use the internal region.
destination_ipip-addressIP address at the destination of the session.
destination_macstringDestination MAC address in the Ethernet header.
destination_packetsuint64Number of packets sent from destination to source.
destination_portportTransport port at the destination endpoint.
destination_registered_domainstringRegistered part of the destination FQDN, such as example.com for www.example.com.
destination_zoneuuidUUID of the security zone on the destination side of the session.
destination_zone_rolestringRole assigned to the destination zone, such as external.
directionstringTraffic direction derived from the two zone roles. For example, internal to external is outbound.
duration_msuint32Elapsed time from session start to end, in milliseconds.
end_reasonstringReason the session ended, such as aged-out.
end_time_mstimestampTime the session ended, in milliseconds since the Unix epoch.
event_time_mstimestampTime of the recorded event, in milliseconds since the Unix epoch.
ip_protocoluuidUUID of the IP protocol object. ICMPv4 and ICMPv6 share the ICMP object.
log_uuiduuidUnique identifier for this log record.
originstringSession 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_uuiduuidUnique identifier for the session described by this record.
source_as_numberuint32Autonomous system number associated with the source IP address.
source_bytesuint64Number of bytes sent from source to destination.
source_geo_country_iso_codestringISO country code associated with the source IP address. Private addresses use the internal region.
source_geo_country_namestringCountry name associated with the source IP address. Private addresses use the internal region.
source_ipip-addressIP address of the endpoint that initiated the session.
source_macmac-addressSource MAC in the first packet’s Ethernet header. Across a routed hop, this is the adjacent router’s MAC.
source_packetsuint64Number of packets sent from source to destination.
source_portportTransport port at the source endpoint.
source_zoneuuidUUID of the security zone on the source side of the session.
source_zone_rolestringRole assigned to the source zone, such as internal.
start_time_mstimestampTime the session began, in milliseconds since the Unix epoch.

Source device

Field nameTypeDefinition
source_device_hostnamestringSource device name learned from mDNS or DHCP option 12. The mDNS name takes precedence.
source_device_modelstringModel reported by the source device. Known Apple board IDs appear as model names.
source_device_osstringSource device operating system identified from DHCP options 55 and 60 when a fingerprint matches.
source_device_typestringDevice class assigned to the source, such as a phone or printer.
source_device_vendorstringManufacturer identified from the source MAC prefix. Absent for randomized MAC addresses.

Policy decisions

Field nameTypeDefinition
app_signature_rule_uuidsuuid-arrayCustom signature rules whose identification results the session used, in order of first use.
detection_rule_uuidsuuid-arrayUUIDs of detection rules that began tracking a new value because of this session.
detection_tagsuuid-arrayUUIDs of detection tags assigned when the session was created.
nat_rule_uuidsuuid-arrayNAT rules whose decisions took effect, including explicit decisions to leave addresses untranslated.
security_rule_actionstringAction taken by the last security rule applied to the session, such as allow or deny.
security_rule_uuidsuuid-arraySecurity rules applied during the session, in order of first use. Includes a zone default if it took effect.
shaping_rule_uuidsuuid-arrayTraffic shaping rules applied during the session, in order of first use.
statistics_rule_uuidsuuid-arrayStatistics rules applied to the session with resolved execution parameters, in order of first use.

Application

Field nameTypeDefinition
application_categorystringBroad category of the identified application, such as networking.
application_characteristicstringComma-separated characteristics of the application, such as streaming.
application_namestringName of the application identified in the session.
application_riskuint32Application risk rating, from 1 (lowest) to 5 (highest).
application_subcategorystringMore specific classification of the application, such as video streaming.
application_transitionstringSequence of application identifications made as the session progressed.
application_uuiduuidStable identifier for the application identified in the session.

TLS

Field nameTypeDefinition
tls_client_hello_malformedbooleanWhether the decoder found a malformed TLS ClientHello.
tls_ja3sstringJA3S fingerprint of the server’s TLS ServerHello.
tls_ja4stringJA4 fingerprint of the client’s TLS ClientHello.
tls_snistringServer name requested in the TLS ClientHello.
tls_versionstringTLS version negotiated during the handshake.

DNS

Field nameTypeDefinition
dns_opcodeuint32Numeric code for the requested DNS operation.
dns_qnamestringDomain name in the DNS question.
dns_qruint32DNS message direction. A value of 0 indicates a query and 1 indicates a response.
dns_qtypeuint32Numeric type of the requested DNS record, such as 1 for an A record.
dns_rcodeuint32DNS response code indicating the outcome of a query.
dns_transaction_iduint32DNS message identifier used to pair a response with its query.

QUIC

Field nameTypeDefinition
quic_ja4stringJA4 fingerprint of the client’s QUIC ClientHello.
quic_snistringServer name requested during the QUIC handshake.
quic_user_agentstringUser agent extracted from the QUIC handshake or its application protocol.
quic_versionstringQUIC protocol version negotiated for the connection.

HTTP

Field nameTypeDefinition
http_hoststringValue of the request’s Host header.
http_refererstringReferring URL supplied by the client in the Referer header.
http_request_bytesuint64Size of the HTTP request in bytes, including headers and body.
http_request_linestringComplete request line, including method, request target, and HTTP version.
http_request_methodstringMethod used for the request, such as GET or POST.
http_response_bytesuint64Size of the HTTP response body in bytes.
http_response_linestringComplete response line, including HTTP version, status code, and reason phrase.
http_response_status_codeuint32Numeric status returned by the server, such as 200 or 404.
http_urlstringFull URL requested in the HTTP transaction.
http_user_agentstringValue of the request’s User-Agent header.
http_versionstringHTTP protocol version observed in the transaction.

Policy verification inputs

PolicyFields you can supply
Security and NATSource IP, Destination IP, IP Protocol, Source Port, Destination Port, Source Zone, Destination Zone
NAT onlyDestination Interface
Security onlySource 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.