You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to configure what to audit along three dimensions: (statement or event) categories, users, and keyspaces. Each of them should be configurable either by inclusion (listing all statement categories, users, or keyspaces to be audited) or by exclusion (listing all statement categories, users, or keyspaces to be excluded from auditing).
Flag
Valid Values
Description
ycql_enable_audit_log
false (default) or true.
Whether to enable YCQL audit, default false.
ycql_audit_included_categories
empty (default) or comma-separated list of statement categories.
categories to be audited.
ycql_audit_excluded_categories
empty (default) or comma-separated list of statement categories.
categories to be excluded from auditing.
ycql_audit_included_users
empty (default) or comma-separated list of users.
users to be audited.
ycql_audit_excluded_users
empty (default) or comma-separated list of users.
users to be excluded from auditing.
ycql_audit_included_keyspaces
empty (default) or comma-separated list of keyspaces.
keyspaces to be audited.
ycql_audit_excluded_keyspaces
empty or comma-separated list of keyspaces. Most system keyspaces are excluded by default.
keyspaces to be excluded from auditing.
ycql_audit_log_level
INFO, WARNING, or ERROR (default ERROR).
Severity level at which an audit will be logged.
Audit Categories
The valid statement categories are described in the table below.
Audit Category
Covered YCQL statements or wire-protocol events
QUERY
SELECT
DML
INSERT, UPDATE, DELETE, BEGIN TRANSACTION, and batch statements.
Configuration
We should be able to configure what to audit along three dimensions: (statement or event) categories, users, and keyspaces. Each of them should be configurable either by inclusion (listing all statement categories, users, or keyspaces to be audited) or by exclusion (listing all statement categories, users, or keyspaces to be excluded from auditing).
Audit Categories
The valid statement categories are described in the table below.
Output format
Each audit log record should have the following components:
The text was updated successfully, but these errors were encountered: