Skip to content

Different API response depending on platform (NXOS/ACI vs IOS/IOS-XE) #83

Description

@NWMichl

Describe the bug
First fixed software versions are reported with a different data structure and naming depending on whether NXOS/ACI or IOS(XE) is used for the API query.

To Reproduce
An API query with NXOS 7.0(3)I7(8) results in

(...)
platforms:
- firstFixes:
  - id: '279749'
    name: 7.0(3)I7(9)
  id: '265096'
  name: Cisco Nexus 9000 Series Switches
  vulnerabilityState: vulnerable
(...) 

But an API query with IOSXE 03.16.09.S results in

(...)
firstFixed:
- 3.18.2S
(...) 

Expected behavior
Since the NXOS/ACI variant allows more extensive parameters already, an adaptation of the IOS response would be desirable.

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context
BTW: The API itself is worth gold and makes our work a lot easier, so I would like to thank you for your work!
But such inconsistencies should be avoided, right?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions