def METHOD_NAME(cve_id):
    cve = Cve(cve_id)
    graphline = []
    if cve.exists():
        nb_day = 30
        for date in Date.get_previous_date_list(nb_day):
            graphline.append({'date': f'{date[0:4]}-{date[4:6]}-{date[6:8]}', 'value': cve.get_nb_seen_by_date(date)})
    return graphline