TMAegisBeta
More rules for db2-zos

Db2 for z/OS

TMA-DB2-ZOS-1.1.1

Ensure that Db2 system data sets are protected

MediumLevel 1Manual reviewdb2-zos

Description

The Db2 data sets that contain system and configuration information, and log data must be protected from unauthorized modifications or deletions. These data sets can be accessed outside of Db2. Failure to properly restrict access to the Db2 system and log data sets can result in a loss of system integrity or data.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

For each data set on the protection list, issue the following RACF commands to determine the protection profiles in place and evaluate access control to those resources. LISTDSD DATASET('<dataset name>')

How it is fixed

Fix method: Guidance or infrastructure patch

1. Create a protection profile for each of the data set in the list above. 2. Specify UACC(NONE) or no ID(*) to prevent universal access. 3. Permit READ, ALTER, CONTROL access based on roles and responsibilities and conform to least access needed. For example, issue the following RACF commands to create generic profiles for active log data sets and assign access control to Db2 started tasks. ADDSD 'DSNC000.LOGCOPY*' UACC(NONE) PERMIT 'DSNC000.LOGCOPY*' ID(SYSDSP) ACCESS(ALTER)

Properties

Operating systems
Any
Tags
db2-zoshardening
Reference
CIS IBM Db2 13 for z/OS Benchmark v1.0.0 - 1.1.1 Ensure that Db2 system data sets are protected