Filtering
IBM Security Guardium S-TAP for Db2 enables filtering to occur at the point of collection regardless of the field types included in the rules for the active collection policy. Filtering occurs at the point of collection with or without the specification of object types, which results in efficient CPU usage.
- Filtering occurs when you create a filter that uses one or more of the following filter fields:
- Net Prtcl
- Specifies the appliance connection type to Db2®.
- OS User
- Specifies the original operator user ID that is used to connect to Db2.
- DB User
- Specifies the primary AUTHID that is used for authorization within Db2. In most situations, this value is the same as OS User.
- App. User (PROG=program)
- Specifies a valid DB2 program name, such as DSNTEP2.
- App. User (PLAN=plan)
- Specifies a valid DB2 plan name, such as DSNTEP2.
- Client Info (APPL=transaction name)
- Specifies a valid program (or user workstation transaction) name, such as db2.exe.
- Client Info (WKSTN=workstation name)
- Specifies a valid user workstation name, such as PCsys1.
- Client Info (USER=user name)
- Specifies a valid user name, such as PCuser1.
- Object type (%/SYSIBM.SYSTABLE)
- Specifies a table.
Improving filtering efficiency
You can improve the CPU efficiency of filtering by including filter types in the filter. Specifying the plan, auth ID, connection type, operator ID, program, workstation user, workstation name, or object filter types that are associated with the performed action improves efficiency, as shown in the following example.Example
To capture access to a table called MY.TABLE,
you could create the following filter:
- Filter 1
- Schema.Table equal to MY.TABLE
To increase efficiency in this example, specify a filter field, such as plan, even if you are sure that plan is the only plan that accesses this table. To capture access to the table MY.TABLE for an application that runs under a specific plan, such as MYPLAN, the following is an example of a more efficient filter:
- Filter 2
- Plan equal to MYPLAN