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):
|
||||
""" Abstract class for ATT&CK report components """
|
||||
|
||||
config_schema_per_attack_technique = None
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def unscanned_msg(self):
|
||||
|
@ -109,8 +111,6 @@ class AttackTechnique(object, metaclass=abc.ABCMeta):
|
|||
"""
|
||||
return {"message": cls.get_message_by_status(status), "status": status}
|
||||
|
||||
config_schema_per_attack_technique = None
|
||||
|
||||
@classmethod
|
||||
def get_message_by_status(cls, status):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue