Ruben Bouman 2019-08-15 15:34:36 +02:00
commit 437f4f346d
1 changed files with 16 additions and 14 deletions

View File

@ -338,6 +338,8 @@ def update_technique_administration_file(file_data_sources, file_tech_admin):
updated_vis_score_cnt = 0
for cur_tech, cur_values in cur_visibility_scores.items():
new_tech = _get_technique_yaml_obj(new_visibility_scores['techniques'], cur_tech)
if new_tech: # new_tech will be None if technique_id is part of the 'exception' list within the
# data source administration file
new_score = new_tech['visibility']['score_logbook'][0]['score']
for cur_obj in cur_values['visibility']: