forked from p15670423/monkey
Island: Remove disused config_key in technique_reports
This commit is contained in:
parent
792d1f2e4d
commit
d11c8bfdbc
|
@ -176,8 +176,8 @@ def get_technique(technique_id):
|
|||
:return: Technique object or None if technique is not found
|
||||
"""
|
||||
attack_config = ATTACK_SCHEMA["properties"]
|
||||
for config_key, attack_type in list(attack_config.items()):
|
||||
for type_key, technique in list(attack_type["properties"].items()):
|
||||
for attack_type in attack_config.values():
|
||||
for type_key, technique in attack_type["properties"].items():
|
||||
if type_key == technique_id:
|
||||
return technique
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue