AdamMack2007 / Ansible-Cisco-CVE-Parser

Ansible role that parses CVE feeds from Cisco's PSIRT OpenVuln API. Can post content via Confluence, Mattermost, Slack or regular HTML.
1 stars 0 forks source link

Cisco API returns non-matching system version #5

Open AdamMack2007 opened 3 years ago

AdamMack2007 commented 3 years ago

Cisco API is returning incorrect versions for IOS-XE devices:

Example:

Real version: 16.12.01

API returned version: 16.12.1

Python string matching is failing on this task when matching the version to the dictionary key.

Possible Idea is to import version matching library into Python and do a conditional match on the dictionary key to the version.

254In61 commented 3 years ago

I took a long route on this one but it worked :)

Check allan_branch , collect_vars.yml