SV-253678r1043188_rule
V-253678
SRG-APP-000109-DB-000321
MADB-10-001800
CAT II
10
Establish a process with accompanying tools for monitoring available disk space and ensuring that sufficient disk space is maintained to continue generating audit logs, overwriting the oldest existing records if necessary.
To set up the audit logs to write to sylog:
Edit the mariadb-enterprise.cnf file. Add the following under the [mariadb] section:
server_audit_output_type = 'syslog'
After the .cnf file is updated and saved, the mariadb database service must be restarted.
If not writing to syslog, log rotation and purging should be configured.
If the application owner has determined that the need for system availability outweighs the need for a complete audit trail, this is not applicable (NA).
If an externally managed and monitored partition or logical volume that can be grown dynamically is being used for logging, this is not a finding.
If MariaDB is auditing to a directory that is not being actively checked for availability of disk space, and if a tool, utility, script, or other mechanism is not being used to ensure sufficient disk space is available for the creation of new audit logs, this is a finding.
If a tool, utility, script, or other mechanism is being used to rotate audit logs, and oldest logs are not being removed to ensure sufficient space for newest logs, or oldest logs are not being replaced by newest logs, this is a finding.
V-253678
False
MADB-10-001800
If the application owner has determined that the need for system availability outweighs the need for a complete audit trail, this is not applicable (NA).
If an externally managed and monitored partition or logical volume that can be grown dynamically is being used for logging, this is not a finding.
If MariaDB is auditing to a directory that is not being actively checked for availability of disk space, and if a tool, utility, script, or other mechanism is not being used to ensure sufficient disk space is available for the creation of new audit logs, this is a finding.
If a tool, utility, script, or other mechanism is being used to rotate audit logs, and oldest logs are not being removed to ensure sufficient space for newest logs, or oldest logs are not being replaced by newest logs, this is a finding.
M
5475