Control: Azure > CIS v3.0 > 05 - Database Services > 05.02 - Azure Database for PostgreSQL > 05.02.07 - [LEGACY] Ensure server parameter 'log_disconnections' is set to 'ON' for PostgreSQL single server
Configures auditing against a CIS Benchmark item.
Level: 1
Enable log_disconnections on PostgreSQL Servers.
NOTE: This recommendation currently only applies to Single Server, not Flexible Server. See additional information below for details about the planned retirement of Azure PostgreSQL Single Server.
Enabling log_disconnections helps PostgreSQL Database to Logs end of a session, including duration, which in turn generates query and error logs. Query and error logs can be used to identify, troubleshoot, and repair configuration errors and sub-optimal performance.
Resource Types
This control targets the following resource types:
Category
In Your Workspace
Developers
- tmod:@turbot/azure-cisv3-0#/control/types/r050207
- tmod:@turbot/cis#/control/categories/v070602
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/azure-cisv3-0#/control/types/r050207"
Get Controls
Control Type URI
Category URI
GraphQL
CLI