3.1.16 Ensure 'debug_print_parse' is disabled - debug_print_parse is disabled

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The debug_print_parse setting enables printing the resulting parse tree for each executed query. These messages are emitted at the LOG message level. Unless directed otherwise by your organization's logging policy, it is recommended this setting be disabled by setting it to off.

Rationale:

Enabling any of the DEBUG printing variables may cause the logging of sensitive information that would otherwise be omitted based on the configuration of the other logging settings.

Solution

Execute the following SQL statement(s) to remediate this setting:

postgres=# alter system set debug_print_parse='off';
ALTER SYSTEM
postgres=# select pg_reload_conf();
pg_reload_conf
----------------
t
(1 row)

Default Value:

off

See Also

https://workbench.cisecurity.org/benchmarks/11864

Item Details

References: CSCv7|5.1

Plugin: PostgreSQLDB

Control ID: da875bf84fc50804517a5d93e0d1ee22b91cd76ebab4b01207e31155b44b6eb0