STIGhubSTIGhub
STIGsRMF ControlsCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 1 hour ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to IBM DB2 V10.5 LUW Security Technical Implementation Guide

V-213715

CAT II (Medium)

DB2 must automatically terminate a user session after organization-defined conditions or trigger events requiring session disconnect.

Rule ID

SV-213715r879673_rule

STIG

IBM DB2 V10.5 LUW Security Technical Implementation Guide

Version

V2R1

CCIs

CCI-002361

Discussion

This addresses the termination of user-initiated logical sessions in contrast to the termination of network connections that are associated with communications sessions (i.e., network disconnect). A logical session (for local, network, and remote access) is initiated whenever a user (or process acting on behalf of a user) accesses an organizational information system. Such user sessions can be terminated (and thus terminate user access) without terminating network sessions. Session termination ends all processes associated with a user's logical session except those batch processes/jobs that are specifically created by the user (i.e., session owner) to continue after the session is terminated. Conditions or trigger events requiring automatic session termination can include, for example, organization-defined periods of user inactivity, targeted responses to certain types of incidents, and time-of-day restrictions on information system use. This capability is typically reserved for specific cases where the system owner, data owner, or organization requires additional assurance.

Check Content

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

Fix Text

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