STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Oracle MySQL 9.x Security Technical Implementation Guide

V-289331

CAT II (Medium)

The MySQL Database Server 9.x must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75 percent of maximum audit record storage capacity.

Rule ID

SV-289331r1319257_rule

STIG

Oracle MySQL 9.x Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001855

Discussion

Organizations are required to use a central log management system, so, under normal conditions, the audit space allocated to the database management system (DBMS) on its own server will not be an issue. However, space will still be required on the DBMS's server for audit records in transit, which could fill up under abnormal conditions. Since a requirement exists to halt processing upon audit failure, a service outage would result. If support personnel are not notified immediately upon storage volume utilization reaching 75 percent, they are unable to plan for storage capacity expansion. The appropriate support staff include, at a minimum, the Information System Security Officer (ISSO) and the database administrator (DBA)/system administrator (SA).

Check Content

Review operating system or third-party logging application settings to determine whether a warning will be provided when 75 percent of DBMS audit log storage capacity is reached.

If no warning will be provided, this is a finding.

Fix Text

Modify the operating system or third-party logging/monitoring application settings to alert appropriate support personnel when the storage volume containing the MySQL audit logs reaches 75 percent utilization.

The appropriate support personnel must include, at a minimum, the ISSO and DBA/SA, as required by the organization.

For example, on a Linux/Unix system, the following script checks the filesystem containing the MySQL audit log directory and generates a warning when utilization reaches or exceeds 75 percent:
#!/bin/sh

AUDIT_DIR="/path/to/mysql/audit"

USAGE=$(df -P "$AUDIT_DIR" | awk 'NR==2 {gsub(/%/,"",$5); print $5}')

if [ "$USAGE" -ge 75 ]; then
    logger -p user.warning -t mysql-audit-capacity \
        "MySQL audit log storage has reached ${USAGE}% utilization."
    exit 1
fi

exit 0

Replace "/path/to/mysql/audit" with the directory containing the MySQL audit logs.

Schedule the script using the organization-approved scheduling mechanism and configure the operating system, centralized log management system, Security Information and Event Management (SIEM), or monitoring application to notify the appropriate support personnel when the "mysql-audit-capacity" warning is generated.

The example script may be replaced with an equivalent organization-approved monitoring solution that provides a warning at 75 percent utilization or lower.