TMAegisБета
Другие правила для db2

IBM Db2

TMA-DB2-6.2.6

Review Role Grantees with WITH ADMIN OPTION

СреднийУровень 1Ручная проверкаdb2

Описание

Using the WITH ADMIN OPTION clause of the GRANT (Role) SQL statement, the security administrator can delegate the management and control of membership in a role to someone else.

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.

1. Connect to Db2 database: db2 => connect to <dbname> 2. Perform the following query: db2 => select rolename, grantee, admin from syscat.roleauth where grantortype <> 'S' and admin = 'Y' If the value returned is blank, that is considered a Pass.

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

1. Connect to Db2 database: db2 => connect to <dbname> 2. Perform the following query: db2 => revoke admin option for role <role name> from user <user name>

Свойства

Операционные системы
Любая
Теги
db2databasemanual
Источник
CIS IBM Db2 12.1 Benchmark v1.0.0 - 6.2.6 Review Role Grantees with WITH ADMIN OPTION