Hitachi

Hitachi Advanced Database Setup and Operation Guide


12.2.7 Defining audit targets

To define audit targets, you execute the CREATE AUDIT statement.

Important
  • Only an HADB user with audit admin privilege can define audit targets.

  • You can only define an audit target when the audit trail facility is enabled.

The following shows an example of defining an audit target:

Example:

This example defines an audit target so that audit trails are also output for optional audit events.

CREATE AUDIT AUDITTYPE EVENT FOR ANY OPERATION

Note that you cannot define the same audit target definition more than once.