def rule(event):
    if all(
        [
            event.deep_get("Status", default="") == "Success",
            event.deep_get("AuthenticationRequirement", default="") == "singleFactorAuthentication",
        ]
    ):
        return True
    return False
