Online Documentation for SQL Manager for DB2

Creating/editing audit policy


Use the Audit Policy tab of Audit Policy Editor to create/edit an audit policy and specify its definition.

 

Audit Policy Editor - Editing audit policy definition

 

 

Audit policy name

Names the audit policy.

 

Categories

 

CheckBox Audit

Generates records when audit settings are changed or when the audit log is accessed.

 

CheckBox Checking

Generates records during authorization checking of attempts to access or manipulate database objects or functions.

 

CheckBox Context

Generates records to show the operation context when a database operation is performed.

 

CheckBox Execute

Generates records to show the execution of SQL statements.

 

CheckBox With data

Specifies whether or not input data values provided for any host variables and parameter markers should be logged as part of the EXECUTE category.

 

CheckBox Objmaint

Generates records when data objects are created or dropped.

 

CheckBox Secmaint

Generates records when object privileges, database privileges, or DBADM authority is granted or revoked.

 

CheckBox Sysadmin

Generates records when operations requiring SYSADM, SYSMAINT, or SYSCTRL authority are performed.

 

CheckBox Validate

Generates records when users are authenticated or when system security information related to a user is retrieved.

 

BOTH

Successful and failing events will be audited.

 

FAILURE

Only failing events will be audited.

 

SUCCESS

Only successful events will be audited.

 

 

Error type

Specifies whether audit errors are to be returned or ignored.

 

RadioButton Normal

Any errors generated by the audit are ignored and only the SQLCODEs for errors associated with the operation being performed are returned to the application.

 

RadioButton Audit

All errors, including errors occurring within the audit facility itself, are returned to the application.