Skip to content

Commit 352714a

Browse files
authored
Merge pull request #80998 from ShaunaDiaz/OSDOCS-11769
OSDOCS-11769: adds clarity for audit logs MicroShift
2 parents d53bcf1 + dd2e899 commit 352714a

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

microshift_configuring/microshift-audit-logs-config.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,19 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

9-
You can control audit log file rotation and retention by using configuration values.
9+
You can control {microshift-short} audit log file rotation and retention by using configuration values.
1010

1111
include::modules/microshift-audit-logs-config-intro.adoc[leveloffset=+1]
1212

13+
[id="Additional-resources_audit-log-intro"]
14+
.Additional resources
15+
16+
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/security_hardening/auditing-the-system_security-hardening#configuring-auditd-for-a-secure-environment_auditing-the-system[Configuring auditd for a secure environment]
17+
18+
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/security_hardening/auditing-the-system_security-hardening#understanding-audit-log-files_auditing-the-system[Understanding Audit log files]
19+
20+
* link:https://access.redhat.com/solutions/1294[How to use logrotate utility to rotate log files] (Solutions, dated 7 August 2024)
21+
1322
// About audit log profiles; OCP module, edit with conditionals and care
1423
include::modules/nodes-nodes-audit-config-about.adoc[leveloffset=+1]
1524

modules/microshift-audit-logs-config-intro.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
[id="microshift-audit-logs-config-intro_{context}"]
77
= About setting limits on audit log files
88

9-
Controlling the rotation and retention of the audit log file by using configuration values helps keep the limited storage capacities of far-edge devices from being exceeded. On such devices, logging data accumulation can limit host system or cluster workloads, potentially causing the device stop working. Setting audit log policies can help ensure that critical processing space is continually available.
9+
Controlling the rotation and retention of the {microshift-short} audit log file by using configuration values helps keep the limited storage capacities of far-edge devices from being exceeded. On such devices, logging data accumulation can limit host system or cluster workloads, potentially causing the device stop working. Setting audit log policies can help ensure that critical processing space is continually available.
1010

11-
The values you set to limit audit logs enable you to enforce the size, number, and age limits of audit log backups. Field values are processed independently of one another and without prioritization.
11+
The values you set to limit {microshift-short} audit logs enable you to enforce the size, number, and age limits of audit log backups. Field values are processed independently of one another and without prioritization.
1212

1313
You can set fields in combination to define a maximum storage limit for retained logs. For example:
1414

@@ -35,3 +35,8 @@ You can set fields in combination to define a maximum storage limit for retained
3535
The maximum default storage usage for audit log retention is 2000Mb if there are 10 or fewer files.
3636

3737
If you do not specify a value for a field, the default value is used. If you remove a previously set field value, the default value is restored after the next {microshift-short} service restart.
38+
39+
[IMPORTANT]
40+
====
41+
You must configure audit log retention and rotation in {op-system-base-full} for logs that are generated by application pods. These logs print to the console and are saved. Ensure that your log preferences are configured for the {op-system} `/var/log/audit/audit.log` file to maintain {microshift-short} cluster health.
42+
====

0 commit comments

Comments
 (0)