CiscoPSIRT / openVulnAPI

Documentation and Tools for Cisco's PSIRT openVuln API
https://developer.cisco.com/psirt/
MIT License
102 stars 52 forks source link

CVRF URL not present in openVulnQuery 1.29 #60

Closed santosomar closed 5 years ago

santosomar commented 5 years ago

CVRF URL disappeared from openVulnQuery 1.29.

The problem is that during the cleanup of OVAL and CVRF constructs the cvrfURL was not being parsed from the API.

I am adding it to:

    def __init__(self, advisory_id, sir, first_published, last_updated, cves,
                 bug_ids, cvss_base_score, advisory_title, publication_url,
                 cwe, cvrfUrl,
                 product_names, summary):
        self.advisory_id = advisory_id
        self.sir = sir
        self.first_published = first_published
        self.last_updated = last_updated
        self.cves = cves
        self.bug_ids = bug_ids
        self.cvss_base_score = cvss_base_score
        self.advisory_title = advisory_title
        self.publication_url = publication_url
        self.cwe = cwe
        self.cvrfUrl = cvrfUrl
        self.product_names = product_names
        self.summary = summary

Under advisory.py

santosomar commented 5 years ago

Addressed in commit https://github.com/CiscoPSIRT/openVulnAPI/commit/1581fd6b4c670fc4287b37b1d56651dc10c10cc7