PGS9-00-011200 - PostgreSQL must protect its audit features from unauthorized removal - Data


Protecting audit data also includes identifying and protecting the tools used to view and manipulate log data. Therefore, protecting audit tools is necessary to prevent unauthorized operation on audit data.

Applications providing tools to interface with audit data will leverage user permissions and roles identifying the user accessing the tools and the corresponding rights the user enjoys in order make access decisions regarding the deletion of audit tools.

Audit tools include, but are not limited to, vendor-provided and open source audit tools needed to successfully view and manipulate audit information system activity and records. Audit tools include custom queries and report generators.


Note: The following instructions use the PGDATA and PGVER environment variables. See supplementary content APPENDIX-F for instructions on configuring PGDATA and APPENDIX-H for PGVER.

As the system administrator, change the permissions of PGDATA:

$ sudo chown -R postgres:postgres ${PGDATA?}
$ sudo chmod 700 ${PGDATA?}

As the system administrator, change the permissions of pgsql:

$ sudo chown -R root:root /usr/pgsql-${PGVER?}

See Also

Item Details


References: 800-53|AU-9, CAT|II, CCI|CCI-001495, Rule-ID|SV-214143r508027_rule, STIG-ID|PGS9-00-011200, STIG-Legacy|SV-87695, STIG-Legacy|V-73043, Vuln-ID|V-214143

Plugin: Unix

Control ID: 0b09374ff0da772a74dd0d179e03664946ba577ffd070d5def2054e35c868a3a