TMAegisБета
Више правила за db2

IBM Db2

TMA-DB2-7.1.4

Ensure Audit is Enabled Within the Instance

ВисокаНиво 1Аутоматскаdb2

Опис

Auditing is crucial for securing and discovering issues within your databases. Auditing can help trigger events for changes to data objects, table DML, and user access. 'db2audit describe' must report Audit active: "TRUE". Run as SYSADM (instance owner). Run as the instance owner (or with sqllib/db2profile sourced) so the db2 CLP reads this instance's configuration.

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

Метод провере: Команда љуске

shell
out=$(db2audit describe 2>/dev/null) || exit 1; if printf '%s\n' "$out" | grep -Eiq 'Audit active: *"TRUE'; then echo compliant; else echo noncompliant; fi
Очекивани излаз
compliant

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

Issue the following command to activate instance level auditing: $ db2audit start

Својства

Оперативни системи
Било који
Ознаке
db2databaseloggingaudit
Референца
CIS IBM Db2 12.1 Benchmark v1.0.0 - 7.1.4 Ensure Audit is Enabled Within the Instance

Проверите овај рачунар

Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.

shell
tmaegis scan --target db2