Check: EPAS-00-012600
EnterpriseDB Postgres Advanced Server (EPAS) STIG:
EPAS-00-012600
(in version v1 r1)
Title
The EDB Postgres Advanced Server must generate audit records for all direct access to the database(s). (Cat II impact)
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 Content
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 Text
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.
Additional Identifiers
Rule ID: SV-259324r939025_rule
Vulnerability ID: V-259324
Group Title: SRG-APP-000508-DB-000358
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000172 |
The information system generates audit records for the events defined in AU-2 d. with the content defined in AU-3. |
Controls
Number | Title |
---|---|
AU-12 |
Audit Generation |