Why it matters
Without connection records you cannot tell who connected, from where, or when a credential was first misused.
How to fix it
Set the log_connections database flag as the benchmark recommends and restart if the engine requires it.
What TrustIvan reads
- Microsoft Azure: the collector does not read this yet, so the check reports not assessed, never a pass.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Microsoft Azure.
Benchmark controls
- CIS Microsoft Azure Foundations Benchmark 2.1.0, control
4.3.3: PostgreSQL log_connections is on
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Variants of this check
One more check reads the same way and take the same fix; each has its own check ID and control.
- PostgreSQL does not log connections (Google Cloud,
cloud.database.flag.pg-log-connections; CIS Google Cloud Platform Foundation Benchmark 3.0.0 control6.2.2)
Related checks
- PostgreSQL does not log checkpoints
AzureSeverity: Low
cloud.database.flag.azure-pg-log-checkpoints - PostgreSQL does not log disconnections
AzureSeverity: Low
cloud.database.flag.azure-pg-log-disconnections - PostgreSQL connection throttling is off
AzureSeverity: Low
cloud.database.flag.azure-pg-connection-throttling - PostgreSQL keeps logs for three days or fewer
AzureSeverity: Low
cloud.database.flag.azure-pg-log-retention - Database audit logs are kept for less than 90 days
AzureSeverity: Low
cloud.database.audit-retention - MySQL allows LOAD DATA LOCAL
Google CloudSeverity: Low
cloud.database.flag.mysql-local-infile
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation