SV-235104r638812_rule
V-235104
SRG-APP-000090-DB-000065
MYS8-00-001700
CAT II
10
Configure the MySQL Database Server 8.0 settings to allow designated personnel to select which auditable events are audited.
Grant permissions to users who need rights to create auditing rules.
GRANT AUDIT_ADMIN
ON *.* TO '<auditusername>'@'<host_specification>';
For example:
GRANT AUDIT_ADMIN
ON *.* TO 'auditusername'@'%';
Check MySQL settings and documentation to determine whether designated personnel are able to select which auditable events are being audited.
To list out users who have rights to administrative access for auditing, run this query:
SELECT * FROM INFORMATION_SCHEMA.USER_PRIVILEGES where PRIVILEGE_TYPE in ('AUDIT_ADMIN', 'SUPER');
If any of the roles or users returned have permissions that are not documented, or the documented audit maintainers do not have permissions, this is a finding.
V-235104
False
MYS8-00-001700
Check MySQL settings and documentation to determine whether designated personnel are able to select which auditable events are being audited.
To list out users who have rights to administrative access for auditing, run this query:
SELECT * FROM INFORMATION_SCHEMA.USER_PRIVILEGES where PRIVILEGE_TYPE in ('AUDIT_ADMIN', 'SUPER');
If any of the roles or users returned have permissions that are not documented, or the documented audit maintainers do not have permissions, this is a finding.
M
5277