From 8223013d4c7aecb1ce774ea95a686d2b99c22c08 Mon Sep 17 00:00:00 2001 From: stonezdj Date: Thu, 26 Dec 2024 14:23:36 +0800 Subject: [PATCH] fix issue Signed-off-by: stonezdj --- proposals/new/enhance_audit_log.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proposals/new/enhance_audit_log.md b/proposals/new/enhance_audit_log.md index 1f2a88eb..3011a3ab 100644 --- a/proposals/new/enhance_audit_log.md +++ b/proposals/new/enhance_audit_log.md @@ -326,10 +326,10 @@ Because purge audit log will delete the audit log periodically, and it allow us ## API change -Add a new API to query the audit log ext event. the API is `/api/v2.0/audit-logs-ext`, the user can filter the audit log event by the operation, resource_type, resource, the operation description and operation result are visible to users. +Add a new API to query the audit log ext event. the API is `/api/v2.0/auditlog-exts`, the user can filter the audit log event by the operation, resource_type, resource, the operation description and operation result are visible to users. ``` - /audit-logs-ext: + /auditlog-exts: get: summary: Get recent logs of the projects which the user is a member of description: | @@ -438,10 +438,10 @@ The AuditLogExt is defined as follow description: The time when this operation is triggered. ``` -In order to provide a list of audit log event types to disable in configuration pannel, the API `/api/v2.0/audit-log-event-types` provide the event types ID and names. +In order to provide a list of audit log event types to disable in configuration pannel, the API `/api/v2.0/auditlog-exts/eventtypes` provide the event types ID and names. ``` - /audit-log-event-types: + /auditlog-exts/eventtypes: get: summary: Get all event types of audit log description: | @@ -484,7 +484,7 @@ and it returns the `AuditLogEventType` ### Disable Audit Log Event Type Add a new configuration item in the system configuration page to disable the unwanted audit log event type. -Add the `audit_log_disable` configuration item in the Configuration -> System Settings page, the user can select the event type to disable the audit log event, the event type should be separated by comma. Because the event type is the combination of operation and resource type, the user can input the operation and resource type to disable the audit log event. it is a string type configuration item. all audit log event types are retrieved from the API `/api/v2.0/audit-log-event-types`. +Add the `audit_log_disable` configuration item in the Configuration -> System Settings page, the user can select the event type to disable the audit log event, the event type should be separated by comma. Because the event type is the combination of operation and resource type, the user can input the operation and resource type to disable the audit log event. it is a string type configuration item. all audit log event types are retrieved from the API `/api/v2.0/auditlog-exts/eventtypes`. ![Disable Audit Log Event Type](../images/enhance_auditlog/config_disable_event_type.png)