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

CAT II (Medium)

The MySQL Database Server 9.x must generate audit records when categories of information (e.g., classification levels/security levels) are modified.

Rule ID

SV-289276r1319171_rule

STIG

Oracle MySQL 9.x Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-000172

Discussion

Changes in categories of information must be tracked. Without an audit trail, unauthorized access to protected data could go undetected. For detailed information on categorizing information, refer to FIPS Publication 199, Standards for Security Categorization of Federal Information and Information Systems, and FIPS Publication 200, Minimum Security Requirements for Federal Information and Information Systems. Satisfies: SRG-APP-000494-DB-000344, SRG-APP-000494-DB-000345, SRG-APP-000498-DB-000346, SRG-APP-000498-DB-000347, SRG-APP-000502-DB-000348

Check Content

If classification levels/security levels labeling is not required, this is not applicable.

Review the system documentation to identify the database objects containing categories of information that are required to be audited when modified.

Verify that the MySQL Enterprise Audit component is installed:
SELECT *
FROM mysql.component
WHERE component_urn = 'file://component_audit_log';

Review the configured audit filters:
SELECT NAME, FILTER
FROM mysql.audit_log_filter;

SELECT USER, HOST, FILTERNAME
FROM mysql.audit_log_user;

Verify the applicable audit filter records modification activity for the identified database objects.

For MySQL Enterprise Audit, modification of table data is represented by the "table_access" event class with the update event subclass.

A filter that records all events, all "table_access" events, or specifically "table_access/update" events satisfies this portion of the requirement, provided the filter applies to the required database users and objects.

Verify the applicable audit filter is assigned to the required users or is configured as the default audit filter.

If modification of the identified categories of information is not configured to generate an audit record, this is a finding.

Fix Text

Configure the MySQL Enterprise Audit component to record modifications to database objects containing categories of information identified in the database management system (DBMS) product documentation as requiring audit coverage.

Modify the organization's existing audit filter to include "table_access/update" events, or create an appropriate audit filter if one does not already exist.

For example:
SET @f = '{
  "filter": {
    "class": {
      "name": "table_access",
      "event": {
        "name": "update",
        "log": true
      }
    }
  }
}';

SELECT audit_log_filter_set_filter(
    'log_category_modification',
    @f
);

Assign the filter to the applicable MySQL account:
SELECT audit_log_filter_set_user(
    '<user>@<host>',
    'log_category_modification'
);

If the filter is intended to apply as the default to accounts without a specific filter assignment:
SELECT audit_log_filter_set_user(
    '%',
    'log_category_modification'
);

Do not replace an existing audit filter that records additional events required by the organization. Incorporate the "table_access/update" requirement into the existing audit policy as appropriate.

Refer to the following:
https://dev.mysql.com/doc/refman/9.7/en/audit-log-component-filtering.html
https://dev.mysql.com/doc/refman/9.7/en/audit-log-component-filter-definitions.html