Skip to main content
Solved

FME 2017.1 password in clear

  • July 13, 2018
  • 3 replies
  • 78 views

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)
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

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

 

 


takashi
Celebrity
  • 7843 replies
  • 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)

Are those private parameters of the type "Password"?

 

 

Yes it's the type password