Added event definitions for the endpoint and machine detected events