mirror of
https://github.com/cve-search/PyVulnerabilityLookup.git
synced 2025-01-18 18:46:19 +00:00
chg: get_vendor_products is finally on /api/browse/vendor in order to stay compatible with cve-search. this was a bad change
This commit is contained in:
parent
ac8bccd8f3
commit
9f012fa85a
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class PyVulnerabilityLookup():
|
||||||
|
|
||||||
:params vendor: A vendor owning products (must be in the known vendor list)
|
:params vendor: A vendor owning products (must be in the known vendor list)
|
||||||
'''
|
'''
|
||||||
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('api', 'vulnerability', 'browse', vendor))))
|
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('api', 'browse', vendor))))
|
||||||
return r.json()
|
return r.json()
|
||||||
|
|
||||||
def get_vendor_product_vulnerabilities(self, vendor: str, product: str) -> list[str]:
|
def get_vendor_product_vulnerabilities(self, vendor: str, product: str) -> list[str]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue