Cloud posture check · Azure

PostgreSQL does not log disconnections

Reads every database in each connected cloud account and reports one when PostgreSQL does not log disconnections.

Why it matters

Disconnection records give each session's end and duration, which an investigation needs alongside the connection records.

How to fix it

Set the log_disconnections 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.4: PostgreSQL log_disconnections 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.

Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege

All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.