def gather_bug_list()

in foundation_security_advisories/update_hof.py [0:0]


def gather_bug_list(apikey):
    try:
        bugs = http.get(search_url, headers=HEADERS, params={'api_key':apikey, 'include_fields': 'id, classification, product, component, cf_last_resolved, creator, creation_time'}).json()
    except requests.exceptions.RequestException as e:
        print(e)
        sys.exit(1)
    return bugs