跳转到主要内容
基础设施相关接口/Agent 管理

查询受管代理审计列表

读取一个保留的 `Agent` 的安全审计历史,包括已禁用和已撤销的 `Agent`。`auth.require_user=true` 时需要登录和 `agent.read` 权限;默认设置为 `false` 时,此操作无需用户身份认证。无效的用户令牌会被拒绝。`Agent` 不存在或不可访问时返回 404。不应用操作者筛选条件。`limit` 默认为 100,上限为 500;负数分页参数无效。缺少审计存储时返回 503,请求超时时返回 504。

GET/api/v1/lifecycle/managed-agent/agents/{id}/audits

操作 ID

ListManagedAgentAudits

起始版本

1.3.0

执行模式

同步

认证信息

无需认证

请求参数

application/json

路径参数

  • id
    String必填

    资源ID。

查询参数

  • limit
    Integer

    返回的事件数量上限。0 表示使用默认值 100,超过 500 的值按 500 处理。

    示例: 0

    {"format":"int32"}

  • offset
    Integer

    要跳过的事件数量,必须为非负数。

    示例: 0

    {"format":"int32"}

响应状态

200 OK

请求成功。

Content-Type: application/json

响应体根类型: object

  • items
    List

    条目列表。

    • id
      String

      资源ID。

      示例: value

    • occurredAt
      String

      发生时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • action
      String

      动作名称。

      示例: value

    • result
      String

      执行结果。

      示例: value

    • detail
      String

      详细信息。

      示例: value

  • total
    String

    返回结果总数。

    示例: 10

    {"format":"int64"}

  • limit
    Integer

    最大返回条目数。

    示例: 10

    {"format":"int32"}

  • offset
    Integer

    查询起始偏移量。

    示例: 10

    {"format":"int32"}