PostgreSQL
TMA-POSTGRES-1.2
Install only required packages
Descrição
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. ; ...
Como é verificado
Método de auditoria: Revisão 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.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Remove PostgreSQL packages and extensions not required for the server role with the OS package manager (dnf remove / apt remove).
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- postgresdatabasepackagesmanual
- Referência
- CIS PostgreSQL 18 Benchmark v1.0.0 - 1.2 Install only required packages