TMAegis
More rules for mysql

MySQL

TMA-MYSQL-10.2

Allowlist Approved Servers Belonging to a MySQL InnoDB Cluster

MediumLevel 2Manual reviewmysql

Description

Optionally, specify an allowlist of approved servers that belong to the MySQL InnoDB Cluster.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Run SELECT @@group_replication_ip_allowlist; on each InnoDB Cluster member. The value must list only the IPv4/IPv6 addresses, subnets or host names of approved cluster members (AUTOMATIC or overly broad ranges are a finding).

How it is fixed

Fix method: Guidance or infrastructure patch

Set the allowlist on each member: STOP GROUP_REPLICATION; SET PERSIST group_replication_ip_allowlist = '<ip1>,<ip2>,<subnet>'; START GROUP_REPLICATION; (or ipAllowlist in MySQL Shell).

Properties

Operating systems
Any
Tags
mysqldatabasereplicationnetworkmanual
Reference
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 10.2 Allowlist Approved Servers Belonging to a MySQL InnoDB Cluster