def rule(event):
    if all(
        [
            "\\TacticalAgent\\tacticalrmm.exe" in event.deep_get("Image", default=""),
            "--api" in event.deep_get("CommandLine", default=""),
            "--auth" in event.deep_get("CommandLine", default=""),
            "--client-id" in event.deep_get("CommandLine", default=""),
            "--site-id" in event.deep_get("CommandLine", default=""),
            "--agent-type" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
