misc_rbtools/classes/cve_info.rb

17 lines
430 B
Ruby
Raw Normal View History

class CveReport
def cves
# return a list of cve data from the given filename in an array.
self.from_file(filename)
end
def from_file(filename)
# lookup info from the given json.gz filename of cve information.
end
def find(cve_id)
# this should look in the returned array of cve information from self.cves
# and return the given information for the cve_id
end
end