TMAegisBeta
更多 postgres 規則

PostgreSQL

TMA-POSTGRES-5.6

Ensure Password Complexity is configured

中等級 1人工審核postgres

說明

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.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --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.

修補方式

修補方法: 操作指南或基礎設施修補檔

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

屬性

作業系統
不限
標籤
postgresdatabaseauthenticationpasswordmanual
參考資料
CIS PostgreSQL 18 Benchmark v1.0.0 - 5.6 Ensure Password Complexity is configured