Skip to content

The EDB Postgres Advanced Server must generate audit records when unsuccessful attempts to delete 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 individuals' and groups' privileges could go undetected. In an SQL environment, deleting permissions is typically done via the REVOKE command. To aid in diagnosis, it is necessary to keep track of failed attempts in addition to the successful ones.

ID
SV-259311r961812_rule
Version
EPAS-00-011300
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Execute the following SQL as the "enterprisedb" operating system user:

> psql edb -c "ALTER SYSTEM SET edb_audit_statement = 'all'"
> psql edb -c "SELECT pg_reload_conf()"

or