Skip to content

Commit

Permalink
feat: added audit operation for web api and data source
Browse files Browse the repository at this point in the history
  • Loading branch information
rolin999 committed Nov 13, 2024
1 parent 5388e17 commit 4714491
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bk-user/bkuser/apps/audit/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# We undertake not to change the open source license (MIT license) applicable
# to the current version of the project delivered to anyone in the future.

from typing import Dict, List
from typing import Any, Dict, List

from bkuser.utils.uuid import generate_uuid

Expand All @@ -31,9 +31,9 @@ def add_audit_record(
object_type: ObjectTypeEnum,
object_id: str | int,
object_name: str = "",
data_before: Dict = None,
data_after: Dict = None,
extras: Dict = None,
data_before: Dict[str, Any] = None,
data_after: Dict[str, Any] = None,
extras: Dict[str, Any] = None,
):
"""
添加操作审计记录
Expand Down

0 comments on commit 4714491

Please sign in to comment.