Cleanup MySQL server firewall rules

March 21, 2025 ยท View on GitHub

SYNOPSIS

Determine if there is an excessive number of firewall rules.

DESCRIPTION

Typically the number of firewall rules required is minimal, with management connectivity from on-premises and cloud application connectivity the most common.

RECOMMENDATION

The MySQL server has greater then ten (10) firewall rules. Some rules may not be needed.

NOTES

This rule is only applicable for the Azure Database for MySQL Single Server deployment model.

This rule fails when the number of configured firewall rules exceeds ten (10).