EPAS-00-001300 - The EDB Postgres Advanced Server must generate audit records when unsuccessful attempts to retrieve privileges/permissions occur.

Information

Under some circumstances, it may be useful to monitor who/what is reading privilege/permission/role information. Therefore, it must be possible to configure auditing to do this. DBMSs typically make such information available through views or functions.

This requirement addresses explicit requests for privilege/permission/role membership information. It does not refer to the implicit retrieval of privileges/permissions/role memberships that the DBMS continually performs to determine if any and every action on the database is permitted.

To aid in diagnosis, it is necessary to keep track of failed attempts in addition to the successful ones.

Solution

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

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_EPAS_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000172, Rule-ID|SV-259217r938704_rule, STIG-ID|EPAS-00-001300, Vuln-ID|V-259217

Plugin: PostgreSQLDB

Control ID: 3b593bee990d5cefb45718df780799c8ccd9ec1785ccd5efe71e62310118bc5c