Enable auditing for a table

You can enable table auditing to track all changes to the table's fields.

Before you begin

Role required: admin

Procedure

  1. Navigate to System Definition > Dictionary.
  2. Select the table to audit. For example, [cmdb_ci_computer].
  3. Select the dictionary entry for the table. The table name always has an empty column name and the type of collection.
  4. Check the Audit check box.
  5. Click Update.
    Note: By default, the system does not audit records from system tables. To audit a system table, add it to the list of tables in the glide.ui.audit_deleted_tables property list.

    Tables do not inherit the audit flags from parent or child audited tables. For example, if you enable auditing for the [cmdb_ci] table, only CI's which are stored in that base table will be audited. Likewise, if you enable auditing for the [cmdb_ci_computer] table, only the computer CI records will be audited, including any fields on the [cmdb_ci_computer] table that are inherited from [cmdb_ci] table.

    Deletion of an individual record from a form is audited by default. To prevent auditing, set the table's dictionary attribute no_audit_delete.

    Deletes from a list are audited when audit is checked on the table dictionary and the table is not listed in the property glide.db.audit.ignore.delete.