island: Move class variable `config_schema_per_attack_technique` to the

top of its class `AttackTechnique`
This commit is contained in:
Shreya Malviya 2021-09-28 11:45:53 +05:30
parent 72caf5a80a
commit 6def66cfaf
1 changed files with 2 additions and 2 deletions

View File

@ -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):
"""