config case_sensitive = false | preset=xdr_registry | filter (event_type = ENUM.REGISTRY and 
 event_sub_type = ENUM.REGISTRY_SET_VALUE) and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 (action_registry_key_name contains "\shell\SentinelOneScan\command\" and 
 (not 
 ((((action_registry_value_name in ("C:\Program Files\SentinelOne\Sentinel Agent*", "C:\Program Files (x86)\SentinelOne\Sentinel Agent*")) or 
 (action_registry_data in ("C:\Program Files\SentinelOne\Sentinel Agent*", "C:\Program Files (x86)\SentinelOne\Sentinel Agent*"))) and 
 (action_registry_value_name contains "\SentinelScanFromContextMenu.exe" or 
 action_registry_data contains "\SentinelScanFromContextMenu.exe")) or 
 (actor_process_image_path in ("*C:\Program Files\SentinelOne\", "*C:\Program Files (x86)\SentinelOne\"))))))