From 84868b29ef598135531ef5e77ad3524f5233919f Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 21 Jun 2021 10:56:44 +0300 Subject: [PATCH] Adds ransomware section to island's configuration schema --- monkey/monkey_island/cc/services/config_schema/config_schema.py | 2 ++ monkey/monkey_island/cc/services/config_schema/ransomware.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 monkey/monkey_island/cc/services/config_schema/ransomware.py diff --git a/monkey/monkey_island/cc/services/config_schema/config_schema.py b/monkey/monkey_island/cc/services/config_schema/config_schema.py index 3900b0675..fb1e35b45 100644 --- a/monkey/monkey_island/cc/services/config_schema/config_schema.py +++ b/monkey/monkey_island/cc/services/config_schema/config_schema.py @@ -10,6 +10,7 @@ from monkey_island.cc.services.config_schema.definitions.system_info_collector_c ) from monkey_island.cc.services.config_schema.internal import INTERNAL from monkey_island.cc.services.config_schema.monkey import MONKEY +from monkey_island.cc.services.config_schema.ransomware import RANSOMWARE SCHEMA = { "title": "Monkey", @@ -27,6 +28,7 @@ SCHEMA = { "basic": BASIC, "basic_network": BASIC_NETWORK, "monkey": MONKEY, + "ransomware": RANSOMWARE, "internal": INTERNAL, }, "options": {"collapsed": True}, diff --git a/monkey/monkey_island/cc/services/config_schema/ransomware.py b/monkey/monkey_island/cc/services/config_schema/ransomware.py new file mode 100644 index 000000000..83619b0b4 --- /dev/null +++ b/monkey/monkey_island/cc/services/config_schema/ransomware.py @@ -0,0 +1 @@ +RANSOMWARE = {"linux_dir": "", "windows_dir": ""}