DbTool Event Commands

The event commands inspect and reprocess the audit events already stored in the database.

For how to run DbTool, the common options, and the permissions it requires, see DbTool Command-Line Utility.

event category apply

Re-applies the enabled user category rules to recently collected events, so that events collected before a rule existed are assigned its category.

Syntax

DbTool event category apply --days <DAYS>

This command has no options other than the Common Options.

event category clear

Removes every user category assignment from every audit event in the core database. To rebuild the assignments from the current rules, run event category apply afterward.

The command does not ask for confirmation, and it can take a long time on a large database.

Syntax

DbTool event category clear

This command has no options other than the Common Options.

event exclusion list

Lists every configured event exclusion rule, including disabled rules.

Syntax

DbTool event exclusion list

This command has no options other than the Common Options.

event internal list

Lists the internal audit event names that Cygna Auditor can record about itself, optionally with the category and subcategory of each one. Deprecated event names are marked (D).

Syntax

DbTool event internal list [options]

Options

Option Description
-c, --categorization Also show the category and subcategory of each event name.
-s, --sort <COLUMN> Column to sort by: e for event name, c for category, or s for subcategory. Default: e.

Example

DbTool event internal list --categorization --sort c

event data-management run

Runs every enabled Data Management rule now instead of waiting for its schedule.

Syntax

DbTool event data-management run

This command has no options other than the Common Options.