Pergunta

Related to: Handling sensitive information with Puppet

Just noticed that with both augeas and templates our passwords get dumped into /var/log/messages in plain text whenever there is a change.

What methods can be used to prevent this?

Nenhuma solução correta

Outras dicas

I added filters to rsyslog's config to drop sensitive log info.

Seems to work. Takes a bit to get the filters dropping what you want and not what you don't want.

This has been addressed in the ask.puppet post Passwords in Puppet Log files. The post includes several options, including validating the rsyslog scrubbing method.

The main method that prevents the passwords from being displayed in your logs without extra filtering or without losing other logs is to pass show_diff => false to the appropriate resources such as file, augeas, and concat.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top