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 in ("*/python", "*/python2", "*/python3")) or 
 (action_process_image_path in ("*/python2.*", "*/python3.*"))) and 
 (action_process_image_command_line in ("*import pty*", "*from pty *")) and 
 action_process_image_command_line contains "spawn"))