From efc33a5ae871c3f1dbc391a77e3ae8886999e203 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Thu, 8 Aug 2024 08:38:47 +1000 Subject: [PATCH] Include software from network devices when forwarding to server from collector. --- app/Helpers/discoveries_helper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Helpers/discoveries_helper.php b/app/Helpers/discoveries_helper.php index 6a313d0f4..2de193090 100644 --- a/app/Helpers/discoveries_helper.php +++ b/app/Helpers/discoveries_helper.php @@ -1996,6 +1996,10 @@ function ip_audit($ip_scan = null) $device_json->network[] = $item; } } + if (!empty($software)) { + $device_json->software = array(); + $device_json->software[] = $software; + } if (!empty($audit)) { foreach ($audit as $key => $value) { if ($key !== 'system' and is_countable($value) and count($value) > 0) {