cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
755
Views
0
Helpful
1
Replies

OpenVulnQuery for Nexus (NX-OS)

angelest
Level 1
Level 1

Hi Support,

 

I cant find option for query_client for NX-OS. The options are below;

get_by_ios_xe
get_by_ios
get_by_product
 
for get_by_product can somebody help to provide sample of argument?
I tried putting 'N5K-C5672UP' but it gives me error as below.
No value for argument 'product_name' in method callpylint(no-value-for-parameter)
 
get_by_product(self, adv_format, product_name, a_filter=None)
.
1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

The only way to do it is to just use 'Nexus' as the product name, then filter the returned advisories by the contents of the productNames list.

 

It will contain the Nexus family name not specific platforms. So if you wanted N5K-C5672UP just filter the list for 'Cisco Nexus 5000' . It is not an exact science but it works....however in the case I have just done the search and it yields no results for Nexus 5000! Perhaps you are better off searching for 'NX-OS' and filtering productNames based on the version your 5K is running.

 

cheers,

Seb.

View solution in original post

1 Reply 1

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

The only way to do it is to just use 'Nexus' as the product name, then filter the returned advisories by the contents of the productNames list.

 

It will contain the Nexus family name not specific platforms. So if you wanted N5K-C5672UP just filter the list for 'Cisco Nexus 5000' . It is not an exact science but it works....however in the case I have just done the search and it yields no results for Nexus 5000! Perhaps you are better off searching for 'NX-OS' and filtering productNames based on the version your 5K is running.

 

cheers,

Seb.