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

修正方法

修正方法: ガイダンスまたは IaC パッチ

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