An XQL query can be saved as a BIOC rule only when it queries the xdr_data dataset using filter logic scoped to a single event type and supported entity fields, and only a process-type BIOC rule can then be converted to a custom prevention rule, which is enforced through a Restrictions profile on the endpoint. The query that filters event_type = ENUM.PROCESS together with action_process_image_name and action_process_image_command_line conditions satisfies both requirements: it is a valid single-event-type process BIOC and can be applied as a custom prevention rule to block the matching process behavior. A query that requires event_type to equal both ENUM.PROCESS and ENUM.DEVICE can never match a single event and does not define a valid BIOC, a device-event query has no process activity to prevent, and a file-event query that adds a fields projection stage is neither eligible for BIOC creation nor convertible to a prevention rule, since prevention conversion is limited to process events.
Community Discussion