SV-235144r638812_rule
V-235144
SRG-APP-000141-DB-000091
MYS8-00-005700
CAT II
10
Uninstall unused components or features that are installed and can be uninstalled. Remove any database objects and applications that are installed to support them.
After review of installed plugin components uninstall unused plugins. To do this while the server is running using the UNINSTALL PLUGIN; command:
Remove any plugin that is loaded at startup from the my.cnf file.
For example - ddl_rewriter is discovered but are not being used. Follow these removal instructions.
Remove this line from my.cnf:
plugin-load-add=ddl_rewriter.so
Remove any plugin that is not loaded at startup using the --plugin-load parameter from the my.cnf or on the command line.
UNINSTALL PLUGIN <plugin_name>;
UNINSTALL PLUGIN ddl_rewriter;
Remove any component not in use
UNINSTALL COMPONENT component_name [, component_name ] ...;
For example - The audit message emit function is not being called, the component is not needed.
UNINSTALL COMPONENT "file://component_audit_api_message_emit";
Review the list of components and features installed with the MySQL Database Server 8.0.
List options MySQL Plugins/Components
SELECT * FROM information_schema.PLUGINS where plugin_library is NOT NULL;
Compare the feature listing against the required plugins listing.
If any plugins are installed, but are not required, this is a finding.
SELECT * FROM mysql.component;
Compare the feature listing against the required components listing.
If any components are installed, but are not required, this is a finding.
V-235144
False
MYS8-00-005700
Review the list of components and features installed with the MySQL Database Server 8.0.
List options MySQL Plugins/Components
SELECT * FROM information_schema.PLUGINS where plugin_library is NOT NULL;
Compare the feature listing against the required plugins listing.
If any plugins are installed, but are not required, this is a finding.
SELECT * FROM mysql.component;
Compare the feature listing against the required components listing.
If any components are installed, but are not required, this is a finding.
M
5277