Skip to content

Commit db5f5fd

Browse files
authored
Merge pull request #1134 from splunk/bug_fix_caldera
bug fixes
2 parents 93951db + bdb6bee commit db5f5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def _configure_linux_servers(self) -> None:
473473
"type": "text",
474474
"message": "Download the Splunk SOAR unpriv installer and save it in the apps folder. What is the name of the file?",
475475
"name": "phantom_installer",
476-
"when": lambda answers: answers["phantom"],
476+
"when": lambda answers: answers.get("phantom", False),
477477
},
478478
]
479479

@@ -495,7 +495,7 @@ def _configure_linux_servers(self) -> None:
495495
if answers["snort_server"]:
496496
self.configuration["snort_server"] = {"snort_server": "1"}
497497

498-
if answers["phantom"]:
498+
if answers.get("phantom", False):
499499
self.configuration["phantom_server"] = {"phantom_server": "1"}
500500

501501
if "phantom_installer" in answers:

0 commit comments

Comments
 (0)