Skip to content

Commit

Permalink
🧹 remove machine id as default id detector
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock committed Oct 4, 2023
1 parent 274fceb commit bb8c4dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/os/connection/vagrant.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func migrateVagrantAssetToSsh(id uint32, sshConfig *vagrant.VagrantVmSSHConfig,

asset.Name = sshConfig.Host
asset.Connections = []*inventory.Config{cc}
asset.IdDetector = []string{ids.IdDetector_Hostname, ids.IdDetector_SshHostkey, ids.IdDetector_MachineID}
asset.IdDetector = []string{ids.IdDetector_Hostname, ids.IdDetector_SshHostkey}

return nil
}
2 changes: 1 addition & 1 deletion providers/os/provider/detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"go.mondoo.com/cnquery/providers/os/id/sshhostkey"
)

// default id detectors
var IdDetectors = []string{
ids.IdDetector_Hostname,
ids.IdDetector_MachineID,
ids.IdDetector_CloudDetect,
ids.IdDetector_SshHostkey,
}
Expand Down

0 comments on commit bb8c4dd

Please sign in to comment.