Greetings,
I am a security researcher, who is looking for security smells in Puppet scripts. I noticed instances of keeping admin users as default in Puppet classes. I think this is a smell related to security. The smell can violate the ‘principle of least privilege (https://en.wikipedia.org/wiki/Principle_of_least_privilege)’ property, which recommends practitioners to design and implement system in a manner so that by default the least amount of access necessary is provided to any entity.
Would you agree with my finding? Any feedback is appreciated.
Source: https://github.com/CiscoSystems/puppet-openstack/blob/master/manifests/auth_file.pp