fix nessus download 'imported' scans
This commit is contained in:
@ -407,7 +407,7 @@ class vulnWhispererNessus(vulnWhispererBase):
|
|||||||
folder_name = ''
|
folder_name = ''
|
||||||
else:
|
else:
|
||||||
folder_name = next(f['name'] for f in folders if f['id'] == folder_id)
|
folder_name = next(f['name'] for f in folders if f['id'] == folder_id)
|
||||||
if status == 'completed':
|
if status in ['completed', 'imported']:
|
||||||
file_name = '%s_%s_%s_%s.%s' % (scan_name, scan_id,
|
file_name = '%s_%s_%s_%s.%s' % (scan_name, scan_id,
|
||||||
history_id, norm_time, 'csv')
|
history_id, norm_time, 'csv')
|
||||||
repls = (('\\', '_'), ('/', '_'), ('/', '_'), (' ', '_'))
|
repls = (('\\', '_'), ('/', '_'), ('/', '_'), (' ', '_'))
|
||||||
|
Reference in New Issue
Block a user