From ce0a1b71fe905043436a29322f2ef07d79de1fb5 Mon Sep 17 00:00:00 2001 From: mposluszny-splunk <150343546+mposluszny-splunk@users.noreply.github.com> Date: Tue, 27 Feb 2024 10:06:21 +0100 Subject: [PATCH] Update winrm_connector.py Co-authored-by: bb-splunk <147497734+bb-splunk@users.noreply.github.com> --- winrm_connector.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/winrm_connector.py b/winrm_connector.py index 44a67bb..b3b626a 100644 --- a/winrm_connector.py +++ b/winrm_connector.py @@ -194,10 +194,7 @@ def _get_fips_enabled(self): return False fips_enabled = is_fips_enabled() - if fips_enabled: - self.debug_print('FIPS is enabled') - else: - self.debug_print('FIPS is not enabled') + self.debug_print(f'FIPS enabled: {fips_enabled}') return fips_enabled def _create_ps_script(self, action_result, args, whitelist_args=set(), cmd_prefix="", cmd_suffix=""):