def rule(event):
    if all(
        [
            event.deep_get("Operation", default="") == "UserLoggedIn",
            event.deep_get("ApplicationId", default="") == "9ba1a5c7-f17a-4de9-a1f1-6178c8d51223",
            event.deep_get("ResultStatus", default="") == "Success",
            event.deep_get("RequestType", default="") == "Cmsi:Cmsi",
            not event.deep_get("ObjectId", default="") == "0000000a-0000-0000-c000-000000000000",
        ]
    ):
        return True
    return False
