def ossec_level_to_log_level(message: dict) -> str:
    """
    converts OSSEC_Level to log level
    OSSEC level. An integer in the range 0 to 15 inclusive. 0-3=Low severity, 4-7=Medium severity, 8-11=High severity, 12-15=Critical severity.
    """
    level = message.get("OSSEC_Level", 0)
    if level >= 8:
        return "error"
    elif level >= 4:
        return "warning"
    else:
        return "info"