Skip to content

Commit

Permalink
Include software from network devices when forwarding to server from …
Browse files Browse the repository at this point in the history
…collector.
  • Loading branch information
mark-unwin committed Aug 7, 2024
1 parent 545c56d commit efc33a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Helpers/discoveries_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit efc33a5

Please sign in to comment.