## 威胁情报上报记录 (`intel-reports`)

本主控向服务商匿名上报威胁情报(自动封禁的高危 IP、上传扫描命中/误报、新出现的文件指纹)的批次记录,每 5 分钟一批;情报共享关闭时不上报。仅管理员可查看。

鉴权: 仅管理员 · 文档: https://www-demo.kuxitong.com/zh/docs/api/intel-reports

### GET `/api/v2/intel-reports`

查询情报上报记录 · 鉴权: 仅管理员

查询参数:

| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| `page` | integer |  | 页码,从 1 开始。 默认: 1 |
| `page_size` | integer |  | 每页条数。 默认: 20 |
| `type` | IntelReportType |  | 按类型过滤(ip / upload_hit / false_positive / sha256_report / samples);不带为全部。 可选值: ["ip","upload_hit","false_positive","sha256_report","samples"] |

```sh
curl "https://panel.example.com/api/v2/intel-reports" \
  -H "X-API-Key: $GOCDN_API_KEY"
```

威胁情报上报记录对象:

| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| `created_at` | string |  | 批次时间。 |
| `error` | string |  | 失败原因;成功为空串。连续失败时只保留最近一次。 |
| `id` | integer |  | 记录 ID |
| `items` | integer |  | 本批条数。 |
| `result` | string |  | 结果:ok 已送达;failed 没送达(条目留队列下轮补报)。 可选值: ["ok","failed"] |
| `type` | IntelReportType |  | 情报类型:高危 IP / 上传命中 / 管理员标的误报 / 新出现的文件指纹 / 可疑请求样本。 可选值: ["ip","upload_hit","false_positive","sha256_report","samples"] |
