We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93951db + bdb6bee commit db5f5fdCopy full SHA for db5f5fd
modules/configuration.py
@@ -473,7 +473,7 @@ def _configure_linux_servers(self) -> None:
473
"type": "text",
474
"message": "Download the Splunk SOAR unpriv installer and save it in the apps folder. What is the name of the file?",
475
"name": "phantom_installer",
476
- "when": lambda answers: answers["phantom"],
+ "when": lambda answers: answers.get("phantom", False),
477
},
478
]
479
@@ -495,7 +495,7 @@ def _configure_linux_servers(self) -> None:
495
if answers["snort_server"]:
496
self.configuration["snort_server"] = {"snort_server": "1"}
497
498
- if answers["phantom"]:
+ if answers.get("phantom", False):
499
self.configuration["phantom_server"] = {"phantom_server": "1"}
500
501
if "phantom_installer" in answers:
0 commit comments