Island: Fix 'exploitation' field of config flattening

This commit is contained in:
Shreya Malviya 2022-06-19 22:13:54 -07:00
parent f9a7989f5e
commit ba3af5a9c2
1 changed files with 2 additions and 2 deletions

View File

@ -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"]