bin/pwn_bdba_scan in pwn-0.4.789 vs bin/pwn_bdba_scan in pwn-0.4.790
- old
+ new
@@ -100,10 +100,10 @@
end
break if scan_progress_resp[:products].none? { |p| p[:status] == 'B' }
end
- product_id = scan_progress_resp[:products].find { |p| p[:name] == File.basename(CGI.escape(target_file)) }[:product_id]
+ product_id = scan_progress_resp[:products].find { |p| p[:name] == CGI.escape(File.basename(target_file)) }[:product_id]
scan_report_resp = PWN::Plugins::BlackDuckBinaryAnalysis.generate_product_report(
token: token,
product_id: product_id,
type: report_type,