mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-22 23:07:19 +00:00
fix: [fight] unique refs
This commit is contained in:
parent
a1658b3712
commit
2f47a3c505
2 changed files with 387 additions and 399 deletions
File diff suppressed because it is too large
Load diff
|
@ -120,6 +120,9 @@ for item in fight['techniques']:
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
element['meta']['refs'] = list(set(element['meta']['refs']))
|
||||||
|
element['meta']['refs'].sort()
|
||||||
|
|
||||||
techniques.append(element)
|
techniques.append(element)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue