TMAegisBeta
Thêm quy tắc cho postgres

PostgreSQL

TMA-POSTGRES-5.6

Ensure Password Complexity is configured

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

Mô tả

Password complexity configuration is crucial to restrict unauthorized access to data. By default, PostgreSQL doesn't provide for password complexity. Moreover, many compliance frameworks such as PCI DSS, and HIPPA require both password complexity and length.

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.

Run SHOW shared_preload_libraries; and SHOW dynamic_library_path; If $libdir/passwordcheck (or passwordcheck when dynamic_library_path is $libdir) is not listed in shared_preload_libraries, this is a failure.

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

Add '$libdir/passwordcheck' to shared_preload_libraries in postgresql.conf (keep existing entries), optionally set passwordcheck.min_password_length, and restart PostgreSQL.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
postgresdatabaseauthenticationpasswordmanual
Tham chiếu
CIS PostgreSQL 18 Benchmark v1.0.0 - 5.6 Ensure Password Complexity is configured