Skip to main content

审核日志 Enterprise Strapi Cloud Team

¥Audit Logs Enterprise Strapi Cloud Team

审核日志部分提供了 Strapi 应用用户执行的所有活动的可搜索和可过滤显示。

¥The Audit Logs section provides a searchable and filterable display of all activities performed by users of the Strapi application.

默认情况下,只有具有超级管理员角色的用户才能访问审核日志。它们位于“设置”面板的“管理面板”部分中。

¥Audit logs are only accessible to users with the Super Admin role by default. They are available in the Administration Panel section of the Settings panel.

Audit Logs panelAudit Logs panel

记录的事件

¥Events logged

记录以下事件:

¥The following events are logged:

事件行动
内容类型createupdatedelete
入口(草稿/发布)createupdatedeletepublishunpublish
媒体createupdatedelete
登录/注销successfail
角色/权限createupdatedelete
用户createupdatedelete

对于每个日志项,显示以下信息:

¥For each log item the following information is displayed:

  • 行动:用户执行的操作类型。例如 createupdate

    ¥Action: The type of action performed by the user. For example create or update.

  • 日期:操作的日期和时间。

    ¥Date: The date and time of the action.

  • 用户:执行操作的用户。

    ¥User: The user who performed the action.

  • 细节:显示包含有关操作的更多详细信息的模式。例如,用户 IP 地址、请求正文或响应正文。

    ¥Details: Displays a modal with more details about the action. For example the User IP address, the request body, or the response body.

过滤日志

¥Filtering logs

审核日志页面默认按时间倒序显示所有日志。你可以通过以下方式过滤日志:

¥The Audit Logs page displays all logs by default, in reverse chronological order. You can filter the logs by:

  • 行动:选择要过滤的操作类型。例如 createupdate

    ¥Action: Select the type of action to filter by. For example create or update.

  • 用户:选择要作为过滤依据的用户。

    ¥User: Select the user to filter by.

  • 日期:选择作为过滤依据的日期(范围)和时间。

    ¥Date: Select a date (range) and time to filter by.

Audit Logs filtersAudit Logs filters

日志详情

¥Log details

对于任何日志项,单击“详细信息”图标可显示一个模式,其中包含有关该操作的更多详细信息。

¥For any log item, click the Details icon to display a modal with more details about that action.

Log details modalLog details modal

有效负载详细信息显示在交互式 JSON 组件中,使你能够展开和折叠 JSON 对象。

¥The Payload details are displayed in an interactive JSON component, enabling you to expand and collapse the JSON object.