STIGUI
V-259324CAT II — Medium severitySV-259324r961839_rule

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

Rule version EPAS-00-012600 · STIG v2 · 2026-09-03

Discussion

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 nonstandard sources.

Check

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

> psql edb -c "SHOW edb_audit_statement"
> psql edb -c "SHOW edb_audit_connect"
> psql edb -c "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

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.

Identifiers

Group ID
V-259324
Group title
SRG-APP-000508-DB-000358
Rule ID
SV-259324r961839_rule
Check ID
C-63063r939023_chk
Fix ID
F-62972r939024_fix