Operation Audit¶
Operation audit events are generated by user actions within a workspace, recording project usage, user behaviors and operations, and resource changes in the workspace in real time. This includes but is not limited to:
- Workspace management events: for example, modifications to basic settings, member permission changes, deletion of notification targets, License expiration, etc.;
- Feature and service usage events: for example, creating/modifying/deleting views, creating application detections, disabling a detection library, muting a host, creating or deleting tickets, generating metrics, etc.;
- Billing item events;
- ...
Audit Event Scope¶
- Records of user login and access behaviors
- Records of user operation behaviors
- Records of OpenAPI operation behaviors
When a ticket is successfully created or deleted, a corresponding audit event is generated, recording tracking information such as the workspace to which it belongs, ticket ID, operator, and operation time.
Querying Audit Events¶
In a workspace, you can use a DQL query to obtain audit events:
Managing Audit Events¶
Go to Manage > Audit Events to view all user operation behavior events generated in the workspace.
- In the list, you can search, group, and aggregate events;
- Use the time widget at the top of the page to view operation events within different time ranges;
- Click Settings to create a monitor directly for audit events or export the current audit event list as a CSV.
Grouping and Aggregation¶
Group and aggregate by operator to view the number of aggregated events triggered by users in the workspace within a specified time range.
In grouping and aggregation mode, you can also view Aggregated Events. On the details page, you can view all audit events triggered by a specific user (operator).
Audit Event Details¶
Click a single event in the operation event list to slide out the event details page, where you can view the event's trigger time, tag attributes, operator, event content, and more.
You can also use the following fields for self-service query and analysis:
Field Name |
Type | Required | Description |
|---|---|---|---|
date |
Integer | Required | Occurrence time, Unix timestamp, in ms |
df_date_range |
Integer | Required | Time range, in seconds |
df_source |
String | Required | Data source. The value for operation events is audit |
df_status |
String | Required | Status. The default value for operation events is info |
df_origin |
String | Required | Operation source, used to record the entry point of the current operation. Reference values: |
df_menu |
String | Required | Menu path visited by the user, for example: Logs - Explorer |
df_event_id |
String | Required | Unique event ID |
df_title |
String | Required | Title |
df_message |
String | Required | Description |
df_user_id |
String | Required | User ID |
df_user_name |
String | Required | User name |
df_user_email |
String | Required | User email, corresponding to the id, name, and email in Member Management |
df_user_team |
String | Required | Team the user currently belongs to |
df_role_scope |
String | Required | Role scope the user currently has |
df_operation_id |
Str | Required | Unique ID of the actual operation item corresponding to the current audit |
df_operation_name |
Str | Required | Menu name corresponding to the operation item that generated the current audit. For example, an audit event corresponding to a notification policy operation has this field set to the name of the current notification policy |
df_query_typeDQL |
String | Required | Query type |
df_query |
String | Required | DQL query |
df_query_range |
String | Required | DQL query duration, in ms |
df_cost |
String | Required | DQL query elapsed time |
df_hit_count |
String | Required | Number of query hits |
df_workspace |
String | Required | Workspace to which the audit event belongs |
Data Storage¶
Audit event data is stored independently and retained for 2 years by default, and is not affected by other event storage policies within the workspace.



