16 lines
430 B
Ruby
16 lines
430 B
Ruby
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
|