{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/chef-datadog/issues/184","labels_url":"https://api.github.com/repos/DataDog/chef-datadog/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/chef-datadog/issues/184/comments","events_url":"https://api.github.com/repos/DataDog/chef-datadog/issues/184/events","html_url":"https://github.com/DataDog/chef-datadog/issues/184","id":58209795,"number":184,"title":"Config file rendering shows plain-text password in diff","user":{"login":"rmoriz","id":1527,"avatar_url":"https://avatars.githubusercontent.com/u/1527?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoriz","html_url":"https://github.com/rmoriz","followers_url":"https://api.github.com/users/rmoriz/followers","following_url":"https://api.github.com/users/rmoriz/following{/other_user}","gists_url":"https://api.github.com/users/rmoriz/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoriz/subscriptions","organizations_url":"https://api.github.com/users/rmoriz/orgs","repos_url":"https://api.github.com/users/rmoriz/repos","events_url":"https://api.github.com/users/rmoriz/events{/privacy}","received_events_url":"https://api.github.com/users/rmoriz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DataDog/chef-datadog/labels/optimize","name":"optimize","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-19T13:46:51Z","updated_at":"2015-04-08T08:24:14Z","closed_at":null,"body":"Currently, each monitor template will throw a diff when converged which includes, e.g. the password in plain text (chef's default).\r\n\r\neg\r\n\r\n```\r\n   --- /etc/dd-agent/conf.d/postgres.yaml\t2015-02-06 11:46:53.198260001 +0000\r\n    +++ /tmp/chef-rendered-template20150219-19830-11k7o7q\t2015-02-19 13:43:20.518260002 +0000\r\n    @@ -5,6 +5,6 @@\r\n       - host: localhost\r\n         port: 5432\r\n         username: datadog\r\n    -    password: \r\n    +    password: secretpassphrase\r\n         dbname: postgres\r\n```\r\n\r\nPlease consider using `sensitive true` as resource option. See https://docs.chef.io/resource_common.html"},"comment":{"url":"https://api.github.com/repos/DataDog/chef-datadog/issues/comments/90839904","html_url":"https://github.com/DataDog/chef-datadog/issues/184#issuecomment-90839904","issue_url":"https://api.github.com/repos/DataDog/chef-datadog/issues/184","id":90839904,"user":{"login":"miketheman","id":529516,"avatar_url":"https://avatars.githubusercontent.com/u/529516?v=3","gravatar_id":"","url":"https://api.github.com/users/miketheman","html_url":"https://github.com/miketheman","followers_url":"https://api.github.com/users/miketheman/followers","following_url":"https://api.github.com/users/miketheman/following{/other_user}","gists_url":"https://api.github.com/users/miketheman/gists{/gist_id}","starred_url":"https://api.github.com/users/miketheman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketheman/subscriptions","organizations_url":"https://api.github.com/users/miketheman/orgs","repos_url":"https://api.github.com/users/miketheman/repos","events_url":"https://api.github.com/users/miketheman/events{/privacy}","received_events_url":"https://api.github.com/users/miketheman/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T08:24:14Z","updated_at":"2015-04-08T08:24:14Z","body":"Going to slot this change for Next Major, as the behavior would likely apply unilaterally to all templates generated by the `datadog_monitor` resource, and this might change expected behaviors."}}