forked from p15670423/monkey
island: Move class variable `config_schema_per_attack_technique` to the
top of its class `AttackTechnique`
This commit is contained in:
parent
72caf5a80a
commit
6def66cfaf
|
@ -23,6 +23,8 @@ disabled_msg = (
|
||||||
class AttackTechnique(object, metaclass=abc.ABCMeta):
|
class AttackTechnique(object, metaclass=abc.ABCMeta):
|
||||||
""" Abstract class for ATT&CK report components """
|
""" Abstract class for ATT&CK report components """
|
||||||
|
|
||||||
|
config_schema_per_attack_technique = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def unscanned_msg(self):
|
def unscanned_msg(self):
|
||||||
|
@ -109,8 +111,6 @@ class AttackTechnique(object, metaclass=abc.ABCMeta):
|
||||||
"""
|
"""
|
||||||
return {"message": cls.get_message_by_status(status), "status": status}
|
return {"message": cls.get_message_by_status(status), "status": status}
|
||||||
|
|
||||||
config_schema_per_attack_technique = None
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_message_by_status(cls, status):
|
def get_message_by_status(cls, status):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue