Last active
November 28, 2017 23:00
-
-
Save nathwill/f2e42881513dda4683fb to your computer and use it in GitHub Desktop.
lazy audit logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set up audit logging for connections outbound from the bastion | |
default['openssh']['client'].tap do |client| | |
client['permit_local_command'] = 'yes' | |
client['local_command'] = '/usr/bin/logger -p INFO -t AUTH %u signed into %h:%p as %r' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment