Check ID: postgresql_flexible_server_connection_throttling_on
Provider: Azure
Service: postgresql
Severity: MEDIUM
Categories: logging
Resource type: microsoft.dbforpostgresql/flexibleservers

What this check verifies

Azure PostgreSQL flexible servers where the connection_throttling parameter is set to ON

Risk

Without connection_throttling, bursts of new sessions can exhaust connection slots and CPU, degrading availability and causing timeouts. Reduced telemetry delays detection of DoS or runaway clients, extending impact and recovery time.

Recommendation

Enable connection_throttling and align connection limits with expected load. Apply defense in depth: use connection pooling, exponential backoff, and alerts on connection spikes; prefer private access and restrictive networking to reduce exposure.

Remediation

az postgres flexible-server parameter set —resource-group <resourceGroupName> —server-name <serverName> —name connection_throttle.enable —value on

References

Where this check fires

This check runs on every scheduled scan against your Azure account. Findings appear at Cloud Security → Findings filterable by Check ID = postgresql_flexible_server_connection_throttling_on. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Azure checks