mirror of
https://github.com/DISARMFoundation/DISARMframeworks.git
synced 2025-02-23 00:19:50 -05:00
Added some spaces before the parent technique on the techniques page
This commit is contained in:
parent
eb80ad2560
commit
adb4b19972
@ -543,7 +543,7 @@ class Disarm:
|
||||
if "." in row['disarm_id']:
|
||||
parent_technique_id = row['disarm_id'].split(".")[0]
|
||||
parent_technique_name = self.df_techniques.loc[self.df_techniques['disarm_id'] == parent_technique_id, 'name'].values[0]
|
||||
parent_technique = "**Parent Technique:** " + parent_technique_id + ' ' + parent_technique_name
|
||||
parent_technique = " **Parent Technique:** " + parent_technique_id + ' ' + parent_technique_name
|
||||
else:
|
||||
parent_technique = ''
|
||||
metatext = template.format(type = 'Technique', id=row['disarm_id'], name=row['name'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user