From 811de90635c424c59cfc52bb29af30d17e6e65b4 Mon Sep 17 00:00:00 2001 From: Mikita Iwanowski Date: Sat, 14 Dec 2024 00:22:35 +0100 Subject: [PATCH] attempt: add machine-id detector --- providers/os/connection/device/device_connection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/os/connection/device/device_connection.go b/providers/os/connection/device/device_connection.go index c34f8f366..2fee0e440 100644 --- a/providers/os/connection/device/device_connection.go +++ b/providers/os/connection/device/device_connection.go @@ -231,6 +231,7 @@ func tryDetectAsset(connId uint32, partition *snapshot.PartitionInfo, conf *inve Strs("id-detectors", asset.IdDetector). // debug Msg("device connection> detecting platform from device") + asset.IdDetector = append(asset.IdDetector, ids.IdDetector_MachineID) fingerprint, p, err := id.IdentifyPlatform(fsConn, &plugin.ConnectReq{}, p, asset.IdDetector) if err != nil { log.Debug().Err(err).