SV-233516r617333_rule
V-233516
SRG-APP-000266-DB-000162
CD12-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):
$ sudo systemctl reload postgresql-${PGVER?}
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-233516
False
CD12-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
5254