def rule(event):
    if all(
        [
            event.deep_get("eventName", default="") == "ConsoleLogin",
            event.deep_get("additionalEventData", "MFAUsed", default="") == "NO",
            event.deep_get("responseElements", "ConsoleLogin", default="") == "Success",
        ]
    ):
        return True
    return False
