UCF STIG Viewer Logo

The EDB Postgres Advanced Server must generate audit records for all direct access to the database(s).


Overview

Finding ID Version Rule ID IA Controls Severity
V-224238 EP11-00-012600 SV-224238r508023_rule Medium
Description
In this context, direct access is any query, command, or call to the DBMS that comes from any source other than the application(s) that it supports. Examples would be the command line or a database management utility program. The intent is to capture all activity from administrative and non-standard sources.
STIG Date
EDB Postgres Advanced Server v11 on Windows Security Technical Implementation Guide 2022-06-13

Details

Check Text ( C-25911r495731_chk )
Execute the following SQL as enterprisedb:

SHOW edb_audit_statement;
SHOW edb_audit_connect;
SHOW edb_audit_disconnect;

If the result is not "all" for any or if the current settings for this requirement have not been noted and approved by the organization in the system documentation, this is a finding.
Fix Text (F-25899r495732_fix)
Execute the following SQL as enterprisedb:

ALTER SYSTEM SET edb_audit_statement = 'all';
ALTER SYSTEM SET edb_audit_connect = 'all';
ALTER SYSTEM SET edb_audit_disconnect = 'all';
SELECT pg_reload_conf();

or

Update the system documentation to note the organizationally approved setting and corresponding justification of the setting for this requirement.