Description of problem: Production log contains the auth token used for communicating with CNV Version-Release number of selected component (if applicable): master of the plugin How reproducible: Steps to Reproduce: 1.Add a CNV compute resource 2.Token is printed in the logs 3. Actual results: Prints the auth token in the logs Expected results: Should not print, or show a encrypted one in the logs Additional info:
Created redmine issue https://projects.theforeman.org/issues/26454 from this bug
This seems working on latest nightly Foreman + plugin master
Verified with Sat 6.6 snap 13. Used the reproducer from OP. The log now shows '"token"=>"[FILTERED]"'.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3172