mirror of
https://github.com/DISARMFoundation/DISARMframeworks.git
synced 2025-06-25 15:10:30 -04:00
Added some spaces before the parent technique on the techniques page
This commit is contained in:
parent
eb80ad2560
commit
adb4b19972
289 changed files with 289 additions and 289 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue