Skip to content

PostgreSQL must generate audit records when security objects are deleted.

An XCCDF Rule

Description

The removal of security objects from the database/PostgreSQL would seriously degrade a system's information assurance posture. If such an event occurs, it must be logged.

ID
SV-261952r1000861_rule
Version
CD16-00-010800
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Note: The following instructions use the PGDATA and PGVER environment variables. Refer to APPENDIX-F for instructions on configuring PGDATA and APPENDIX-H for PGVER.

PostgreSQL can be configured to audit these requests using pgaudit. Refer to supplementary content APPENDIX-B for documentation on installing pgaudit.

With pgaudit installed the following configurations can be made: