Cves module


Route:
/v1/vigiles/cves/<cve_id> Methods: "GET"

Search CVE info by CVE id

Parameters:
  • cve_id (str) – ID of the cve to search for
  • request_data (JSON object) –

    Data sent with request with keys:

    "email"
    Email of user sending the request
    "fields"
    Fields to return in search results. Valid fields: “affected_configurations”, “assigned_by”, “description”, “identifier”, “impact”, “modified”, “problem_types”, “published”, “references”
Returns:

search_results – Results of search with keys: “affected_configurations”, “assigned_by”, “description”, “identifier”, “impact”, “modified”, “problem_types”, “published”, “references”

Return type:

JSON object


Route:
/v1/vigiles/cves Methods: "GET"

Search for CVEs with a product name and version

Parameters:request_data (JSON object ['str', 'str']) –

Data sent with request with keys:

"email"
Email of user sending the request
"product"
CPE Product (package name) to get CVEs for
"version"
Version of package to get CVEs for
"ids_only"
If True, an array of CVE ids will be returned
Returns:cves – An array of CVE ids is returned if “ids_only” is true. Otherwise, a dictionary with CVE information will be returned
Return type:array(object)