Merge branch 'master' of https://github.com/marcusbakker/DeTTECT-private
commit
437f4f346d
|
@ -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']:
|
||||
|
|
Loading…
Reference in New Issue