fix column name errror
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 1s
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-03-30 21:42:35 +02:00
parent 945767f0ce
commit 95c0302b6b

View File

@@ -757,7 +757,7 @@ class DatabasePool:
ingress_if AS iface, ingress_if AS iface,
src_ip::text AS ip_address, src_ip::text AS ip_address,
src_mac::text AS mac_address, src_mac::text AS mac_address,
COALESCE(NULLIF(app_protocol::text, ''), NULLIF(app_master_protocol::text, ''), NULLIF(ip_proto::text, ''), NULLIF(eth_type::text, ''), 'UNKNOWN') AS protocol_name, COALESCE(NULLIF(app_protocol::text, ''), NULLIF(ip_proto::text, ''), NULLIF(eth_type::text, ''), 'UNKNOWN') AS protocol_name,
COALESCE(NULLIF(verdict::text, ''), 'unknown') AS verdict_name, COALESCE(NULLIF(verdict::text, ''), 'unknown') AS verdict_name,
timestamp, timestamp,
'source_on_ingress' AS evidence 'source_on_ingress' AS evidence
@@ -772,7 +772,7 @@ class DatabasePool:
egress_if AS iface, egress_if AS iface,
dst_ip::text AS ip_address, dst_ip::text AS ip_address,
dst_mac::text AS mac_address, dst_mac::text AS mac_address,
COALESCE(NULLIF(app_protocol::text, ''), NULLIF(app_master_protocol::text, ''), NULLIF(ip_proto::text, ''), NULLIF(eth_type::text, ''), 'UNKNOWN') AS protocol_name, COALESCE(NULLIF(app_protocol::text, ''), NULLIF(ip_proto::text, ''), NULLIF(eth_type::text, ''), 'UNKNOWN') AS protocol_name,
COALESCE(NULLIF(verdict::text, ''), 'unknown') AS verdict_name, COALESCE(NULLIF(verdict::text, ''), 'unknown') AS verdict_name,
timestamp, timestamp,
'destination_on_egress' AS evidence 'destination_on_egress' AS evidence