Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: CVE nx-os
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeff07 committed Jan 21, 2022
1 parent 6bf453c commit 7e47df8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ipfabric/tools/nist.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ def check_cve(self, vendor: str, family: str, version: str):
elif vendor == 'cisco':
if family == 'wlc-air':
family = 'wireless_lan_controller_software'
elif family == 'nx-os':
family = family
else:
family.replace('-', '_')
elif family != 'nx-os':
family = family.replace('-', '_')
version = (version.replace('(', '.')).replace(')', '.')
params['cpeMatchString'] += vendor + ":" + family + ':' + version
elif vendor == 'fortinet' and family == 'fortigate':
Expand Down

0 comments on commit 7e47df8

Please sign in to comment.