TMAegis
Más reglas para postgres

TMA-POSTGRES-1.2

Install only required packages

BajaNivel 1Revisión manualpostgres

Descripción

Depending on the distribution, several other packages next to the mandatory postgresql might have been installed upon a system. Typical add-on packages are: ; postgresql-doc: PostgreSQL documentation. ; phppgadmin: PostgreSQL web-based administration tool. ; ...

Cómo se verifica

Método de auditoría: Revisión manual

Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.

List installed PostgreSQL packages (rpm -qa | grep -i postgres or dpkg -l | grep -i postgres) and compare with apt search postgresql / dnf search postgresql. Only packages required for this server's role (server, client, needed contrib/extensions) should be installed; anything unneeded is a finding.

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

Remove PostgreSQL packages and extensions not required for the server role with the OS package manager (dnf remove / apt remove).

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
postgresdatabasepackagesmanual
Referencia
CIS PostgreSQL 18 Benchmark v1.0.0 - 1.2 Install only required packages