azure-postgresql v5.23.0 - Check and enforce more audit logging settings on PostgreSQL Flexible Servers

Sep 30, 2026•GuardrailsMods

What's new?

  • You can now check and enforce more audit logging settings on your PostgreSQL Flexible Servers: connection throttling, connection and disconnection logging, statement duration logging and how many days server logs are kept. Use the new Connection Throttling, Log Connections, Log Disconnections, Log Duration and Log Retention Days policies under Azure > PostgreSQL > Flexible Server > Audit Logging. They default to Skip, so nothing changes until you set them.

Bug fixes

  • The Azure > PostgreSQL > Flexible Server > Audit Logging control no longer shows an error when a server is missing one of the parameters it checks. It now checks and enforces the parameters the server has, and reports invalid with the name of the missing one.
  • Server parameters set in a different case, such as ON, no longer cause a false alarm.
  • Read-only server parameters are now left unchanged in Enforce mode.

Policy Types

Added

  • Azure > PostgreSQL > Flexible Server > Audit Logging > Connection Throttling
  • Azure > PostgreSQL > Flexible Server > Audit Logging > Log Connections
  • Azure > PostgreSQL > Flexible Server > Audit Logging > Log Disconnections
  • Azure > PostgreSQL > Flexible Server > Audit Logging > Log Duration
  • Azure > PostgreSQL > Flexible Server > Audit Logging > Log Retention Days