-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial (sans Arch) auditd management support. (#260)
* Initial (sans Arch) auditd management support. Signed-off-by: Ben Dean <[email protected]> * fix rubycop warnings Signed-off-by: Ben Dean <[email protected]> Co-authored-by: Benjamin Blakely <[email protected]>
- Loading branch information
1 parent
e81b389
commit 2872e6d
Showing
4 changed files
with
89 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<% node['config_disclaimer'].to_s.split("\n").each do |l| %> | ||
# <%= l %> | ||
<% end %> | ||
# | ||
#-- | ||
|
||
# Specified by linux-baseline | ||
log_file = /var/log/audit/audit.log | ||
log_format = RAW | ||
flush = <%= @flush %> | ||
max_log_file_action = keep_logs | ||
space_left = 75 | ||
action_mail_acct = root | ||
space_left_action = SYSLOG | ||
admin_space_left = 50 | ||
admin_space_left_action = SUSPEND | ||
disk_full_action = SUSPEND | ||
disk_error_action = SUSPEND | ||
|
||
# Unspecified, auditd defaults unless overwritten | ||
log_group = <%= @log_group %> | ||
priority_boost = <%= @priority_boost %> | ||
freq = <%= @freq %> | ||
num_logs = <%= @num_logs %> | ||
disp_qos = <%= @disp_qos %> | ||
dispatcher = <%= @dispatcher %> | ||
name_format = <%= @name_format %> | ||
max_log_file = <%= @max_log_file %> | ||
tcp_listen_queue = <%= @tcp_listen_queue %> | ||
tcp_max_per_addr = <%= @tcp_max_per_addr %> | ||
tcp_client_max_idle = <%= @tcp_client_max_idle %> | ||
enable_krb5 = <%= @enable_krb5 %> | ||
krb5_principal = <%= @krb5_principal %> |
This file contains 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