Skip to content

get_by_nxos returning TypeError because of unexpected argument 'platforms' #97

@rmoretti

Description

@rmoretti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions