You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/01/31 17:28:10 UTC

[jira] [Created] (AMBARI-4487) When logging certain operations, need to mask sensitive properties

Andrew Onischuk created AMBARI-4487:
---------------------------------------

             Summary: When logging certain operations, need to mask sensitive properties
                 Key: AMBARI-4487
                 URL: https://issues.apache.org/jira/browse/AMBARI-4487
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.5.0


Need a way to mask certain props or commands from the logs. Like below, the password i chose from nagios "asd" is plain text.

{code}
2014-01-31 03:21:40,082 - File['/usr/lib64/nagios/plugins/hdp_nagios_init.php'] {'content': StaticFile('hdp_nagios_init.php'), 'mode': 0755}
2014-01-31 03:21:40,083 - Execute['htpasswd -c -b  /etc/nagios/htpasswd.users nagiosadmin asd'] {'not_if': 'grep nagiosadmin /etc/nagios/htpasswd.users'}
2014-01-31 03:21:40,092 - Skipping Execute['htpasswd -c -b  /etc/nagios/htpasswd.users nagiosadmin asd'] due to not_if
2014-01-31 03:21:40,092 - File['/etc/nagios/htpasswd.users'] {'owner': 'nagios', 'group': 'nagios', 'mode': 0640}
2014-01-31 03:21:40,093 - Execute['usermod -a -G nagios apache'] {}
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)