Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-19242

fix: add no_log: true for tasks that can log secret data

    • rhel-system-roles-1.23.0-2.4.el8
    • None
    • None
    • rhel-sst-system-roles
    • 21
    • 26
    • None
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Bug Fix
    • Hide
      .Secret data is no longer logged with verbose logging

      Previously, some tasks that handle secret data would log the contents. As a consequence, the logs showed secret data if verbose logging was being used. This update adds the `no_log: true` directive to tasks that can log secret data. As a result, secret data is not logged with verbose logging.
      Show
      .Secret data is no longer logged with verbose logging Previously, some tasks that handle secret data would log the contents. As a consequence, the logs showed secret data if verbose logging was being used. This update adds the `no_log: true` directive to tasks that can log secret data. As a result, secret data is not logged with verbose logging.
    • Done
    • None

      Cause: Some tasks handle secret data and log the contents.

      Consequence: The logs can show secret data if verbose logging
      is used.

      Fix: Add the `no_log: true` directive to tasks that can log
      secret data.

      Result: Secret data is not logged with verbose logging.

      Some of the tests use Ansible vault for passwords.

      Signed-off-by: Rich Megginson <rmeggins@redhat.com>

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Gabriela Necasova Gabriela Necasova
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: