def rule(event):
    if all(
        [
            event.deep_get("AuthenticationRequirement", default="") == "singleFactorAuthentication",
            event.deep_get("ResultType", default="") == 0,
            event.deep_get("NetworkLocationDetails", default="") == "[]",
            event.deep_get("DeviceDetail", "deviceId", default="") == "",
        ]
    ):
        return True
    return False
