config case_sensitive = false | preset=xdr_file | filter event_type = ENUM.FILE and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 (action_file_name contains "\Windows\System32\CodeIntegrity\" and 
 (not 
 ((actor_process_image_path in ("*\Microsoft.ConfigurationManagement.exe", "*\WDAC Wizard.exe", "*C:\Program Files\PowerShell\7-preview\pwsh.exe", "*C:\Program Files\PowerShell\7\pwsh.exe", "*C:\Windows\System32\dllhost.exe", "*C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe", "*C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe", "*C:\Windows\SysWOW64\dllhost.exe", "*C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell_ise.exe", "*C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe")) or 
 ((actor_process_command_line contains "ConvertFrom-CIPolicy -XmlFilePath" and 
 actor_process_command_line contains "-BinaryFilePath ") or 
 actor_process_command_line contains "CiTool --update-policy" or 
 (actor_process_command_line contains "Copy-Item -Path" and 
 actor_process_command_line contains "-Destination")) or 
 actor_process_image_path = "System" or 
 actor_process_image_path = "C:\Windows\System32\wuauclt.exe" or 
 (actor_process_image_path in ("C:\Windows\UUS\arm64\wuaucltcore.exe", "C:\Windows\UUS\Packages\Preview\arm64\wuaucltcore.exe"))))))