How does the EDR Sensor find/determine the hostname of the endpoint?
The Linux Sensor will uses the following API calls
gethostbyname and getaddrinfo
The Windows Sensor will use two API calls
GetComputerNameW and GetComputerNameEx
The macOS sensor uses the folllowing API call.
gethostbyname api
EDR stores the local computer name and the DNS resolved hostname in Postgres. It also stores the following: