openVulnAPI icon indicating copy to clipboard operation
openVulnAPI copied to clipboard

get_by_nxos returning TypeError because of unexpected argument 'platforms'

Open rmoretti opened this issue 9 months ago • 0 comments

Describe the bug When I try to get advisories for NX-OS using get_by_nxos(), I only get a TypeError.

To Reproduce Steps to reproduce the behavior:

  1. Authenticate using query_client.OpenVulnQueryClient(client_id=environ['CLIENT_ID'], client_secret=environ['CLIENT_SECRET'])
  2. Try getting advisories for a specific NX-OS version using query_client.get_by_nxos(adv_format="json", nxos_version="8.4(5)")

Expected behavior I expected get_by_nxos() to return a list of Advisory objects, similar to get_by_ios() and get_by_ios_xe().

Screenshots

Image

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Python 3.10.12
  • OpenVulnQuery 1.34

Additional context Nothing to add here

rmoretti avatar Mar 17 '25 13:03 rmoretti