SV-214053r508027_rule
V-214053
SRG-APP-000266-DB-000162
PGS9-00-000600
CAT II
10
Note: The following instructions use the PGDATA and PGVER environment variables. See supplementary content APPENDIX-F for instructions on configuring PGDATA and APPENDIX-H for PGVER.
As the database administrator, edit "postgresql.conf":
$ sudo su - postgres
$ vi $PGDATA/postgresql.conf
Change the client_min_messages parameter to be "error":
client_min_messages = error
Reload the server with the new configuration (this just reloads settings currently in memory; it will not cause an interruption):
# SYSTEMD SERVER ONLY
$ sudo systemctl reload postgresql-${PGVER?}
# INITD SERVER ONLY
$ sudo service postgresql-${PGVER?} reload
As the database administrator, run the following SQL:
SELECT current_setting('client_min_messages');
If client_min_messages is not set to error, this is a finding.
V-214053
False
PGS9-00-000600
As the database administrator, run the following SQL:
SELECT current_setting('client_min_messages');
If client_min_messages is not set to error, this is a finding.
M
3994