Subscribed ES_EVENT_TYPE_AUTH_OPEN event in MacOS Endpoint Security library. As soon as application starts monitoring, macOS system hangs. I tried to dispatch it on other threads. I also tried to stop monitoring for some processes using es_mute_process but all efforts in vain.
Please help me understand how can we monitor and control auth open events for desired process and files only.
Let me know how to filter open events so that it does not slow down the system.