From ba3af5a9c293a5e4b375426af7ee42a2389305aa Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Sun, 19 Jun 2022 22:13:54 -0700 Subject: [PATCH] Island: Fix 'exploitation' field of config flattening --- monkey/monkey_island/cc/services/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/services/config.py b/monkey/monkey_island/cc/services/config.py index aca2217e3..b47c0edd5 100644 --- a/monkey/monkey_island/cc/services/config.py +++ b/monkey/monkey_island/cc/services/config.py @@ -418,14 +418,14 @@ class ConfigService: @staticmethod def _format_propagation_from_flat_config(config: Dict): - formatted_propagation_config = {"network_scan": {}, "maximum_depth": {}, "exploiters": {}} + formatted_propagation_config = {"network_scan": {}, "maximum_depth": {}, "exploitation": {}} formatted_propagation_config[ "network_scan" ] = ConfigService._format_network_scan_from_flat_config(config) formatted_propagation_config[ - "exploiters" + "exploitation" ] = ConfigService._format_exploiters_from_flat_config(config) formatted_propagation_config["maximum_depth"] = config["depth"]