Adds ransomware section to island's configuration schema

This commit is contained in:
VakarisZ 2021-06-21 10:56:44 +03:00
parent cfdf1183f5
commit 84868b29ef
2 changed files with 3 additions and 0 deletions

View File

@ -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.internal import INTERNAL
from monkey_island.cc.services.config_schema.monkey import MONKEY from monkey_island.cc.services.config_schema.monkey import MONKEY
from monkey_island.cc.services.config_schema.ransomware import RANSOMWARE
SCHEMA = { SCHEMA = {
"title": "Monkey", "title": "Monkey",
@ -27,6 +28,7 @@ SCHEMA = {
"basic": BASIC, "basic": BASIC,
"basic_network": BASIC_NETWORK, "basic_network": BASIC_NETWORK,
"monkey": MONKEY, "monkey": MONKEY,
"ransomware": RANSOMWARE,
"internal": INTERNAL, "internal": INTERNAL,
}, },
"options": {"collapsed": True}, "options": {"collapsed": True},

View File

@ -0,0 +1 @@
RANSOMWARE = {"linux_dir": "", "windows_dir": ""}