Binary directory and windows service checkups need to account for `identifier`
Opened this issue · 0 comments
RebeccaMahany commented
We now pull the incorrect directory in the binary directory checkup if the identifier isn't the default kolide-k2
. We should update this checkup to a) call launcher.DefaultPath(launcher.BinDirectory)
to get the bin directory, and b) to replace the identifier in the bin directory with the non-default identifier if it's set. (We can do something similar to what the launcher flags checkup does.)
We should additionally update the windows services checkup to incorporate the identifier with the service name here. there is a utility function here that will generate the correct service name for querying. this will ensure that the correct event logs are collected