From c73de8f5b44c4e9264e539a3006b809c076c8c85 Mon Sep 17 00:00:00 2001 From: Philipp Eder Date: Tue, 16 Jul 2024 21:40:09 +0200 Subject: [PATCH] Review findings --- rust/nasl-builtin-std/src/report_functions.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rust/nasl-builtin-std/src/report_functions.rs b/rust/nasl-builtin-std/src/report_functions.rs index cce42de66..1d23cc492 100644 --- a/rust/nasl-builtin-std/src/report_functions.rs +++ b/rust/nasl-builtin-std/src/report_functions.rs @@ -42,12 +42,11 @@ impl Reporting { Some("udp") => Protocol::UDP, _ => Protocol::TCP, }; - // TOO: enhance id let result = models::Result { id: self.id(), r_type: typus, ip_address: Some(context.target().to_string()), - // TODO: + // TODO: where to get hostname? is it only vhost relevant? hostname: None, oid: Some(context.key().value()), port,