def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\ScreenConnect.WindowsClient.exe"),
            "\\Documents\\ConnectWiseControl\\Temp\\"
            in event.deep_get("TargetFilename", default=""),
        ]
    ):
        return True
    return False
