10-18-2018 06:31 AM
Hi,
trying to find for product the openVulnQuery fails with the following.
The same using curl works.
Any suggestions?
root@qitopsrv001:~# openVulnQuery --config /root/credential.json --product asa
Traceback (most recent call last):
File "/usr/local/bin/openVulnQuery", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/openVulnQuery/_library/main.py", line 60, in main
advisories = client.get_by(topic, adv_format, api_resource_value, **f_cfg)
File "/usr/local/lib/python2.7/dist-packages/openVulnQuery/_library/query_client.py", line 188, in get_by
return trampoline[topic](format, aspect, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openVulnQuery/_library/query_client.py", line 144, in get_by_product
req_path, params={'product': product_name})
File "/usr/local/lib/python2.7/dist-packages/openVulnQuery/_library/query_client.py", line 208, in get_request
r.raise_for_status()
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 893, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.cisco.com/security/advisories/product?product=asa
root@qitopsrv001:~#