We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e9e984 commit 0809c56Copy full SHA for 0809c56
dojo/tools/nessus/parser.py
@@ -246,9 +246,9 @@ def get_description_for_scan_types(self, scan_type):
246
247
def get_findings(self, filename, test):
248
249
- if filename.name.lower().endswith('.xml') or filename.name.lower().endswith('.nessus'):
+ if filename.name.lower().endswith('.xml'):
250
return NessusXMLParser().get_findings(filename, test)
251
elif filename.name.lower().endswith('.csv'):
252
return NessusCSVParser().get_findings(filename, test)
253
else:
254
- raise ValueError('Filename extension not recognized. Use .xml, .nessus or .csv')
+ raise ValueError('Unknown File Format')
0 commit comments