File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ def handle_security_report(csvfile):
76
76
if bdsa_id != None :
77
77
bdsa_data = load_bdsa_data (bdsa_id )
78
78
#logging.info(f"{bdsa_data}")
79
- if bdsa_data and "solution" in bdsa_data and "workaround" in bdsa_data :
79
+ if bdsa_data and "solution" in bdsa_data and "workaround" in bdsa_data and "name" in bdsa_data :
80
80
#logging.debug(f"BDSA Data Solution [{bdsa_data['solution']}]")
81
81
#logging.debug(f"BDSA Data Workaround [{bdsa_data['workaround']}]")
82
82
#row.append(row[0])
83
- row .append (bdsa_id )
83
+ row .append (bdsa_data [ 'name' ] )
84
84
row .append (bdsa_data ['solution' ])
85
85
row .append (bdsa_data ['workaround' ])
86
86
all .append (row )
@@ -93,7 +93,7 @@ def handle_security_report(csvfile):
93
93
else :
94
94
# Add the line as is.
95
95
logging .debug (f"No BDSA Record" )
96
- row .append ('' )
96
+ row .append ('N/A ' )
97
97
row .append ('' )
98
98
row .append ('' )
99
99
all .append (row )
You can’t perform that action at this time.
0 commit comments