TMAegis
Thêm quy tắc cho postgres

TMA-POSTGRES-1.1

Ensure packages are obtained from authorized repositories

Trung bìnhCấp 1Xem xét thủ côngpostgres

Mô tả

Standard Linux distributions, although possessing the requisite packages, often do not have PostgreSQL pre-installed. The installation process includes installing the binaries and the means to generate a data cluster. Package installation should include both the server and client packages.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

List enabled package repositories (RHEL: dnf repolist all | grep -E 'enabled$'; Debian/Ubuntu: apt-cache policy) and confirm each is organization-approved (e.g. vendor OS repos or the PGDG repository). Inspect installed PostgreSQL packages (rpm -qa | grep postgres or dpkg -l | grep postgres) and confirm they come from those sources. Any unapproved repository is a fail.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Disable or remove unapproved repositories and reinstall PostgreSQL packages from an authorized source (OS vendor or PGDG).

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
postgresdatabasepackagesmanual
Tham chiếu
CIS PostgreSQL 18 Benchmark v1.0.0 - 1.1 Ensure packages are obtained from authorized repositories