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-289330

CAT II (Medium)

The MySQL Database Server 9.x must off-load audit data to a separate log management facility; this must be continuous and in near real time for systems with a network connection to the storage facility and weekly or more often for stand-alone systems.

Rule ID

SV-289330r1319255_rule

STIG

Oracle MySQL 9.x Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001851

Discussion

Information stored in one location is vulnerable to accidental or incidental deletion or alteration. Off-loading is a common process in information systems with limited audit storage capacity. The database management system (DBMS) may write audit records to database tables, to files in the file system, to other kinds of local repository, or directly to a centralized log management system. Whatever the method used, it must be compatible with off-loading the records to the centralized system.

Check Content

Review the system documentation for a description of how MySQL Enterprise Audit records are off-loaded to a separate centralized log management facility.

Verify that an approved operating-system log shipper, Security Information and Event Management (SIEM) agent, supported audit-log integration, or other software is configured to transfer MySQL Enterprise Audit records to the centralized audit log repository.

For systems connected to the centralized repository, verify that audit records are transferred continuously and in near real time.

For stand-alone systems, verify that audit records are transferred at least weekly or more frequently as required by the organization.

Verify that the account or service performing the transfer has only the permissions required to read and transfer the audit records.

MySQL Enterprise Audit provides "audit_log_read()" for reading audit log records, which may be used by an approved integration or collector where appropriate.

Generate a known auditable event and verify that the corresponding audit record is transferred to and appears in the centralized repository within the organization-defined interval.

The MySQL "log_sink_syseventlog" component may be used to send the MySQL error log to the operating system syslog or system log. It does not transfer MySQL Enterprise Audit records and must not be used alone as evidence that this requirement is satisfied.

If the required audit records are not transferred to the centralized log management facility within the required interval, this is a finding.

Fix Text

Deploy and configure an approved operating-system log shipper, SIEM agent, supported audit log read integration, or other software to transfer MySQL Enterprise Audit records to a separate log management facility.

For connected systems, configure continuous near-real-time forwarding. For standalone systems, configure transfer at least weekly.

Do not use "log_sink_syseventlog" alone as evidence that the audit records are off-loaded; that component forwards the MySQL server error log, not the MySQL Enterprise Audit file.

Grant only the minimum file system and MySQL privileges needed by the collector. Configure audit log rotation and retention so peak activity does not exhaust local storage, and monitor collector health, delivery delay, and backlog.

Test the complete path by generating a known auditable event and confirming that it appears in the centralized repository within the organization-defined interval.