TMAegis
Plus de règles pour postgres

TMA-POSTGRES-1.2

Install only required packages

FaibleNiveau 1Revue manuellepostgres

Description

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. ; ...

Méthode de vérification

Méthode d'audit: Revue manuelle

Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --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.

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

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

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
postgresdatabasepackagesmanual
Référence
CIS PostgreSQL 18 Benchmark v1.0.0 - 1.2 Install only required packages