I'm new to the API so go easy on me, but I can't seem to get an advisory based on the cve number. I can return the latest 10 with advisories/cvrf/latest/10, or look them up by advisory number, but as I understand from the getting started guide I should also be able to query based on the CVE number? When I try the following I get a 404 error message. I've tried several CVE numbers to no avail. Anyone else have any luck?
Thank you for reaching out...
Should be changed to:
(i.e., /cve/<cve-id> instead of /cve-id/<cve-id> )
I just noticed a problem in our documentation and working with the team to fix this.
The following is an example using curl.
curl -X GET -s -k -H "Accept: application/json" -H "Authorization: Bearer XXXXXX" https://api.cisco.com/security/advisories/cvrf/cve/CVE-2015-0292
XXXX is the actual token of course...
Hope this helps.
That did the trick, thank you much!
FYI, we updated the Getting Started page :
Please sign in to leave a comment.