Closed dabdine closed 2 years ago
Would you please take a look at the made up parameter values and ensure they have provenance?
The issue I have with operating_systems.xml in particular is that nothing is defined as to what the input should be for this file. Because of that, despite these changes adding more provenance to actual versions, they may not test real world scenarios.
I'll add that the Cisco fingerprint looks entirely broken (for IOS at least) if it is to be applied to the output of show version
. The fingerprint was made to be generic, but won't parse complicated Cisco IOS versions like 12.2(33)SXI1
. If memory serves, in many of these cases some of the version info was received from SNMP.
I appreciate you taking the time to enhance some of the fingerprints and adding more provenance. After spending more time looking at the fingerprints I agree that we need to make more sense of data source that to be used here and reassess this DB. Thank you for the contribution @dabdine!
Description
Fixes these additional warnings that #400 did not address due to the examples missing content that could be parsed by the regular expression:
Most of these (especially in operating_systems.xml) were made up to satisfy the regular expression, while others were incorporated using real (anonymized) data from internet scan engines.
After this patch, the only warnings that will remain are those that complain about fingerprints which have no test cases (
<example>
elements).Motivation and Context
Clean more warnings.
How Has This Been Tested?
bundle exec rake tests
Types of changes
Checklist: