PostgreSQL Server Parameter "log_connections" Is Not Enabled
Overview
Enabling log_connections helps PostgreSQL Database to log attempted connection to the server, as well as successful completion of client authentication. Log data can be used to identify, troubleshoot, and repair configuration errors and suboptimal performance.
Vendor
Azure
Cloud Service
PostgreSQL
Related Controls
CIS Azure v2.0.0 4.3.3
References
https://docs.microsoft.com/en-us/rest/api/postgresql/configurations/listbyserver, https://docs.microsoft.com/en-us/azure/postgresql/howto-configure-server-parameters-using-portal, https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-logging-threat-detection#lt-3-enable-logging-for-security-investigation, https://learn.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlconfiguration?view=azps-9.2.0#example-2-get-specified-postgresql-configuration-by-name, https://learn.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlconfiguration?view=azps-9.2.0#example-1-update-postgresql-configuration-by-name
Severity
3
Item Types
Microsoft.DBforPostgreSQL.servers.databases