Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-233589 | CD12-00-008600 | SV-233589r617333_rule | Medium |
Description |
---|
Session auditing is for use when a user's activities are under investigation. To ensure the capture of all activity during those periods when session auditing is in use, it needs to be in operation for the whole time PostgreSQL is running. |
STIG | Date |
---|---|
Crunchy Data PostgreSQL Security Technical Implementation Guide | 2020-12-11 |
Check Text ( C-36783r606990_chk ) |
---|
As the database administrator (shown here as "postgres"), check the current settings by running the following SQL: $ sudo su - postgres $ psql -c "SHOW shared_preload_libraries" If pgaudit is not in the current setting, this is a finding. As the database administrator (shown here as "postgres"), check the current settings by running the following SQL: $ psql -c "SHOW log_destination" If stderr or syslog are not in the current setting, this is a finding. |
Fix Text (F-36748r606991_fix) |
---|
Configure PostgreSQL to enable auditing. To ensure logging is enabled, review supplementary content APPENDIX-C for instructions on enabling logging. For session logging, using pgaudit is recommended. For instructions on how to setup pgaudit, see supplementary content APPENDIX-B. |