config case_sensitive = false | preset=xdr_process | filter (event_type = ENUM.PROCESS and 
 event_sub_type = ENUM.PROCESS_START) and 
 (agent_os_type = ENUM.AGENT_OS_LINUX and 
 ((action_process_image_path contains "/yum" and 
 (action_process_image_command_line in ("*erase*", "*remove*"))) or 
 ((action_process_image_path in ("*/apt", "*/apt-get")) and 
 (action_process_image_command_line in ("*remove*", "*purge*"))) or 
 (action_process_image_path contains "/dpkg" and 
 (action_process_image_command_line in ("*--remove *", "* -r *"))) or 
 (action_process_image_path contains "/rpm" and 
 action_process_image_command_line contains " -e ")))