PostgreSQL
TMA-POSTGRES-6.5
Ensure 'Superuser' Runtime Parameters are Configured
LowLevel 1Manual reviewpostgres
Description
PostgreSQL runtime parameters that can only be executed by the server's superuser, postgres.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
Run SELECT name, setting FROM pg_settings WHERE context = 'superuser' ORDER BY 1; and compare with your approved baseline; also check per-role/database overrides (SELECT * FROM pg_db_role_setting;). Any unexpected value is a fail.
How it is fixed
Fix method: Guidance or infrastructure patch
Restore approved values in the configuration files (reload), and remove unwanted overrides with ALTER ROLE/ALTER DATABASE ... RESET <parameter>;
Properties
- Operating systems
- Any
- Tags
- postgresdatabaseconfigurationmanual
- Reference
- CIS PostgreSQL 18 Benchmark v1.0.0 - 6.5 Ensure 'Superuser' Runtime Parameters are Configured