STIGUI
V-253772CAT II — Medium severitySV-253772r961839_rule

MariaDB must generate audit records for all direct access to the database(s).

Rule version MADB-10-012000 · STIG v2 · 2026-08-25

Discussion

In this context, direct access is any query, command, or call to MariaDB that comes from any source other than the application(s) that it supports. Examples would be the command line or a database management utility program. The intent is to capture all activity from administrative and nonstandard sources.

Check

Check what filters are in place by running the following as an administrative user:

MariaDB> SELECT * FROM mysql.server_audit_filters;

Verify connect_events include connect in audit filters. If not, this is a finding.

Fix

Edit the necessary filters to include connect_events connect. Example:

MariaDB> DELETE FROM mysql.server_audit_filters WHERE filtername = 'default';

MariaDB> INSERT INTO mysql.server_audit_filters (filtername, rule) VALUES ('default', JSON_COMPACT( '{ "connect_event":"CONNECT" }' ));

Identifiers

Group ID
V-253772
Group title
SRG-APP-000508-DB-000358
Rule ID
SV-253772r961839_rule
Check ID
C-57224r841839_chk
Fix ID
F-57175r841840_fix