跳到主要内容

审计日志

该分类包含 1 条以 system.audit-log. 开头的 Runtime 系统命令。

1. 列出审计日志​

完整命令:system.audit-log.list

列出审计日志。此租户级 Runtime 命令会按已注册的命令 schema 校验输入。 · 风险:读取

sl system audit-log list \
[--keyword value] [--module-key value] [--status succeeded|failed] \
[--from iso --to iso] [--cursor value] [--limit n] [--json]

参数:

  • keyword(可选)— Case-insensitive search over log ID, action, operation, resource, actor, session, IP, and user agent
  • moduleKey(可选)— One of auth, form_management, ai_conversation, business_data, message_template, visualization, automation_task, role_permission, space_resource, open_link, department_management, application, or soln_studio
  • status(可选)— Audit result: succeeded or failed
  • occurredAtFrom|occurredAtTo(可选)— Offset-aware ISO-8601 timestamps for a range of at most 90 days. They must be provided together; omit both only on the first page to query the default recent 30-day range
  • cursor(可选)— Opaque nextCursor returned by the previous page. When set, occurredAtFrom and occurredAtTo are required and must equal the previous response timeRange.from and timeRange.to
  • limit(可选)— Number of records, 1-100; defaults to 20