SV-89193r1_rule
V-74519
SRG-APP-000295-DB-000305
DB2X-00-006400
CAT II
10
Run the CREATE THRESHOLD statement to create the thresholds per organization policies.
The following command is an example for creating a threshold to terminate any sessions which have been inactive for more than 5 hours:
DB2> CREATE THRESHOLD MONIDLETIME FOR DATABASE ACTIVITIES ENFORCEMENT DATABASE
WHEN CONNECTIONIDLETIME > 300 MINUTE STOP EXECUTION
Note: Select the following link for the knowledgebase information on create threshold:
http://www.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.sql.ref.doc/doc/r0050563.html?lang=en
Run the following query to check the existing thresholds defined in database:
DB2> SELECT thresholdname, thresholdpredicate, maxvalue, execution
FROM syscat.thresholds
If there are no thresholds defined in the required categories this is a finding.
Review the defined thresholds, if the thresholds are not defined per the organization policies, this is a finding.
Note: Select the following link for the knowledgebase on syscat.thresholds:
http://www.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.sql.ref.doc/doc/r0050565.html?cp=SSEPGG_10.5.0%2F2-12-8-111
V-74519
False
DB2X-00-006400
Run the following query to check the existing thresholds defined in database:
DB2> SELECT thresholdname, thresholdpredicate, maxvalue, execution
FROM syscat.thresholds
If there are no thresholds defined in the required categories this is a finding.
Review the defined thresholds, if the thresholds are not defined per the organization policies, this is a finding.
Note: Select the following link for the knowledgebase on syscat.thresholds:
http://www.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.sql.ref.doc/doc/r0050565.html?cp=SSEPGG_10.5.0%2F2-12-8-111
M
3161