Skip to content

Commit 2181c57

Browse files
committed
Land rapid7#5021, nessus.rb "imported" status
2 parents 8ea1ffc + d1c6db5 commit 2181c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/nessus.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ def is_scan_complete(scan_id)
10171017
complete = false
10181018
status = @n.scan_list
10191019
status["scans"].each { |scan|
1020-
if scan["id"] == scan_id.to_i && scan["status"] == "completed"
1020+
if scan["id"] == scan_id.to_i && (scan["status"] == "completed" || scan["status"] == "imported")
10211021
complete = true
10221022
end
10231023
}

0 commit comments

Comments
 (0)