TMAegis
mysql のその他のルール

TMA-MYSQL-2.5

Do Not Reuse Usernames

低レベル 1手動レビューmysql

説明

Database user accounts should not be reused for multiple applications or users.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

List accounts: SELECT host, user, plugin FROM mysql.user WHERE user NOT IN ('mysql.infoschema','mysql.session','mysql.sys'); Each account must belong to exactly one system account, person or application; shared or reused usernames are a fail.

修正方法

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

Create a separate account per person, application and system account, migrate their grants, and drop the shared accounts.

プロパティ

オペレーティングシステム
すべて
タグ
mysqldatabaseauthenticationmanual
参照
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.5 Do Not Reuse Usernames