feat: maintain netbox-inventory assets for clients and show the agent's software list
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d6622cf48f
commit
98c8647501
7 files changed
+239
-4
No files matched your search
@@ -274,6 +274,7 @@ def apply_scan(row, raw, now=None):
|
||||
"installed": raw.get("installed", ""),
|
||||
"last_boot": raw.get("last_boot", ""),
|
||||
"source": raw.get("source", "winrm"),
|
||||
"uuid": raw.get("uuid", ""),
|
||||
"agent_version": raw.get("agent_version", ""),
|
||||
"software_count": len(raw.get("software") or []),
|
||||
"software": [{"name": item.get("name", ""), "version": item.get("version", ""),
|
||||
|
||||
Reference in new issue
Block a user