Skip to content

Commit

Permalink
Merge pull request #88 from dorel14/alert-autofix-6
Browse files Browse the repository at this point in the history
Fix code scanning alert no. 6: Clear-text logging of sensitive information
  • Loading branch information
dorel14 authored Dec 30, 2024
2 parents c82ae58 + 44339b0 commit f36b48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myhelpers/scpclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def monitor(self, ftpfolder='', localfolder='',archivefolder='', interval=50):

scp.get(remote_path=scpfilename,
local_path=os.path.join(localfolder, f))
logger.info("file downloaded:" + scpfilename)
logger.info("File downloaded successfully.")
if os.environ.get('3CX_FILES_ARCHIVE_OR_DELETE') == 'ARCHIVE':
#ssh.exec_command(f"sudo mv {scpfilename} .old")
sftp.rename(scpfilename,f"{scpfilename}.old")
Expand Down

0 comments on commit f36b48c

Please sign in to comment.