TMA-DB2-6.2.4
Nested Roles
Descripción
The user-defined roles in Db2 can be nested in the same fashion as Windows security groups, i.e. a nested group has both its directly assigned permissions as well as the assigned group permissions. By nesting roles, the database administrator is saving time by only having to assign a group of users versus assigning them individually. Nesting roles properly can often ease the application of ...
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
1. Connect to Db2 database: db2 => connect to <dbname> 2. Run the following to identify any nested roles: db2 => select grantee, rolename from syscat.roleauth where grantee in (select rolename from syscat.roles) If value is blank, this would be considered passing.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
To remove a nested role, perform the following: 1. Connect to Db2 database: db2 => connect to <dbname> 2. Run the following: db2 => revoke role <role name> from role <role>
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- db2databasemanual
- Referencia
- CIS IBM Db2 12.1 Benchmark v1.0.0 - 6.2.4 Nested Roles