Skip to content

feat: 【日志平台】采集项列表与详情 MCP 接入 --story=136810787 - #11943

Open
yiqiwang-17 wants to merge 3 commits into
TencentBlueKing:masterfrom
yiqiwang-17:feat/log_collector_mcp/#1010158081136810787
Open

feat: 【日志平台】采集项列表与详情 MCP 接入 --story=136810787#11943
yiqiwang-17 wants to merge 3 commits into
TencentBlueKing:masterfrom
yiqiwang-17:feat/log_collector_mcp/#1010158081136810787

Conversation

@yiqiwang-17

Copy link
Copy Markdown
Collaborator

No description provided.

@yiqiwang-17
yiqiwang-17 requested a review from jayjiahua August 13, 2026 03:59
@yiqiwang-17 yiqiwang-17 added feat A new feature. Correlates with MINOR in SemVer project/log project log labels Aug 13, 2026
@yiqiwang-17

Copy link
Copy Markdown
Collaborator Author

P0/P1/P2 全量自审已闭环:

  • BKLOG 白名单应用固定强制当前用户业务/实例权限,阻断跨业务别名混淆;
  • 详情采用字段白名单,补齐容器 configs,并递归脱敏 Kafka SSL、密码、Token、凭证与私钥;
  • 列表使用 -updated_at,-collector_config_id 稳定分页;详情缺少精确检索状态时返回 unknown,不误报不可检索;
  • APIGW operationId、后端路径、MCP 权限映射和路由契约均有回归测试。

分支已 rebase 到最新 upstream/master。本地验证:BKLOG 10 项、列表详情资源 16 项、MCP 契约 42 项均通过;最终复扫 no findings

@codecov-commenter

codecov-commenter commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.83%. Comparing base (3068080) to head (f6f5729).
⚠️ Report is 6681 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11943      +/-   ##
==========================================
+ Coverage   54.28%   60.83%   +6.55%     
==========================================
  Files         807      922     +115     
  Lines       45868    66342   +20474     
==========================================
+ Hits        24901    40362   +15461     
- Misses      20967    25980    +5013     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat A new feature. Correlates with MINOR in SemVer project/log project log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants