PostgreSQL must generate audit records when unsuccessful attempts to modify privileges/permissions occur.
An XCCDF Rule
Description
Failed attempts to change the permissions, privileges, and roles granted to users and roles must be tracked. Without an audit trail, unauthorized attempts to elevate or restrict privileges could go undetected. Modifying permissions is done via the GRANT and REVOKE commands. To aid in diagnosis, it is necessary to keep track of failed attempts in addition to the successful ones.
- ID
- SV-214109r879866_rule
- Version
- PGS9-00-006800
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure PostgreSQL to produce audit records when unsuccessful attempts to modify privileges occur.
All denials are logged by default if logging is enabled. To ensure that logging is enabled, review supplementary content APPENDIX-C for instructions on enabling logging.