Cloud posture check · Azure

PostgreSQL keeps logs for three days or fewer

Reads every database in each connected cloud account and reports one when PostgreSQL keeps logs for three days or fewer.

Why it matters

Logs kept for three days or less are gone before most intrusions are noticed.

How to fix it

Set the logfiles.retention_days 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.6: PostgreSQL log retention exceeds 3 days

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.

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.