Skip to main content
Solved

FME 2017.1 password in clear


HI guys,

I have a question, in FME 2017.1 when we execute a command line with the SystemCaller, the command is prompt in the log and the password is in clear .... Do you have any tips to fixe it ? (I was thinking to rewrite the log to erase or hide it) .

 

 

The passwords are from private parameters and contains the word "password" inside.

Best answer by takashi

Indeed not good. A workaround I can think of is, stop logging before and re-start logging after, using two PythonCallers.

PythonCaller before SystemCaller: Stop logging

import fmeobjects
def setLogSilent(feature):
    fmeobjects.FMELogFile().silent(True)

PythonCaller after SystemCaller: Re-start logging

import fmeobjects
def unsetLogSilent(feature):
    fmeobjects.FMELogFile().silent(False)
View original
Did this help you find an answer to your question?

3 replies

oscard
Influencer
Forum|alt.badge.img+21
  • Influencer
  • July 13, 2018
Are those private parameters of the type "Password"?

 

 


takashi
Influencer
  • Best Answer
  • July 13, 2018

Indeed not good. A workaround I can think of is, stop logging before and re-start logging after, using two PythonCallers.

PythonCaller before SystemCaller: Stop logging

import fmeobjects
def setLogSilent(feature):
    fmeobjects.FMELogFile().silent(True)

PythonCaller after SystemCaller: Re-start logging

import fmeobjects
def unsetLogSilent(feature):
    fmeobjects.FMELogFile().silent(False)

oscard wrote:
Are those private parameters of the type "Password"?

 

 

Yes it's the type password

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings