fix(devices): enrich last_seen from Flow and align Active status threshold with collector interval
This commit is contained in:
1 parent
4421b15393
commit
fc441e4f1f
5 files changed
+33
-7
No files matched your search
@@ -95,7 +95,7 @@ async function collectDevicesAndApps(agentUuid, timestamp, SITE_UUID, backone, l
|
||||
device_label, device_type,
|
||||
os_label, manufacturer,
|
||||
download: d.download || 0, upload: d.upload || 0, flows: d.flows || 0,
|
||||
last_seen: d.last_seen,
|
||||
last_seen: d.last_seen || timestamp.toISOString(),
|
||||
};
|
||||
}).filter(d => d.ip_address && ipMatchesSubnets(d.ip_address, allowedSubnets));
|
||||
|
||||
|
||||
Reference in new issue
Block a user