TMAegisBeta
更多 postgres 规则

PostgreSQL

TMA-POSTGRES-1.2

Install only required packages

低级别 1人工审核postgres

说明

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

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --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.

修复方式

修复方法: 操作指南或基础设施补丁

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

属性

操作系统
任意
标签
postgresdatabasepackagesmanual
参考
CIS PostgreSQL 18 Benchmark v1.0.0 - 1.2 Install only required packages