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) {