1. Home
  2. Security Hardening
  3. DISA Oracle MySQL 8.0 V1R2 OS Linux
  4. MYS8-00-007800 – The MySQL Database Server 8.0 must initiate session auditing upon startup – plugin-load-add

MYS8-00-007800 – The MySQL Database Server 8.0 must initiate session auditing upon startup – plugin-load-add

Details

Session auditing is for use when a user’s activities are under investigation. To be sure of capturing all activity during those periods when session auditing is in use, it needs to be in operation for the whole time the Database Management System (DBMS) is running.

Solution

Configure the MySQL Audit to automatically start during system startup.
Add to the my.cnf:

[mysqld]
plugin-load-add=audit_log.so
audit-log=FORCE_PLUS_PERMANENT
audit-log-format=JSON

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles