@staticmethod
    def _sanitize_command_string(cmd):
        if not cmd:
            return cmd

        result = re.sub('ST2_ACTION_AUTH_TOKEN=(.+?)\s+?', 'ST2_ACTION_AUTH_TOKEN=%s ' %
                        (MASKED_ATTRIBUTE_VALUE), cmd)
        return result
Remove any potentially sensitive information from the command string.
dataset/ETHPy150Open StackStorm/st2/st2actions/st2actions/runners/ssh/parallel_ssh.py/ParallelSSHClient._sanitize_command_string