def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 8001,
            event.deep_get("TargetName", default="").startswith("TERMSRV"),
        ]
    ):
        return True
    return False
