:_mod-docs-content-type: ASSEMBLY
[id="microshift-audit-logs-config"]
= Configuring audit logging policies
include::_attributes/attributes-microshift.adoc[]
:context: microshift-audit-logs-config

toc::[]

[role="_abstract"]
You can control {microshift-short} audit log file rotation and retention by using configuration values.

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

[id="Additional-resources_audit-log-intro"]
.Additional resources

* 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]

* 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]

* link:https://access.redhat.com/solutions/1294[How to use logrotate utility to rotate log files (Solutions, dated 7 August 2024)]

// About audit log profiles; OCP module, edit with conditionals and care
include::modules/nodes-nodes-audit-config-about.adoc[leveloffset=+1]

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

include::modules/microshift-audit-logs-troubleshoot.adoc[leveloffset=+1]