Cloud posture check · Google Cloud

PostgreSQL does not log DDL statements

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

Why it matters

Without DDL logging, a table dropped or a role altered leaves no record of the statement that did it.

How to fix it

Set the log_statement database flag as the benchmark recommends and restart if the engine requires it.

What TrustIvan reads

  • Google Cloud: the collector reads what this check needs, so it passes or fails.

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: Google Cloud.

Benchmark controls

  • CIS Google Cloud Platform Foundation Benchmark 3.0.0, control 6.2.4: PostgreSQL log_statement is set appropriately

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.