Add variable to set name_format for auditd
Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
1 parent
b6d11a0b19
commit
f70a74f99f
3 files changed
+12
-1
No files matched your search
@@ -348,6 +348,7 @@ os_auditd_disk_error_action: SUSPEND
|
|||||||
os_auditd_action_mail_acct: root
|
os_auditd_action_mail_acct: root
|
||||||
os_auditd_log_group: root
|
os_auditd_log_group: root
|
||||||
os_auditd_num_logs: 5
|
os_auditd_num_logs: 5
|
||||||
|
os_auditd_name_format: NONE
|
||||||
|
|
||||||
# Set the SELinux state, which can be either disabled, permissive, or enforcing.
|
# Set the SELinux state, which can be either disabled, permissive, or enforcing.
|
||||||
os_selinux_state: enforcing
|
os_selinux_state: enforcing
|
||||||
|
|||||||
@@ -207,6 +207,16 @@ argument_specs:
|
|||||||
description: This keyword specifies the maximum file size in megabytes. When
|
description: This keyword specifies the maximum file size in megabytes. When
|
||||||
this limit is reached, it will trigger a configurable action. The value
|
this limit is reached, it will trigger a configurable action. The value
|
||||||
given must be numeric.
|
given must be numeric.
|
||||||
|
os_auditd_name_format:
|
||||||
|
default: NONE
|
||||||
|
type: str
|
||||||
|
description: This keyword specifies how computer node names are inserted
|
||||||
|
into the audit event stream.
|
||||||
|
choices:
|
||||||
|
- NONE
|
||||||
|
- hostname
|
||||||
|
- fqd
|
||||||
|
- numeric
|
||||||
os_auditd_num_logs:
|
os_auditd_num_logs:
|
||||||
default: 5
|
default: 5
|
||||||
type: int
|
type: int
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ freq = {{ os_auditd_freq }}
|
|||||||
num_logs = {{ os_auditd_num_logs }}
|
num_logs = {{ os_auditd_num_logs }}
|
||||||
disp_qos = lossy
|
disp_qos = lossy
|
||||||
dispatcher = /sbin/audispd
|
dispatcher = /sbin/audispd
|
||||||
name_format = NONE
|
name_format = {{ os_auditd_name_format }}
|
||||||
max_log_file = {{ os_auditd_max_log_file }}
|
max_log_file = {{ os_auditd_max_log_file }}
|
||||||
max_log_file_action = {{ os_auditd_max_log_file_action }}
|
max_log_file_action = {{ os_auditd_max_log_file_action }}
|
||||||
space_left = {{ os_auditd_space_left }}
|
space_left = {{ os_auditd_space_left }}
|
||||||
|
|||||||
Reference in new issue
Block a user