TMAegis
Mais regras para mysql

TMA-MYSQL-2.5

Do Not Reuse Usernames

BaixaNível 1Revisão manualmysql

Descrição

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

Como é verificado

Método de auditoria: Revisão manual

Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --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.

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

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

Propriedades

Sistemas operacionais
Qualquer
Tags
mysqldatabaseauthenticationmanual
Referência
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.5 Do Not Reuse Usernames