Add sysobjectid and hardware fields into oxidized maps (#13221)

* add sysobjectid and hostname field into oxidized maps

* add app.js
This commit is contained in:
Negatifff
2021-09-17 03:00:06 +03:00
committed by GitHub
parent 117036bf29
commit 962e05ea6b
5 changed files with 12 additions and 10 deletions

View File

@@ -1395,7 +1395,7 @@ function list_oxidized(Illuminate\Http\Request $request)
->whereNotIn('type', Config::get('oxidized.ignore_types', []))
->whereNotIn('os', Config::get('oxidized.ignore_os', []))
->whereAttributeDisabled('override_Oxidized_disable')
->select(['hostname', 'sysName', 'sysDescr', 'hardware', 'os', 'ip', 'location_id'])
->select(['hostname', 'sysName', 'sysDescr', 'sysObjectID', 'hardware', 'os', 'ip', 'location_id'])
->get();
/** @var Device $device */