cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6948
Views
5
Helpful
1
Replies

Get the recommended IOS to a model number with the cisco API

luca.waas
Level 1
Level 1

Hello together,

i am able to get information about known bugs and the next IOS-version where the bug is fixed, like it is in the IOS software checker.

The problem here is, that i would like to give the cisco API all model numbers i have and get back the ios.

Does anyone know if there is any API URL where i could make this curl request?

Thanks in advance

Luca

1 Accepted Solution

Accepted Solutions

Omar Santos
Cisco Employee
Cisco Employee

Only querying using versions is supported in the API. It is an integration with the IOS Software checker. More information below:

You can use the Cisco PSIRT openVuln API to perform queries similar to the Cisco IOS Checker. You can search for Cisco Security Advisories that apply to specific Cisco IOS and IOS XE Software releases and have a Security Impact Rating (SIR) of Critical or High. Note that the tool does not provide information about security advisories that have a SIR of Medium. In addition, the tool does not support Cisco IOS XR Software or interim builds of Cisco IOS Software.

Method  REST API URL
GEThttps://api.cisco.com/security/advisories/ios?version=<<IOS version>>
GEThttps://api.cisco.com/security/advisories/iosxe?version=<<IOS XE version>>

View solution in original post

1 Reply 1

Omar Santos
Cisco Employee
Cisco Employee

Only querying using versions is supported in the API. It is an integration with the IOS Software checker. More information below:

You can use the Cisco PSIRT openVuln API to perform queries similar to the Cisco IOS Checker. You can search for Cisco Security Advisories that apply to specific Cisco IOS and IOS XE Software releases and have a Security Impact Rating (SIR) of Critical or High. Note that the tool does not provide information about security advisories that have a SIR of Medium. In addition, the tool does not support Cisco IOS XR Software or interim builds of Cisco IOS Software.

Method  REST API URL
GEThttps://api.cisco.com/security/advisories/ios?version=<<IOS version>>
GEThttps://api.cisco.com/security/advisories/iosxe?version=<<IOS XE version>>