MariaDB
TMA-MARIADB-2.7
Lock Out Accounts if Not Currently in Use
OrtaDüzey 2Manuel incelememariadb
Açıklama
If users with accounts will not be using their account for some time, to reduce the risk of attacks or inappropriate account usage or if suspicions exist that an account might be under attack, disabling the account will secure it and once it's ready to resume use it can easily be re-enabled.
Nasıl denetlenir
Denetim yöntemi: Manuel inceleme
Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.
Review lock status: SELECT CONCAT(user, '@', host, ' => ', JSON_DETAILED(priv)) FROM mysql.global_priv; Accounts not in use and reserved accounts must show account_locked:true.
Nasıl düzeltilir
Düzeltme yöntemi: Kılavuz veya altyapı yaması
ALTER USER '<user>'@'<host>' ACCOUNT LOCK; for each unused account (ACCOUNT UNLOCK when needed again).
Özellikler
- İşletim sistemleri
- Herhangi biri
- Etiketler
- mariadbdatabaseauthenticationmanual
- Referans
- CIS MariaDB 10.11 Benchmark v1.0.0 - 2.7 Lock Out Accounts if Not Currently in Use