mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 05:51:06 +00:00
26 lines
712 B
TypeScript
26 lines
712 B
TypeScript
/** Empty Ethernet capture facts. Tests supply their own client, target, and diagnostics. */
|
|
export const emptyPcapCaptureFields = () => ({
|
|
file_type: "pcap",
|
|
encapsulation: "Ethernet",
|
|
packet_count: 0,
|
|
capture_start: null,
|
|
capture_end: null,
|
|
capture_duration_seconds: null,
|
|
snapshot_length: null,
|
|
endpoints: [],
|
|
endpoint_count: 0,
|
|
dns_queries: [],
|
|
dns_query_count: 0,
|
|
tls_sni_values: [],
|
|
tls_sni_count: 0,
|
|
protocol_distribution: [],
|
|
protocol_count: 0,
|
|
http_request_uris: [],
|
|
http_request_uri_count: 0,
|
|
http_uri_redaction_count: 0,
|
|
unattributed_dns_addresses: [],
|
|
unattributed_dns_address_count: 0,
|
|
unattributed_dns_packet_count: 0,
|
|
coverage: "complete" as const,
|
|
});
|