rye / nessana

A Nessus dump parser and differ
GNU Affero General Public License v3.0
0 stars 0 forks source link

Filter#applies_to?: Return false if filter key is invalid #59

Closed rye closed 5 years ago

rye commented 6 years ago

This prevents an outright crash if you mess up a filter somewhere, and saves me time and brain.

It also makes a lot of sense; if vulnerability does not respond to the method you're calling, the filter clearly doesn't apply.