def find_vulns_by_cve(cve)
      uri  = '/api/2.0/vulnerability_definitions'
      resp = AJAX.get(self, uri, AJAX::CONTENT_TYPE::JSON, cve: cve)
      json = JSON.parse(resp, symbolize_names: true)
      json[:resources].map { |e| VulnerabilityDefinition.new.object_from_hash(self, e) }
    end
def find_vulns_by_cve(cve)
      uri  = '/api/2.0/vulnerability_definitions'
      resp = AJAX.get(self, uri, AJAX::CONTENT_TYPE::JSON, cve: cve)
      json = JSON.parse(resp, symbolize_names: true)
      json[:resources].map { |e| VulnerabilityDefinition.new.object_from_hash(self, e) }
    end
Search for any vulnerability definitions which refer to a given CVE.

 @param [String] cve A valid CVE.
 @return [Array[VulnerabilityDefinition]] A list of vuln definitions which check the CVE.