Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-4487

When logging certain operations, need to mask sensitive properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      Add an ability to mark properties as sensitive during formatting to the resource_mangemenent, to the script writter this should look like this:

      cmd = format("bash -x {mysql_adduser_path} {daemon_name} {hive_metastore_user_name} {hive_metastore_user_passwd!p} {mysql_host[0]}")
      

      !p - which is a password flag.

      Protect the passwords for hive, nagios and oozie.

      Attachments

        1. AMBARI-4487.patch
          44 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: