forked from p15670423/monkey
Merge branch 'attack_service_execution' into attack_module_load
This commit is contained in:
commit
526a235c8e
|
@ -70,7 +70,7 @@ class AttackTechnique(object):
|
||||||
:param status: Enum from common/attack_utils.py integer value
|
:param status: Enum from common/attack_utils.py integer value
|
||||||
:return: Dict with message and status
|
:return: Dict with message and status
|
||||||
"""
|
"""
|
||||||
return {'message': cls.get_message_by_status(status), 'status': status.value}
|
return {'message': cls.get_message_by_status(status), 'status': status}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_message_by_status(cls, status):
|
def get_message_by_status(cls, status):
|
||||||
|
|
Loading…
Reference in New Issue