TMA-DB2-6.2.4
Nested Roles
Beschreibung
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 ...
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
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.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
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>
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- db2databasemanual
- Referenz
- CIS IBM Db2 12.1 Benchmark v1.0.0 - 6.2.4 Nested Roles