We now have the ability to query security advisories on a per product basis via the following resource URI:
https://api.cisco.com/security/advisories/cvrf/product?product<<keyword>>
For example, to query for all advisories that match the word "asa" (for Cisco ASA products), use the following method:
https://api.cisco.com/security/advisories/cvrf/product?product=asa
This new functionality also supports wildcards. For example:
https://api.cisco.com/security/advisories/cvrf/product?product=ios*
This is also documented at: https://developer.cisco.com/site/PSIRT/get-started/getting-started.gsp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Looks like the number of output results for CVRF is limited to 100 rows at most. I tried "ios", "asr", "asa", "nx-os", "unified communications" - all products give me 100 output rows max. Could it be a bug? Omar, could you please check?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For product search, you will need to use pagination if you want more than 100 results. For instance:
https://api.cisco.com/security/advisories/cvrf/product?product=ios&pageIndex=1&pageSize=100
or
https://api.cisco.com/security/advisories/cvrf/product?product=ios&pageIndex=2&pageSize=100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Got it, thank you!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.